错误处理与调试(一)浏览器报告的错误1.IE2.Firefox3.Safari4.Opera5.Chrome(二)错误处理1.try-catch语句try{ //可能会导致错误的代码}catch(error){ //发生错误时怎么处理}发生错误后catch接收一个包含错误信息的对象,它保...
分类:
编程语言 时间:
2014-10-22 23:37:02
阅读次数:
274
nginx是一个web服务器,因此nginx的access日志只有对访问页面的记录,不会有php 的 error log信息。nginx把对php的请求发给php-fpm fastcgi进程来处理,默认的php-fpm只会输出php-fpm的错误信息,在php-fpm的errors log里也看不到...
分类:
Web程序 时间:
2014-10-22 21:48:30
阅读次数:
342
1 #user nobody; 2 worker_processes 1; 3 4 error_log logs/error.log; 5 error_log logs/error.log notice; 6 error_log logs/error.log info;...
分类:
其他好文 时间:
2014-10-22 20:02:16
阅读次数:
270
Error pulling origin: error: Your local changes to the following files would be overwritten by merge 在Android Studio使用git进行pull操作中,你会发现会有这么一个错误,这个其实类似于svn中的冲突。那如...
分类:
其他好文 时间:
2014-10-22 18:37:00
阅读次数:
1915
如果系统中有一些配置文件在服务器上做了配置修改,然后后续开发又新添加一些配置项的时候,
在发布这个配置文件的时候,会发生代码冲突:
error: Your local changes to the following files would be overwritten by merge:
protected/config/main.php
Please, comm...
分类:
其他好文 时间:
2014-10-22 18:20:17
阅读次数:
187
Technote (troubleshooting)Problem(Abstract)Websphere Message Broker message flow fails to connect to a DB2 datasource, failing with error 'SQL30082N'....
分类:
数据库 时间:
2014-10-22 17:24:44
阅读次数:
3475
HTTP 错误 500.19 - Internal Server Error,无法读取配置节“protocolMapping”,因为它缺少节声明如图示:解决:原因是IIS发布时间的版本问题原来为2.01改为4.0
分类:
移动开发 时间:
2014-10-22 17:16:36
阅读次数:
225
针对新板调试,不针对EVM板。
TI XDS560连上DM8168 20pin仿真接口
launch 8168.ccxml,右击CortexA8,选择Connect Target
出现错误如下:
“Error connecting to the target: (Error -181 @ 0x0)
The controller has detected a dead JTAG cloc...
分类:
其他好文 时间:
2014-10-22 15:55:41
阅读次数:
266
报错提示:
Fatal error: Function name must be a string in D:\wwwroot\zbphp.com\ThinkPHP\Library\Behavior\ReadHtmlCacheBehavior.class.php on line
87
代码如下:
// {|FUN} 单独使用函数
$rule = preg_replace_...
分类:
Web程序 时间:
2014-10-22 12:55:51
阅读次数:
345