Hi there,
Just happened to get this error this morning, silly mistake on my part. Anyhoo, to answer the last questions.
1. Safe mode: This is discouraged as of php 5.3.0 and later. See
http://php.net/manual/en/features.safe-mode.php for more details.
Ashok_be ...
2. chmod 777: As stated earlier, also discouraged (and maybe not even allowed by admins).
If you want to change the chmod permissions for your tmp directory, here's the way in Linux (I use Ubuntu, so amend for your preferred OS. Also, assumption, apache www root dir is "/var/www"):
- Open up a Terminal app (Terminal).
- Go to the joomla installed directory, e.g. "cd /var/www/joomla".
- Chances are in Linux you are not logged in as root, so you'll have to use 'sudo' or 'su' before the command and enter the root password when prompted:
- Type "sudo chmod 777 tmp"
- and when finished with your task, type "sudo chmod 755 tmp" to change it back.
3. chown (Linux).
There may be another reason, depending on how you copied over the files into the apache root www directory. Again, amend details as needed for OS/directory/username. If you copied over the files as root or your username, the file ownerships may need to be changed after the copy.
For example, apache default may assume that name and group ownership should be "www-data:www-data" (or similar) for all files. (this can be changed, but let's stay with defaults). To check:
- Open up a Terminal app (Terminal).
- Go to the joomla installed directory, e.g. "cd /var/www/joomla".
- type "ls -al"
and see if all files have the same/correct owner and group settings for Apache. If not, do this:
- "cd /var/www"
- "sudo chown -R www-data:www-data ./joomla"
That'll change all settings for anything in the 'joomla' directory.
Enjoy!
N.