自己的小破站,有段时间没有进后台了,最近想添加一个栏目,进后台添加,选择要添加的栏目类型之后,点下一步就无法访问,清理缓存,换浏览器都没用。其他的功能又都是正常的,不知道问题出在哪了。
这种无法访问不是404错误,是直接像无法访问服务器一样,页面就打不开了。也没动过啥,突然就这样了。记得之前是修改过水印相关的模板文件,把有关水印的那段代码删了,页面打不开之后,我又把那段代码加上了,还是没有恢复。实在有点奇怪。
可以进入添加栏目的页面,但是不能点击NEXT或者选择任何一种类型,只要点了,直接就打不开页面。
这个页面是可以正常进入。
点击NEXT或选择任何一种类型,就直接打不开页面。如下图所示。
czxjh 燃烧的冰 生成页面时不完整导致或修改代码导致的错误,使用原版文件覆盖,手动删除tmp目录里面的文件,注意是里面的文件。 冰哥,我试过了,还是不行。重新下载的网站程序 ...打开 index.php 文件
Processed Time:0.067696809768677
0.0003 SELECT * FROM well_session WHERE `sid`='311482c5911a3cdf143387a51140092a' LIMIT 1
0.0003 SELECT * FROM well_cache WHERE `k`='www.198484.com_website' LIMIT 1
0.0002 SELECT * FROM well_user WHERE `uid`=1 LIMIT 1
0.0002 SELECT * FROM well_cache WHERE `k`='www.198484.com_online_user_list' LIMIT 1
0.0003 SELECT * FROM well_cache WHERE `k`='www.198484.com_setting' LIMIT 1
0.0002 SELECT * FROM well_cache WHERE `k`='www.198484.com_forumlist' LIMIT 1
_REQUEST:
Array
(
[well_admin_token] => D_2BE2wTXAxd4gSYDIrDgfNjDkpKQJKecgHJjcBA_3D_3D
[well_token] => EI5EsUz3nLIFnRiDlLOnoAC4HNvmpWMGtnlR_2B_2B_2FsJn0vS1ZNmSObMzLgQh_2Fys4uuNnDpeThV5zREJJKieJzWfsC_2BFZ76tu0P8fnDgjcTO0bxDVcKpUJQBp_2Fb_2BqoGh2x2SpbI7Q_3D_3D
[well_sid] => 311482c5911a3cdf143387a51140092a
[cookie_test] => fVWHIwOvjaaBGMZQe8OZP27vcJJCRzy7LJCp_2BDwW7VoF7BJB
[0] => column
[1] => create
)
_SESSION:
Array
(
[admin_update_user] => 7c57cdb16616ecd25c8383fb84faf161
)
错误日志就这些了。
debug_error
<?php exit;?> 2024-05-19 21:16:46 223.150.119.248 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6 File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php, Line: 29, include(/home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php)
<?php exit;?> 2024-05-19 21:16:46 223.150.119.248 / 0 ParseError: syntax error, unexpected 't' (T_STRING), expecting ')' in /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/lang_en-us_lang.php:485 Stack trace: #0 /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php(29): include() #1 {main}
<?php exit;?> 2024-05-19 21:17:56 223.150.119.248 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6 File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php, Line: 29, include(/home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php)
<?php exit;?> 2024-05-19 21:17:56 223.150.119.248 / 0 ParseError: syntax error, unexpected 't' (T_STRING), expecting ')' in /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/lang_en-us_lang.php:485 Stack trace: #0 /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php(29): include() #1 {main}
<?php exit;?> 2024-05-19 21:18:26 40.77.167.247 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6 File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php, Line: 29, include(/home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php)
<?php exit;?> 2024-05-19 21:18:26 40.77.167.247 / 0 ParseError: syntax error, unexpected 't' (T_STRING), expecting ')' in /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/lang_en-us_lang.php:485 Stack trace: #0 /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php(29): include() #1 {main}
<?php exit;?> 2024-05-19 21:19:03 223.150.119.248 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6 File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php, Line: 29, include(/home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php)
<?php exit;?> 2024-05-19 21:19:03 223.150.119.248 / 0 ParseError: syntax error, unexpected 't' (T_STRING), expecting ')' in /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/lang_en-us_lang.php:485 Stack trace: #0 /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php(29): include() #1 {main}
<?php exit;?> 2024-05-19 21:20:08 223.150.119.248 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6 File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php, Line: 29, include(/home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php)
<?php exit;?> 2024-05-19 21:20:08 223.150.119.248 / 0 ParseError: syntax error, unexpected 't' (T_STRING), expecting ')' in /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/lang_en-us_lang.php:485 Stack trace: #0 /home/wwwroot/lnmp01/domain/109.206.247.11/web/index.php(29): include() #1 {main}
php_error
<?php exit;?> 2024-05-19 21:16:46 223.150.119.248 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6
<?php exit;?> 2024-05-19 21:17:56 223.150.119.248 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6
<?php exit;?> 2024-05-19 21:18:26 40.77.167.247 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6
<?php exit;?> 2024-05-19 21:19:03 223.150.119.248 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6
<?php exit;?> 2024-05-19 21:20:08 223.150.119.248 / 0 Error[8]: Undefined index: HTTP_ACCEPT_LANGUAGE, File: /home/wwwroot/lnmp01/domain/109.206.247.11/web/tmp/index.inc.php, Line: 6