错误类型:
一、未使用二进制上传

  代码:   
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

十一、这是语言管理中的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 of 


30 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 


十六、不能建立windows下的Mysql服务进程

  代码:   
cannot create windows service for mysql.error:0 

十七、数据表错误,修复数据表.(检查数据库的表。通过phpmyadmin即可修复)

  代码:   
Discuz! info: MySQL Query Error

User: 球球妈
Time: 2006-7-26 10:50am
Script: /forums/redirect.php

SQL: SELECT f.fid, t.tid, f.*, ff.* , f.fid AS fid
FROM cdb_forums f, cdb_threads t
LEFT JOIN cdb_forumfields ff ON ff.fid=f.fid 
WHERE t.tid='109118' AND t.displayorder>='0' AND f.fid=t.fid LIMIT 1
Error: Can't open file: 'cdb_threads.MYI'. (errno: 145)
Errno.: 1016

Similar 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.***.com 
Server Port: 80 
Server Protocol: HTTP/1.1 

访问请求数据: 

User Agent/Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon) 
Request Method: GET 
Remote Address: 221.222.177.106 
Remote Port: 30066 

请检查install.php的文件属性是否为644。

二十一、访问页面提示:

  代码:   
Warning: main(/data/home/zn00s1/htdocs/data/language/.php): failed to open stream: No such file or directory in /data/home/zn00s1/htdocs/admin/global.php on line 62 


这个错误是由于数据库恢复不正常。请核实2个数据库的版本是否一致。

二十二、在2003下执行install.php文件,点击"下一步"的按钮点击不下去.
请检查2003下的IE的安全设置为中。

php代码常见错误详解整理的更多相关文章

  1. Python初学者常见错误详解

    Python初学者常见错误详解 0.忘记写冒号 在 if.elif.else.for.while.class.def 语句后面忘记添加 “:”   if spam == 42 print('Hello ...

  2. MDK常见错误详解集合

    错误代码及错误信息 错误释义 error 1: Out of memory 内存溢出 error 2: Identifier expected 缺标识符 error 3: Unknown identi ...

  3. H3 BPM初次安装常见错误详解1-4

    错误1: 首次安装完成无法访问,效果如下. 错误原因:没有配置IIS. 解决方法: 控制面板-程序-打开或关闭Windows功能,选择internet信息服务. 因为安装的时候没有没有iis,所以程序 ...

  4. H3 BPM初次安装常见错误详解5-7

    错误5:登陆无反应,F12查看后台网络请求错误如下图所示  错误原因:ISAPI未对相应的.net版本允许. 解决方法:IIS的根节点--右侧"ISAPI和CGI限制"打开--将相 ...

  5. 单元测试系列之四:Sonar平台中项目主要指标以及代码坏味道详解

    更多原创测试技术文章同步更新到微信公众号 :三国测,敬请扫码关注个人的微信号,感谢! 原文链接:http://www.cnblogs.com/zishi/p/6766994.html 众所周知Sona ...

  6. JAVA设计模式简介及六种常见设计模式详解

    一.什么是设计模式                                                                                           ...

  7. linux Segmentation faults 段错误详解

    什么是段错误 下面是来自 Answers.com 的定义: A segmentation fault (often shortened to segfault) is a particular err ...

  8. Understand:高效代码静态分析神器详解(转)

    之前用Windows系统,一直用source insight查看代码非常方便,但是年前换到mac下面,虽说很多东西都方便了,但是却没有了静态代码分析工具,很幸运,前段时间找到一款比source ins ...

  9. Understand:高效代码静态分析神器详解(一)

    Understand:高效代码静态分析神器详解(一) Understand   之前用Windows系统,一直用source insight查看代码非常方便,但是年前换到mac下面,虽说很多东西都方便 ...

随机推荐

  1. 201521123022 《Java程序设计》 第一周学习总结

    1. 本章学习总结 通过这一周的学习,初次接触了Java,了解了Java与之前所用的C语言的不同之处,对JRE,JDK,JVM有了相应的基础了解.在安装了eclipse和JDK之后熟悉了一下eclip ...

  2. 201521123056 《Java程序设计》第9周学习总结

    1. 本周学习总结 1.1 思维导图如下: 2. 书面作业 本次PTA作业题集异常 1. 常用异常 题目5-1 1.1 截图你的提交结果(出现学号) 1.2 自己以前编写的代码中经常出现什么异常.需要 ...

  3. mshadow的原理--MXNet

    mshadow的原理--MXNet 这文章主要解释了表达式模板的工作原理(也是mshadow的主要原理),文章的前半部分是翻译自exp-template/README.md.我们会解释它为什么会影响编 ...

  4. 全方位解读"CPU load average"

    前一段时间,有同事因为“CPU负载到达5算不算高”的问题争论了一番,看似简单的一个问题表明了我们并没有真正理解服务器的CPU负载. 如果你的线上服务出现性能问题,那么检查机器的CPU负载情况是必不可少 ...

  5. iOS开发之UITableView中计时器的几种实现方式(NSTimer、DispatchSource、CADisplayLink)

    最近工作比较忙,但是还是出来更新博客了.今天博客中所涉及的内容并不复杂,都是一些平时常见的一些问题,通过这篇博客算是对UITableView中使用定时器的几种方式进行总结.本篇博客会给出在TableV ...

  6. Ubuntu16.04.1上搭建分布式的Redis集群

    为什么要集群: 通常为了,提高网站的响应速度,总是把一些经常用到的数据放到内存中,而不是放到数据库中,Redis是一个很好的Cache工具,当然了还有Memcached,这里只讲Redis.在我们的电 ...

  7. python 库之lxml安装 坑一个

    error: command 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python ...

  8. Docker入门之三容器

    上一篇博客学习了下镜像,今天来学习容器.容器类似一个手机中的沙盒环境,用来运行app实例.和镜像一样也是对容器的创建.删除.导出等. 由于我买的参考书中的例子好多都是基于linux的,所以我将dock ...

  9. 关于 HashTable

    hashTable 的一些认识: 底层使用散列表,存贮键值对,键值非null 使用synchronize 保证线程安全 (线程安全) ■全局变量 //The hash table data. //底层 ...

  10. S2_SQL_第二章

    第二章:初始mySql 2.1:mySql简介 2.1.2:mysql的优势 运行速度块,体积小,命令执行的块 使用成本低,开源的 容易使用 可移植性强 2.2:mysql的配置 2.2.1:端口配置 ...