环境如下:django 1.7.8 版本.1.在POST表单的时候会出现这个错误提示.禁止访问 (403)CSRF验证失败. 相应中断.HelpReason given for failure: CSRF token missing or incorrect. In general, t...
分类:
其他好文 时间:
2015-06-21 18:25:36
阅读次数:
189
这几天够折腾的了,一台很老很老的服务器,在启动之后,一个阵列磁盘掉线了:也许是磁盘坏了:服务器4个硬盘做的是RAID1,正常来说,坏了其中一二个硬盘是没有问题的。现更换了一个好的硬盘之后,系统无法启动:STOP: c0000218 {Registry File Failure}The registr...
分类:
其他好文 时间:
2015-06-18 11:05:12
阅读次数:
224
#include #include #include #include #include #include #include #include #include #include #define errExit(msg) (perror(msg),(exit(EXIT_FAILURE)))#defi...
分类:
系统相关 时间:
2015-06-16 22:42:38
阅读次数:
181
问题:Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared...
分类:
其他好文 时间:
2015-06-16 14:17:39
阅读次数:
137
1、mysql版本
5.5.24
2、ip
10.1.1.1
3、查看下slave状态
mysql>showslavestatus\G;
***************************1.row***************************
Slave_IO_State:Waitingformastertosendevent
Master_Host:10.1.1.1
Master_User:repl
Master_Port:1111
Connect_Retry:6..
分类:
其他好文 时间:
2015-06-16 01:37:01
阅读次数:
121
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure during rollback().看到这个错误后先查看代码,首先想到,我先打开的数据库连接,并且执行了query和insert操作都没问题啊,但是最后的回滚就出问题了,下面根据日志分析一下:...
分类:
数据库 时间:
2015-06-15 22:11:16
阅读次数:
381
错误描述如下:$ adb install ./app/build/outputs/apk/app-debug.apk
2999 KB/s (8256380 bytes in 2.688s)
pkg: /data/local/tmp/app-debug.apk
Failure [INSTALL_FAILED_OLDER_SDK]原因就是您设备的Android版本过低,app不支持。...
分类:
移动开发 时间:
2015-06-15 18:45:47
阅读次数:
227
最近创建了一个Maven 的web项目,导入myeclipse中后,pom.xml文件一直报如下错误Failure to transfer org.codehaus.plexus:plexus-archiver:pom:1.0 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution...
分类:
其他好文 时间:
2015-06-14 18:43:23
阅读次数:
157
在android4.0源码里面编译出来apk后,用adbinstall (或adb install -r 重装)安装时,报错[INSTALL_FAILED_DEXOPT]。xu@xu-PC:~$adb install workspace/out/target/product/generic/syst...
分类:
其他好文 时间:
2015-06-12 17:03:16
阅读次数:
135
lazyload插件用于图片延迟加载,节省服务器带宽,减少服务器请求次数,提高网站的页面加载速度,用于网站性能优化,只有当图片在窗口可视范围内时才向服务器请求;参数:threshold:设置距离窗口底部多少像素开始加载图片,提前加载图片,failure_limit:lazyload按照瀑布流加载图片...
分类:
Web程序 时间:
2015-06-11 16:47:18
阅读次数:
120