Introduction: This is the PHP error operation of the detailed page, introduced and PHP, related knowledge, skills, experience, and some PHP source code and so on.
class= ' pingjiaf ' frameborder= ' 0 ' src= '
Note: PHP has several error hints and troubleshooting methods, PHP Error hints
What kinds of error tips are there in PHP?
1.notice: note
2.waring: Warning
3.error: Error
What kinds of error-checking methods are available in PHP?
1, grammar
PHP Error Cannot modify header Information,modifyheader
In the use of CI development of the public number when the following question, the Internet to see a round of solution is: the error file with EditPlus Save as Utf-8.
PHP: Error Deprecated:function split () is Deprecated in ... SolutionsPHP5.3 split () is not recommended for use in the following reasons:After PHP 5.3.0 the regex, want to use the PCRE specifications, POSIX regex is not recommended (unified regex,
PHP error level: Deprecated: Deprecated (does not affect program run) Notice: Notification level error undefined does not exist such as notification error (does not affect program run) Warning: Warning Level (Does not affect program operation)
This article provides a detailed analysis of the methods used to capture php error messages. For more information, see
This article provides a detailed analysis of the methods used to capture php error messages. For more information, see
Describes how to obtain PHP error logs and how to obtain php logs.
There are many methods to obtain error logs in PHP. I will give you a brief introduction to how to solve these problems. The following code will show you how to help you.
'; print_r (
How to correctly understand PHP error messages
When writing a program, no matter how careful we are, making mistakes is always inevitable. These errors often confuse the PHP compiler. If developers cannot understand the meaning of the compiler error
By default, the php syntax error prompt is not displayed in ubuntu. To enable the syntax, you need to modify the following:1. Open the php. Ini file.This file is in the/etc/php5/apache2 Directory. You must modify the permission of this file to write
Php's error mechanism is also very complex, did a few years of php, also did not carefully summed up, now fill this Lesson.Special Note: The PHP version of the article uses 5.5.32Error level for PHPFirst you need to know what PHP errors Are. Up to
In learning, the more learning the more you feel weak foundation.In normal work, for some error handling feel do not know how to do, so decided to re-organize.Strongly recommend this article, really feel a lot of learning.Some references:: Another
Preface: For us to do PHP development personnel, on the production environment, must be related to debug,display_errors error tips, such as turn off. Who can not avoid a mistake. This can prevent non-fatal error, resulting in project path, database
In many cases, our PHP files will appear some very difficult to troubleshoot the error, such as the output of Great white page, tuning the wrong. It is possible that PHP's error level masks some non-fatal errors, causing no error prompts. So
In the PHP website development, the error (Bugs) debugging and solves is the essential part, in the website debugging stage, the error message can give us the very big help, when the website on-line, we should also display the original error message
When compiling a PHP script, the PHP compiler will do its best to report the first problem it encounters. This creates a problem: only when the error occurs does PHP recognize it (this is described in detail later in this article). It is for this
Madeleine, IIS is a pit, I have been groping for so long, only to find a solution:1, in addition to the php.ini configured as:Display_errors = on;error_reporting = E_all & ~e_notice;2. Also create a new Web. config file under the root directory of
In the day-to-day development of the project, there will always be some of our unexpected abnormal error, if we do not have a relatively perfect treatment, then the program looks very unprofessional, it is likely to become someone else to attack the
Before the PHP environment crashed, re-installed a, open the first file appears:You don't have permission to access/on the this server. Error, let me love to what ah, actually said I do not have permissions on this server, OK solution is as
When you enable lamp in Ubuntu, the following error occurs: the default lamp mode in Ubuntu does not have a php syntax error message. If you want to enable lamp, you need to modify the following: 1. Open the php. ini file. This file is in
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.