If you are facing the problem to install any extensions under joomla (on live or local) with the following errors;
JFolder::create: Could not create directoryWarning: Failed to move file!
Then there would be following issues;
1. The PHP temporary directory is not set
( The PHP temporary directory is the directory that PHP uses to store an uploaded file before Joomla can access this file. )
Solution:
To resolve it
- Go to your main Joomla directory and look for a folder called /tmp/ and if there isn't one, create it.
- Check for its File Permission which should be 0755. If not set the folder permission to 0755. This is because the /tmp/ folder must be readable and writable. (To
2. The /tmp/ folder path on the Global Configuration must be set correctly.
Solution:
- In your Joomla Administrator area, go to Site > Global Configuration > Server.
- Check to see that the Path to Temp Folder is the path to the one you found our created in the last step. This should be the server path not the URL (http://yoursite.com etc)
No comments:
Post a Comment
Please post any queries and comments here.