php代码出现错误分析详解第1/2页
程序员文章站
2022-05-15 23:22:20
错误类型: 一、未使用二进制上传 代码: fatal error: this en...
错误类型:
一、未使用二进制上传
代码:
fatal error: this encoded file is corrupted. please refer to http://www.zend.com/support/support_faq.php?id=loader_file_corrupt for further help in
/webhome/****.com/web/www/index.php on line 0
二、数据表中缺少字段
代码:
an error was encountered
boka siteengine
数据库错误
错误信息1054: unknown column 'tuijian' in 'where clause'
出现错误的查询信息是
select * from boka_product where tuijian=1 and classid in ('1','0')order by id desc limit 4
三、服务器限制了网站使用内存的大小为8m,现在已经超过
代码:
fatal error: allowed memory size of 8388608 bytes exhausted (tried to allocate 5898240 bytes)
四、这个是模板错误,header.php的529行所指出的模板,该模板的79行出错
[code]in /webhome/***.com/web/www/header.php(529) : eval()'d code on line 79
五、数据库表不存在
代码:
an error was encountered
boka siteengine
1146: table 'test.boka_settings' doesn't exist
select value from boka_settings where variable='defaultstyleid'
六、 未安装或者数据库的用户名密码错误
代码:
an error was encountered
boka siteengine
1045: access denied for user: 'root@localhost' (using password: yes)
七、查询语句有错误
代码:
boka siteengine
数据库错误
错误信息1064: you have an error in your sql syntax near 'order by sequence asc,id asc' at line 1
出现错误的查询信息是
update gzhy_newsclass set ishidden ='1' where id = '38' order by sequence asc,id asc
八、文件过期
代码:
there is a fatal error,the file has expired
九、数据库出错,需要修复数据库或者重新启动数据库?
代码:
an error was encountered
boka siteengine
2002: can't connect to local mysql server through socket '/tmp/mysql.sock' (2)
十、
代码:
warning: unexpected character in input: '' (ascii=4) state=1 in c:\program files\siteengine\siteenginephp\www\index.php on line 97
warning: unexpected character in input: '' (ascii=5) state=1 in c:\program files\siteengine\siteenginephp\www\index.php on line 97
parse error: parse error, unexpected t_string in c:\program files\siteengine\siteenginephp\www\index.php on line 97
一、未使用二进制上传
代码:
fatal error: this encoded file is corrupted. please refer to http://www.zend.com/support/support_faq.php?id=loader_file_corrupt for further help in
/webhome/****.com/web/www/index.php on line 0
二、数据表中缺少字段
代码:
an error was encountered
boka siteengine
数据库错误
错误信息1054: unknown column 'tuijian' in 'where clause'
出现错误的查询信息是
select * from boka_product where tuijian=1 and classid in ('1','0')order by id desc limit 4
三、服务器限制了网站使用内存的大小为8m,现在已经超过
代码:
fatal error: allowed memory size of 8388608 bytes exhausted (tried to allocate 5898240 bytes)
四、这个是模板错误,header.php的529行所指出的模板,该模板的79行出错
[code]in /webhome/***.com/web/www/header.php(529) : eval()'d code on line 79
五、数据库表不存在
代码:
an error was encountered
boka siteengine
1146: table 'test.boka_settings' doesn't exist
select value from boka_settings where variable='defaultstyleid'
六、 未安装或者数据库的用户名密码错误
代码:
an error was encountered
boka siteengine
1045: access denied for user: 'root@localhost' (using password: yes)
七、查询语句有错误
代码:
boka siteengine
数据库错误
错误信息1064: you have an error in your sql syntax near 'order by sequence asc,id asc' at line 1
出现错误的查询信息是
update gzhy_newsclass set ishidden ='1' where id = '38' order by sequence asc,id asc
八、文件过期
代码:
there is a fatal error,the file has expired
九、数据库出错,需要修复数据库或者重新启动数据库?
代码:
an error was encountered
boka siteengine
2002: can't connect to local mysql server through socket '/tmp/mysql.sock' (2)
十、
代码:
warning: unexpected character in input: '' (ascii=4) state=1 in c:\program files\siteengine\siteenginephp\www\index.php on line 97
warning: unexpected character in input: '' (ascii=5) state=1 in c:\program files\siteengine\siteenginephp\www\index.php on line 97
parse error: parse error, unexpected t_string in c:\program files\siteengine\siteenginephp\www\index.php on line 97
1
上一篇: 浅谈jQuery中事情的动态绑定
下一篇: 爆笑雷图,笑死宝宝了,雷死网友了