最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

php代碼出現(xiàn)錯誤分析詳解第2/2頁

 更新時間:2008年06月17日 19:10:54   作者:  
由于最近總是接觸到php,經常會出現(xiàn)一些錯誤,特把php的常見的錯誤代碼收集了下,希望對大家有幫助


十一、這是語言管理中的language表里面有些字段沒有引號,有些新增模塊有這樣的問題

  代碼:   
Boka SiteEngine
數(shù)據(jù)庫錯誤
錯誤信息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 



出現(xiàn)錯誤的查詢信息是
UPDATE boka_language

十二、不存在此函數(shù)

  代碼:   
Fatal error: Call to undefined function: buildhtml() in /usr/boka/www.lzj.bsa.cn/admin/news.php on line 894 



十三、服務器執(zhí)行時間超時.修改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 



十七、數(shù)據(jù)表錯誤,修復數(shù)據(jù)表.(檢查數(shù)據(jù)庫的表。通過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. 



十七,環(huán)境zend未安裝

  代碼:   
Zend Optimizer not installed 



十八,安裝是沒有任何反應,輸入install.php面空白。
環(huán)境錯誤提示被屏蔽,察看文件是否用二進制傳送或者是zend是否有安裝。

十九、數(shù)據(jù)庫出現(xiàn)

  代碼: [拷貝到剪貼板]   
too many connections 



數(shù)據(jù)庫鏈接數(shù)太多,修改mysql的最大鏈接數(shù)。

二十、輸入安裝install.php提示
install.php 不允許執(zhí)行原因是: 
腳本權限錯誤:不能設置為同組可寫!

服務器端配置: 

Server Administrator/Contact: [no address given] 
Server Name: www.***.com 
Server Port: 80 
Server Protocol: HTTP/1.1 

訪問請求數(shù)據(jù): 

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 



這個錯誤是由于數(shù)據(jù)庫恢復不正常。請核實2個數(shù)據(jù)庫的版本是否一致。

二十二、在2003下執(zhí)行install.php文件,點擊"下一步"的按鈕點擊不下去.
請檢查2003下的IE的安全設置為中。

相關文章

最新評論

孝感市| 连平县| 浠水县| 汉寿县| 清徐县| 江安县| 赣榆县| 永寿县| 北京市| 兴化市| 兰西县| 鹰潭市| 福泉市| 马关县| 六安市| 宁阳县| 南汇区| 五峰| 武功县| 昭通市| 通江县| 甘洛县| 阿鲁科尔沁旗| 青川县| 于都县| 卓资县| 自贡市| 临朐县| 康保县| 宜黄县| 油尖旺区| 宝兴县| 敦化市| 桂东县| 阳城县| 西盟| 红河县| 扶余县| 高唐县| 浠水县| 松滋市|