PHP Code Error Analysis 1th 2 page _php tutorial

Source: Internet
Author: User
Error type:
One, not using binary upload



Code:
Fatal error:this encoded file is corrupted. 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



Second, missing fields in the data table

Code:
An error was encountered
Boka Siteengine
Database error
Error message 1054:unknown column ' Tuijian ' in ' WHERE clause '

The query information that appears to be incorrect is
SELECT * from Boka_product WHERE tuijian=1 and ClassID in (' 1 ', ' 0 ') ORDER by ID DESC LIMIT 4



Third, the server limits the size of the site to use memory of 8M, has now exceeded

Code:
Fatal error:allowed memory size of 8388608 bytes exhausted (tried to allocate 5898240 bytes)


Four, this is a template error, header.php 529 lines of the template indicated by the template, 79 rows of error
[Code]in/webhome/***.com/web/www/header.php (529): eval () ' D Code on line 79



V. Database tables do 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 '



Six, not installed or the database user name password error

Code:
An error was encountered
Boka Siteengine

1045:access denied for user: ' Root@localhost ' (Using password:yes)



Seven, the query statement has errors

Code:
Boka Siteengine
Database error
Error message 1064:you has an error in your SQL syntax near ' ORDER by sequence Asc,id ASC ' at line 1

The query information that appears to be incorrect is
UPDATE gzhy_newsclass SET ishidden = ' 1 ' WHERE id = ' ' ORDER by sequence Asc,id ASC



Viii. Expiration of files

Code:
There is a fatal error,the file has expired



Nine, database error, 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)



Ten

Code:
warning:unexpected character in input: "(ascii=4) state=1 in C:\Program files\siteengine\siteenginephp\www\index.php O N Line 97

warning:unexpected character in input: "(ascii=5) state=1 in C:\Program files\siteengine\siteenginephp\www\index.php O N Line 97

Parse error:parse error, unexpected t_string in C:\Program Files\siteengine\siteenginephp\www\index.php on line 97

http://www.bkjia.com/PHPjc/319073.html www.bkjia.com true http://www.bkjia.com/PHPjc/319073.html techarticle error Type: First, unused binary upload code: Fatalerror:thisencodedfileiscorrupted.pleaserefertohttp://www.zend.com/support/support_ Faq.php?id=loader_file_corruptforfurthe ...

  • 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.