; E_all all errors and warnings (except e_strict); E_error a fatal error. Execution of the script is paused.; E_recoverable_error most of the fatal errors.; E_warning a non-fatal run-time error, just a warning, the execution of the script does not stop.; E_parse compile-time parsing errors, parsing errors should only be generated by the parser.; E_notice the reminders that are generated when the script runs
There are many ways to get the error log in PHP, below I give you a brief introduction of how to solve such problems, the following through the code to show you, hope to help everyone.
For PHP errors, we must know clearly, the type is divided into several types, when the trigger, what the return value is.
If you do not distinguish between warnings, errors, suggestions, hints, and other types
The transaction log for database 'xx' is full, Error: 9002, Severity: 17, State: severity
Check database logs with the following error message:
Error: 9002, Severity: 17, State: 4.The transaction log for database 'SharedServices1_Search_DB' is full. To find out why space in
Win7 Debug scrapy Code, the code error occurred, but did not output to the log log, but in the CMD to report the following error:
Traceback (most recent):File "d:\python27\lib\logging\__init__.py", line 884, in emitStream.Write (fs% Msg.encode ("UTF-8"))Unicodedecodeerror: ' GBK ' codec can ' t decode bytes in positi
An error occurred while developing the CA certificate for PHP development on the public account red envelope interface. please log on to the payment merchant platform to download the certificate. The red envelope interface always prompts "CA certificate error. please log on to the payment merchant platform to download
Can the PHP error log file "php_error_log" be deleted directly? This file is already very large because many errors are always ignored during code writing. Opening and browsing are both difficult.
If not, how can I clear it? It's okay to close Apache and delete it again?
Reply to discussion (solution)
You can delete it at any time. Php error logs provide
Label:Mysqldump:got error:1556:you can ' t use the locks with log tables. When using LOCK TABLESI put some mysqldump statements in a batch command file (the legendary. sh file) executed, and when I put theseMysqldump statement separate from one execution, I found that there was no error, so I looked up some information on the Web:Discovery is the logs table in th
deploymentThe growth of Blue-Chase DBA (15): Think FTP is very "simple", who chengxiang twistsThe growth of Blue-Chase DBA: The DBA also drank and was 捭阖The growth of blue-chasing DBAs (17): sharing, or spending, learning to grow in the post-IoE era******************************************************************************************************* ***********Soccer and Oracle Series *************************************************original works, from the "Blue Blog" blog, Welcome to reprint
I made a login registration little thing myself, but once I log in with a letter, an error is reported first. the code is the login Action code under the controller // login submit controller nbsp; nbsp; public nbsp; function nbsp; logAction () I made a small login registration item, but once I log in with a letter, an e
Error_log function is a built-in function in PHP. It is mainly used to write error logs. It is developed by many people or in a development project that is complex and has no unit test, you can use it to record errors in our program, especially errors in the execution of database query statements.
Let's take a rough look at the error_log () function. Let's take a look at the manual explanation:
Error_log(PHP 3, PHP 4, PHP 5)
Bool error_log (string mes
Asp.net| Error | Web Design site, it is not possible that our site does not appear a little wrong, the common "page does not exist" "Page run Error" and other error information general website How many always exist, the key is, these errors appear, the administrator how to facilitate timely discovery of them, Minimize the user's bad impression of the site. Whethe
Due to some temporary issues with the NS firewall in the IDC room, we made a car on Saturday morning to make adjustments to the unicom idc of the West Railway Station, when checking other server hardware, we found that the display in front of a dell pe 2850 server was orange, which meant a problem occurred.The error code displayed on the screen is as follows: IB110 SBE Log Disabled queries the keyword on th
Open phpmyadmin today found that can not connect to the mysql database, restart mysql cannot start up, view the log found the following error spanstylefont-family: SimSun; font-size: 12px; mysqld: File39; mysql-bin00037039; notfound
mysqld: File '.\mysql-bin.000370' not found (Errcode: 2)141120 13:23:13 [ERROR] Failed to open
Label:Today the hands are cheap, see the MySQL log under/var/log/mysql. Always feel awkward, so I want to change the location of the log,I development environment vagrant + ubuntu12.04, in/etc/mysql/mysql modified the location of the General_log, placed under/data/logs/mysqlThen restart Services, service MySQL restartView err
Today, we use group by on Sybase to query a table with more than 30 million data records."Space available in the log segment has fallen critically low in database 'tempdb '. all future modifications to this database will be susponded until the log is successfully dumped and space becomes available. "the error message" the log
[[email protected] bin]# Mysqlbinlog logbin.000002/*!40019 set @ @session. max_insert_delayed_threads=0*/;/*!50003 SET @ [Email protected] @COMPLETION_TYPE, completion_type=0*/;D elimiter/*!*/;# at 4#150511 20:57:36 server ID 1 end_log_ POS 106 Start:binlog v 4, Server v 5.1.73-log created 150511 20:57:36# warning:this binlog are either in use or were not C losed properly. BINLOG ' Mhprvq8baaaazgaaagoaaaabaaqans4xljczlwxvzwaaaaaaaaaaaaaaaaaaaaaaaaaaa
Etc/profile Setting environment variable causes unable to log on to resolve 1, because accidentally set in etc/profile environment variable cause unable to log in Etc/profile set export path This will cause a reboot after the system login interface Alt +CTRl+f2 into the command mode, if not the root user needs to type "root user not so verbose, gedit edit will not be displayed"/usr/bin/sudo/usr/bin/vi/etc/e
1) Start:
Sudo/etc/init.d/mysql start
2) Stop:
Sudo/etc/init.d/mysql stop
3) Reboot:
Sudo/etc/init.d/mysql restart
4) View log:
Cat/var/log/mysql.err
Cat/var/log/mysql/error.log
5 does not support Chinese
Modify/ETC/MYSQL/MY.CNF
increase under [client]:
Default-character-set=utf8 or Character_set_server=utf8
Add under [mysqld]
Error: c ++ compilercannotcreateexecutable is enclosed with config. log-general Linux technology-Linux programming and kernel information. For details, see the following. This file contains any messages produced by compilers while
Running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
Generated by GNU Autoconf 2.59. Invocation command line was
$./Configure
Environment IntroductionServer: centos6.5Service: Nginx ProxyProblem Description:The development environment project of the pressure measurement development colleague It's okay, but the line machine hit%50, a lot of 502Some PHP pages do not open, the page prompts the gateway timeout, and then find the log prompt as follows2015/09/19 14:00:30 [ERROR] 1811#0: *319 upstream timed out (110:connection timed off)
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.