Php code error analysis explanation _ php skills

Source: Internet
Author: User
Because php is always exposed recently, there are often some errors. I have collected common php error codes and hope to help you because I have been exposed to php recently, some errors often occur. I have collected common php error codes and hope to help you.

Error Type:
I. binary upload is not used
Code:
Fatal error: This encoded file is already upted. Please refer to #; for further help in
/Webhome/*****. com/web/www/index. php on line 0
2. fields are missing from the data table.
Code:
An error was encountered
Boka SiteEngine
Database error
Error message 1054: Unknown column 'tuian Ian 'in 'where clause'
The error message returned is:
SELECT * FROM boka_product WHERE tuijian = 1 AND classid IN ('1', '0') order by id desc limit 4
III. the server limits the memory used by the website to 8 MB, which has now exceeded
Code:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5898240 bytes)
4. this is a template error. line 79 of the template indicated by row 529 of header. php has an error.
[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 'doesn' t exist
SELECT value FROM boka_settings WHERE variable = 'defaultstyleid'
6. uninstalled or incorrect database username and password
Code:
An error was encountered
Boka SiteEngine
1045: Access denied for user: 'root @ localhost' (Using password: YES)
VII. query statement errors
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 message returned 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. database error. need to fix 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)
10,
Code:
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
11. This is why some fields in the language table in language management do not have quotation marks, and some new modules have such problems.
Code:
Boka SiteEngine
Database error
Error message 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
The error message returned is:
UPDATE boka_language
12. This function does not exist
Code:
Fatal error: Call to undefined function: buildhtml () in/usr/boka/www.lzj.bsa.cn/admin/news.php on line 894
13. server execution time-out. modify settings in php. ini
Code:
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
30 seconds exceeded in c: \ program files \ siteengine \ siteenginephp \ www \ lib \ cookie. php on line 174
14. a nonexistent class is called.
Code:
Fatal error: Call to a member function on a non-object in e: \ boka \ d.com \ admin \ product. php on line 1291
15. does ZEND version not match?
Code:
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
16. you cannot create a Mysql service process in windows.
Code:
Cannot create windows service for mysql. error: 0
17. Data Table Error. repair the data table. (check the database table. Use phpmyadmin to fix the issue)
Code:
Discuz! Info: MySQL Query Error
User: ball mom
Time: am
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 = '000000' 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.
17. environment zend is not installed
Code:
Zend Optimizer not installed
18. there is no response to the installation. enter install. php blank.
The environment error prompt is blocked. check whether the file is transmitted in binary or whether zend is installed.
19. database appearance
Code: [Copy to clipboard]
Too connector connections
If the number of database connections is too large, modify the maximum number of connections of mysql.
20. enter the install. php installation prompt
The reason why install. php cannot be executed is:
Script permission error: cannot be set to the same group writable!
Server configuration:
Server Administrator/Contact: [no address given]
Server Name: www. ****. com
Server Port: 80
Server Protocol: HTTP/1.1
Access request data:
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
Check whether the file property of install. php is 644.
21. webpage prompt:
Code:
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
This error is caused by abnormal database recovery. Check whether the versions of the two databases are consistent.
22. execute the install. php file in 2003 and click "next.
Check that the security settings of IE under 2003 are as follows.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.