Has anyone come across this php error before, Warning: imagejpeg()?

匆匆过客 提交于 2019-12-02 10:16:41

Sounds like a permissions problem to me, but we can't tell from this end.

If you can FTP (or CD) into that /home/SITENAME/public_html/files/

and see if 'files' is owned by, and has the same permissions as public_html

Then see what permissions they NEED to have for your hosting setup.

  1. Check that directory exists.
  2. Check if web server daemon, most of the time - www-data, has write permissions to that particular directory.

For future reference the problem was the PHP handler. It has been changed to CGI mode (as opposed to DSO) and they turned suEXEC ‘off’ - might be useful for someone down the line.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!