全球主机交流论坛

标题: whmcs遇到clientarea.php?action=domains打开500错误 [打印本页]

作者: 信仰    时间: 2015-12-2 02:15
标题: whmcs遇到clientarea.php?action=domains打开500错误
本帖最后由 信仰 于 2015-12-4 23:51 编辑

clientarea.php?action=domains 就这个页面会这种情况其他所有页面正常的打开直接空白页某些浏览器会提示500错误
重新替换过官网的程序或者数据库都是出现这种情况..
同样的数据放鳄鱼主机是正常的放自己vps才会这样不知道缺少了什么环境或者版本问题

ps:该问题已经自己修复
作者: ericls    时间: 2015-12-2 04:58
看日至
作者: onepeople    时间: 2015-12-2 07:58
可能是某个域名接口缺少环境,所以这样了……。

开启调试模式,即可看到错误提示……
作者: Tell_me_why    时间: 2015-12-2 09:10
看日志
作者: zhaorong65    时间: 2015-12-2 09:19
给目录权限后重启下VPS试试看。
作者: vm.sg    时间: 2015-12-2 10:09
开启调试模式,即可看到错误提示……
作者: 信仰    时间: 2015-12-2 10:59
onepeople 发表于 2015-12-2 07:58
可能是某个域名接口缺少环境,所以这样了……。

开启调试模式,即可看到错误提示…… ...

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead' in /www/web/zz*******/public_html/includes/classes/WHMCS/Domains.php:0 Stack trace: #0 /www/web/zz*******/public_html/includes/classes/WHMCS/Domains.php(0): DateTime->__construct() #1 /www/web/zz*******/public_html/clientarea.php(0): WHMCS\Domains::getRenewableDomains() #2 {main} Next exception 'Exception' with message 'DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone iden in /www/web/zz*******/public_html/includes/classes/WHMCS/Terminus.php on line 0

是时间问题? 有谁遇到过类似问题吗
作者: vm.sg    时间: 2015-12-2 13:25
检查下系统的时间或开启一下ntp同步一下时区。




欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4