欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

php代碼出現錯誤分析詳解第1/2頁

 更新時間:2008年06月17日 19:10:54   作者:  
由于最近總是接觸到php,經常會出現一些錯誤,特把php的常見的錯誤代碼收集了下,希望對大家有幫助
錯誤類型:
一、未使用二進制上傳



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

相關文章

最新評論