访问管理面板时出现错误 [英] Get errors when accessing admin panel
问题描述
我正在尝试为我粗心的移动应用模板(带有cms)设置管理面板,在链接数据库并尝试访问管理面板后,出现以下错误,我真的不知道该怎么办做。非常感谢任何可以帮助我的人!
I am trying to set up the admin panel for a mobile app template (with cms) that I bough and after linking the database and trying to access the admin panel I get the following errors, and I really have no idea what to do. Thanks so much to anyone who can help me!
遇到PHP错误
严重性:注意
消息:仅变量引用应按引用返回
Message: Only variable references should be returned by reference
文件名:core / Common.php
Filename: core/Common.php
行号:257
遇到PHP错误
严重性:警告
消息:无法修改标头信息-已发送的标头(输出始于/Applications/MAMP/htdocs/cafeducap/admin/system/core/Exceptions.php :185)
Message: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/cafeducap/admin/system/core/Exceptions.php:185)
文件名:libraries / Session.php
Filename: libraries/Session.php
行号:672
遇到PHP错误
严重性:警告
消息:无法修改标头信息-已发送的标头(输出从/Applications/MAMP/htdocs/cafeducap/admin/system/core/Exceptions.php:185开始)
Message: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/cafeducap/admin/system/core/Exceptions.php:185)
文件名: helpers / url_helper.php
Filename: helpers/url_helper.php
行号:546
推荐答案
根据您的错误,
在 system / core / common.php $ c中$ c>文件更改
return $_config[0] =& $config;
到
$_config[0] =& $config;
return $_config[0];
它将正常工作。
这篇关于访问管理面板时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!