【发布时间】:2013-01-15 08:20:35
【问题描述】:
我在 opencart 中使用 shoppica 主题。当我以测试客户身份登录并单击订单历史记录部分时,我总是收到内部服务器错误 500。我没有更改 .htaccess 或配置文件中的任何内容。它来自乞讨,但从现在开始我需要它。除订单历史记录和交易部分外,客户面板中的所有部分均有效。一个线索是,当我向我的客户提供奖励交易时,面板中之前的交易部分会消失并给我一个内部 500 错误。请帮助我,因为我非常需要它。 我不能再次安装它,因为它是 3 个月,我不能从头开始。 我使用 opencart 1.5.3.1
对于另一个内部错误,我在日志中收到了这些错误:
PHP Warning: unlink(public_html/system/cache/cache.currency.1358109327) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in public_html/system/library/cache.php on line 14
PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at public_html/index.php:104) in public_html/system/library/session.php on line 11
PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at public_html/index.php:104) in public_html/system/library/session.php on line 11
PHP Warning: Cannot modify header information - headers already sent by (output started at public_html/index.php:104) in public_html/index.php on line 177
PHP Warning: Cannot modify header information - headers already sent by (output started at public_html/index.php:104) in public_html/vqmod/vqcache/vq2-system_library_currency.php on line 45
【问题讨论】:
-
500 内部服务器错误的原因是什么?
-
我只是问你们我是否知道我从不问:D
-
请问您是否已自行诊断错误?例如查看 Apache 错误日志?
-
我已经编辑了问题,请看一下。谢谢。
-
阅读此stackoverflow.com/questions/8028957/headers-already-sent-by-php 但实际问题在于“取消链接...”这一行。查看目录是否存在。
标签: php shopping-cart opencart