错误报告: error_reporting(E_ALL);字符串: addslashes(); stripslashes(); trim(); ltrim(); rtirm(); explode(); implode()或join(); echo(); htmlspecialchars(...
分类:
Web程序 时间:
2014-06-25 19:02:09
阅读次数:
247
错误140624 0:53:42 [ERROR] /usr/libexec/mysqld: Incorrect key file for table './xx/xxx.MYI'; try to repair it140624 0:53:42 [ERROR] /usr/libexec/mysqld....
分类:
数据库 时间:
2014-06-25 18:38:51
阅读次数:
900
location ~ ^.*/files\/styles\/.*$ { access_log off; expires 45d; error_page 404 @drupal;}location @drupal { if (!-e $reque...
分类:
其他好文 时间:
2014-06-25 17:49:26
阅读次数:
279
如果错误日志量很大,将错误日志分别记录在不同时间生成的文件里面,比如日期格式比如:date('Y-m-dH-i-s');/*/*/logs/*/*/2014-06-2412:20:202007_sign_error.log正则匹配的原理:一个字符一个字符的匹配。习惯性思维是两个字符一块考虑,比如小时...
分类:
其他好文 时间:
2014-06-25 16:19:35
阅读次数:
211
.C/C++中宏总结C程序的源代码中可包括各种编译指令,这些指令称为预处理命令。虽然它们实际上不是C语言的一部分,但却扩展了C程序设计的环境。本节将介绍如何应用预处理程序和注释简化程序开发过程,并提高程序的可读性。ANSI标准定义的C语言预处理程序包括下列命令:#define,#error,#inc...
分类:
编程语言 时间:
2014-06-25 16:16:58
阅读次数:
245
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select to change执行 sudo xcode-select -swi...
分类:
其他好文 时间:
2014-06-25 16:13:31
阅读次数:
190
I experienced this error while trying to alter one of my stored procedures remotely on a master server. After some research, I ended up getting inform...
分类:
数据库 时间:
2014-06-25 15:34:33
阅读次数:
471
NSString的常用方法创建一个新字符串并将其设置为 path 指定的文件的内容,使用字符编码enc,在error上返回错误+ (id)stringWithContentsOfURL:(NSURL *)url encoding:(NSStringEncoding)enc error:(NSErro...
分类:
其他好文 时间:
2014-06-25 14:37:29
阅读次数:
164
dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfiguredstart:Jobfailedtostartinvoke-rc.d:initscriptmysql,action"...
分类:
数据库 时间:
2014-06-25 13:32:08
阅读次数:
277
接到报警通知,负载过高,达到800%,load也过高,有11了。MySQL版本号为5.6.12-log1 top 之后,确实是mysqld进程占领了全部资源。2 查看error日志,无不论什么异常3 show eninge innodb status\G,没有死锁信息。4 show full pro...
分类:
数据库 时间:
2014-06-25 09:24:54
阅读次数:
234