My Weblog

June 27, 2009

WordPress – Download failed – Could not create Temporary file

Filed under: I.T.,Integration,Professional,techno — Sharful Islam @ 1:33 pm

WordPress › Support » Download failed.: Could not create Temporary file.

While the WrodPress system is Opensource and Platform Independent, many of the internal functionalities require a greater understanding of the Operating Systems they may reside on, the php settings that prevent/allow certain actions and last (definitely not the least) file/folder permissions on your Web server’s directories.

Windows and Unix based systems have a fundamental difference in how it handles the file permissions on a directory. Linux systems (derived from unix based) are pretty simple – Read Write and eXecute (rwx) permissions on the 3 basic groups – Owner, Group and Everyone. the 3 digits in the permissions – say 755 – means that System has rwx permission (7 – the first digit), Group and All have rx permissions (5 – Read/Execute).

Windows has always been a mess – a solid structure built with a rotten base. However, as most of us humans are infected by the Windows Gangrene, it’s useful to review the system of user permissions there.

If you are using a Plesk control panel (you will have different levels of access dependent on your Admin unless you are configuring a Dedicated Server), you have to go into the File Manager in Presk, click the ‘lock’ icon to get to the permissions – then click the Advanced button.

In windows (Plesk) there would be TWO entries – one for the Folder’s permission, one for the Files’ permission. There will also be multiple Users dependent on your IIS Server Settings. What you are looking for is the Internet User account – IIS_ or IUSR_ or similar. And don’t forget to ckeck the box for ‘apply to child objects’ check-box.

The Automatic Plugin Upgrades were problematic. un-checking the ‘php safe-mode on’ box to turn safe-mode off makes the ftp upgrade allowable.

April 22, 2009

WordPress CMS – Getting started

Filed under: .php,I.T.,Integration — Sharful Islam @ 2:03 pm

WordPress CMS modifications » Getting started.

This describes the structure of WP Themes and has links and resources to make WP behave more like a CMS.

shortcuts to WordPress Themes

Filed under: I.T.,Integration,Professional — Sharful Islam @ 1:54 pm

WP_Plugin_API.pdf (application/pdf Object).

WP Plugin API list pdf document.

Once someone goes beyond a theme and wants to create plugins, this becomes an ideal cheat-sheet to the possible API calls.

March 24, 2009

Facebook FBConnect integration

Filed under: Application Development,Integration,techno — Sharful Islam @ 7:09 pm

I started out today trying to see how someone can log in or post a comment without having to actually sign-up with the blog using FBConnect. It just so happens that there is a WordPress Plugin that does exactly that (requires php5):
http://wiki.developers.facebook.com/index.php/WP-FBConnect

For people running into various problems with plugins not working right, etc., please remember that the Remote Procedure Calls are more easily handled using PHP5+ on your server (php4 doesn’t support a lot of the required functions). While a Linux system is not crucial to host a blog on, it does make life a lot easier as well.

There are a few items necessary for this integration:

  • A facebook Developer registration is required to be able to create a facebook ‘application’ required for this integration – http://www.facebook.com/developers/
  • After registering, you must create a new ‘application’ must be created, which gives you the API Key and the Secret Key required for this integration

  • To have people be able to comment without logging in, a line of code needs to be added to comments.php in your template/theme

Other information is available from the makers of wp-facebookconnect

Create a free website or blog at WordPress.com.