解决joomla错误问题:Warning: Cannot modify
?
户的web是用Joomla做的,由于就事器变动了IP,便找到此法度的数据库邻接文件:configuration.php,把此中的IP更改成 了新的,然则翻开网站首页出现下列示意:
Warning: Cannot modify header information - headers already sent by (output started at e:\web\a141353\web\glrj\configuration.php:1) in e:\web\a141353\web\glrj\includes\Joomla.php on line 697
Warning: Cannot modify header information - headers already sent by (output started at e:\web\a141353\web\glrj\configuration.php:1) in e:\web\a141353\web\glrj\index.php on line 250
Warning: Cannot modify header information - headers already sent by (output started at e:\web\a141353\web\glrj\configuration.php:1) in e:\web\a141353\web\glrj\index.php on line 251
Warning: Cannot modify header information - headers already sent by (output started at e:\web\a141353\web\glrj\configuration.php:1) in e:\web\a141353\web\glrj\index.php on line 252
Warning: Cannot modify header information - headers already sent by (output started at e:\web\a141353\web\glrj\configuration.php:1) in e:\web\a141353\web\glrj\index.php on line 253
Warning: Cannot modify header information - headers already sent by (output started at e:\web\a141353\web\glrj\configuration.php:1) in e:\web\a141353\web\glrj\index.php on line 254
希图门径:
我们一样平常编辑configuration.php是用记事本掀开,可是简单改掉编码,这里说的 Unix 花样是说其换行符为Unix的 LF 方式。你在记事本里是看不到这个效用的,建议换用 EmEditor 编辑器翻开 configuration.php 文件,接下来点击“另存为”,就能看到“换行方式”这个选项。