直到昨天,我的网站运行良好。
我想使用离子立方体加载程序,所以我已经将php版本从5.4改为5.5,
在php.ini中
zend_extension=/opt/ntphp/php52/lib/php/extensions/Zend/ioncube_loader_lin_5.2.so在.htacess文件中
suPHP_ConfigPath /home/USERNAME/public_html/myfolder然后它开始在这里给我"ReferenceError: elgg是没有定义的“形式
elgg.config.lastcache = 1463814175;
elgg.config.viewtype = 'default';
elgg.config.simplecache_enabled = 1;
elgg.security.token.__elgg_ts = 1463820371;
elgg.security.token.__elgg_token = '921400a07830ef8c7d5ccdb2640f440d';
//Before the DOM is ready, but elgg's js framework is fully initalized
elgg.trigger_hook('boot', 'system');
elgg.session.geopositioning = {"location":"","latitude":0,"longitude":0};甚至在恢复所有东西之后检查,但是错误是相同的。
提前谢谢!
发布于 2016-05-25 13:27:05
ReferenceError: elgg is not defined可能是因为PHP正在污染JS输出。
https://stackoverflow.com/questions/37361078
复制相似问题