Favourite Host

Interserver

Install Service

Premium Support

Development

Order Custom Development Services

Problem when processing pixels (Warning: touch() [function.touch]: Utime failed: Permission denied)

PROBLEM

When processing pixels, the error message looks something like this:

Please wait.. Processing the Grid image with GD
Warning: touch() [function.touch]: Utime failed: Permission denied in /home/username/public_html/include/image_functions.php on line 143

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/username/public_html/admin/temp/temp1.jpg' for writing in /home/username/public_html/include/image_functions.php on line 144

Saved as /home/username/public_html/admin/temp/temp1.jpg

Warning: copy(/home/username/public_html/pixels/main1.jpg) [function.copy]: failed to open stream: Permission denied in /home/username/public_html/include/image_functions.php on line 21

SOLUTION

Please give 'chmod 666' permissions to all your files in the admin/temp/ directory.

Additionally, please give 'chmod 666' permissions to all your files in the pixles/ directory.

Chmod 666 can be set using an FTP client, same way as you do during the installation. It will give the files all write permissions. You can also use the chmod command on the command line if you have got access to the command line via SSH. There is plenty of documentation about chmod available on the internet, and also our installation tutorial has some

Alternatively, for advanced users, you may set the file's ownership to the username if the web server and set 644 permissions to these files.

Powered by BetterDocs

Submit a Comment

Your email address will not be published. Required fields are marked *