PHP错误代码解决方法

30 篇文章 1 订阅

一、未使用二进制上传代码: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 *.com//www/index.php on line 0

二、数据表中缺少字段代码:An error was encounteredBoka SiteEngine数据库错误错误信息1054: Unknown column ‘tuijian’ in ‘where clause’出现错误的查询信息是SELECT * FROM table WHERE id=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)

四、php代码本身错误,index.php的23行所指出的模板,该文件的23行出错in***.com/*/www/index.php(23) : eval()’d code on line 23

五、数据库表不存在代码:An error was encounteredBoka SiteEngine1146: Table ‘test.settings’ doesn’t exist

SELECT value FROM settings WHERE variable=’defaultstyleid’

六、 未安装或者数据库的用户名密码错误代码:An error was encounteredBoka SiteEngine1045: 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 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 encounteredBoka SiteEngine2002: 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 97Warning: Unexpected character in input: ‘’ (ASCII=5) state=1 in c:\program files\siteengine\siteenginephp\www\index.php on line 97Parse error: parse error, unexpected T_STRING in c:\program files\siteengine\siteenginephp\www\index.php on line 97需检查编码

十一、这是语言管理中的language表里面有些字段没有引号,有些新增模块有这样的问题代码:Boka SiteEngine数据库错误错误信息1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘home’]” at line 1

出现错误的查询信息是UPDATE boka_language

十二、不存在此函数代码:Fatal error: Call to undefined function: buildhtml() in /usr/boka/www.lzj.bsa.cn/admin/news.php on line 894

十三、服务器执行时间超时.修改php.ini里的设置代码:Fatal error: Maximum execution time of 30 seconds exceeded in c:\program files\siteengine\siteenginephp\www\lib\tar.php on line 101 Fatal error: Maximum execution time of30 seconds exceeded in c:\program files\siteengine\siteenginephp\www\lib\cookie.php on line 174

十四、调用了不存在的类代码:Fatal error: Call to a member function on a non-object in e:\boka\d.com\admin\product.php on line 1291

十五、ZEND版本不匹配?代码:Fatal error: Incompatible file format: The encoded file has format ID 2006022801, whereas the Optimizer can read up to 2002062301 in e:\website\d.com\install.php on line 0

十六、数据表错误,修复数据表.(检查数据库的表。通过phpmyadmin即可修复)代码:Discuz! info: MySQL Query ErrorUser: 球球妈Time: 2006-7-26 10:50amScript: /forums/redirect.phpSQL: SELECT f.fid, t.tid, f., ff. , f.fid AS fidFROM cdb_forums f, cdb_threads tLEFT JOIN cdb_forumfields ff ON ff.fid=f.fidWHERE t.tid=’109118′ AND t.displayorder>=’0′ AND f.fid=t.fid LIMIT 1Error: Can’t open file: ‘cdb_threads.MYI’. (errno: 145)Errno.: 1016Similar error report has beed dispatched to administrator before.

十七,环境zend未安装代码:Zend Optimizer not installed

十八,安装是没有任何反应,输入install.php面空白。环境错误提示被屏蔽,察看文件是否用二进制传送或者是zend是否有安装。十九、数据库出现代码: [拷贝到剪贴板]too many connections

数据库链接数太多,修改mysql的最大链接数。

二十、输入安装install.php提示install.php 不允许执行原因是:脚本权限错误:不能设置为同组可写!服务器端配置:Server Administrator/Contact: [no address given]Server Name: www.*.comServer Port: 80Server Protocol: HTTP/1.1访问请求数据:User Agent/Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon)Request Method: GETRemote Address: 221.222.177.106

Remote Port: 30066检查install.php的文件属性是否为644。

http://jingyan.baidu.com/article/d621e8da0bbe182865913f1e.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值