手机
当前位置:查字典教程网 >编程开发 >php教程 >php代码出现错误分析详解第1/2页
php代码出现错误分析详解第1/2页
摘要:错误类型:一、未使用二进制上传代码:Fatalerror:Thisencodedfileiscorrupted.Pleaserefertoh...

错误类型:

一、未使用二进制上传

代码:

Fatalerror:Thisencodedfileiscorrupted.Pleaserefertohttp://www.zend.com/support/support_faq.php?id=loader_file_corruptforfurtherhelpin

/webhome/****.com/web/www/index.phponline0

二、数据表中缺少字段

代码:

Anerrorwasencountered

BokaSiteEngine

数据库错误

错误信息1054:Unknowncolumn'tuijian'in'whereclause'

出现错误的查询信息是

SELECT*FROMboka_productWHEREtuijian=1ANDclassidIN('1','0')ORDERBYidDESCLIMIT4

三、服务器限制了网站使用内存的大小为8M,现在已经超过

代码:

Fatalerror:Allowedmemorysizeof8388608bytesexhausted(triedtoallocate5898240bytes)

四、这个是模板错误,header.php的529行所指出的模板,该模板的79行出错

[code]in/webhome/***.com/web/www/header.php(529):eval()'dcodeonline79

五、数据库表不存在

代码:

Anerrorwasencountered

BokaSiteEngine

1146:Table'test.boka_settings'doesn'texist

SELECTvalueFROMboka_settingsWHEREvariable='defaultstyleid'

六、未安装或者数据库的用户名密码错误

代码:

Anerrorwasencountered

BokaSiteEngine

1045:Accessdeniedforuser:'root@localhost'(Usingpassword:YES)

七、查询语句有错误

代码:

BokaSiteEngine

数据库错误

错误信息1064:YouhaveanerrorinyourSQLsyntaxnear'ORDERBYsequenceASC,idASC'atline1

出现错误的查询信息是

UPDATEgzhy_newsclassSETishidden='1'WHEREid='38'ORDERBYsequenceASC,idASC

八、文件过期

代码:

Thereisafatalerror,thefilehasexpired

九、数据库出错,需要修复数据库或者重新启动数据库?

代码:

Anerrorwasencountered

BokaSiteEngine

2002:Can'tconnecttolocalMySQLserverthroughsocket'/tmp/mysql.sock'(2)

十、

代码:

Warning:Unexpectedcharacterininput:''(ASCII=4)state=1inc:programfilessiteenginesiteenginephpwwwindex.phponline97

Warning:Unexpectedcharacterininput:''(ASCII=5)state=1inc:programfilessiteenginesiteenginephpwwwindex.phponline97

Parseerror:parseerror,unexpectedT_STRINGinc:programfilessiteenginesiteenginephpwwwindex.phponline97

当前1/2页12下一页阅读全文

【php代码出现错误分析详解第1/2页】相关文章:

phplot生成图片类用法详解

留言板翻页的实现详解

使用PHP的错误处理

将PHP从5.3.28升级到5.3.29时Nginx出现502错误

用libtemplate实现静态网页生成

xml+php动态载入与分页

php实现读取内存顺序号

php中get_defined_constants函数用法实例分析

Php部分常见问题总结第1/2页

php实现TCP端口检测的方法

精品推荐
分类导航