有人遇到过此php错误吗,警告:imagejpeg()? [英] Has anyone come across this php error before, Warning: imagejpeg()?

查看:115
本文介绍了有人遇到过此php错误吗,警告:imagejpeg()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/SITENAME/public_html/files/cache/052f225905c1618003df0c5088aec7a9.jpg' for writing: Permission denied in /home/SITENAME/public_html/concrete/helpers/image.php on line 172

我清空了缓存目录,但仍然没有运气,如果我更改了缓存文件夹的权限,则会遇到另一个错误,并且根本无法使用该站点:

I emptied the cache directory and still no luck, and if I change the permissions on the cache folder then I get another error and I can't use the site at all:

Warning: require_once(Zend/Cache/Backend/File.php) [function.require-once]: failed to open stream: No such file or directory in /home/MYACCOUNT/public_html/concrete/libraries/3rdparty/Zend/Cache.php on line 133

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Cache/Backend/File.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/owen/php') in /home/MYACCOUNT/public_html/concrete/libraries/3rdparty/Zend/Cache.php on line 133

我不明白吗?我以前从未遇到过这个问题.

I don't get it? I've never had this problem before.

推荐答案

供以后参考,问题是PHP处理程序.它已更改为CGI模式(与DSO相对),并且他们将suEXEC设置为关闭",这对于某些人可能很有用.

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.

这篇关于有人遇到过此php错误吗,警告:imagejpeg()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆