Home >Backend Development >PHP Tutorial >PHP code Detailed analysis of errors in PHP code Page 1/2

PHP code Detailed analysis of errors in PHP code Page 1/2

WBOY
WBOYOriginal
2016-07-29 08:38:15912browse

Error type:
1. Binary upload is not used
Code:
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
2. Fields are missing in the data table
Code:
An error was encountered
Boka SiteEngine
Database error
Error message 1054: Unknown column ' tuijian' in 'where clause'
The error query information is
SELECT * FROM boka_product WHERE tuijian=1 AND classid IN ('1','0')ORDER BY id DESC LIMIT 4
Three, the server limits the memory used by the website The size is 8M, now it has exceeded
Code:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5898240 bytes)
Four. This is a template error, the template pointed out in line 529 of header.php, this template Error on line 79
[code]in /webhome/***.com/web/www/header.php(529) : eval()'d code on line 79
5. The database table does not exist
Code:
An error was encountered
Boka SiteEngine
1146: Table 'test.boka_settings' does not exist
SELECT value FROM boka_settings WHERE variable='defaultstyleid'
6. Not installed or the username and password of the database are incorrect
Code:
An error was encountered
Boka SiteEngine
1045: Access denied for user: 'root@localhost' (Using password: YES)
7. There is an error in the query statement
Code:
Boka SiteEngine
Database error
Error message 1064: You have an error in your SQL syntax near 'ORDER BY sequence ASC,id ASC' at line 1
The error query information is
UPDATE gzhy_newsclass SET ishidden ='1' WHERE id = '38' ORDER BY sequence ASC,id ASC
8. File expiration
Code :
There is a Fatal Error, The File Has Expired
9. The database is errors. Do I need to repair the database or restart the database?
Code:
An error was encountered
Boka SiteEngine
2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
十、
Code:
Warning: Unexpectedcharacter in input: ' ' (ASCII=4) state=1 in c:program filessiteenginesiteenginephpwwwindex.php on line 97
Warning: Unexpected character in input: ' ' (ASCII=5) state=1 in c:program filessiteenginesiteenginephpwwwindex.php on line 97
Parse error: parse error, unexpected T_STRING in c:program filessiteenginesiteenginephpwwwindex.php on line 97

Current page 1/2 12Next page

The above introduces the php code. Detailed analysis of errors in the php code. Page 1/2, including the content of the php code. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn