未使用Async之前coffeescript写的代码:exports.product_file_add = (req,res) -> if !req.param('file_id') return res.json({'flag':'error','msg':'请先上传文件再保存!'}) ...
分类:
Web程序 时间:
2014-07-10 10:16:14
阅读次数:
773
WordPress发送邮件的功能,一直以来都是靠插件解决的换了一个主机商后,发现不能发送邮件了,使用wp-mail-smtp发送测试邮件给出的错误提示为: SMTP -> ERROR: Failed to connect to server:()折腾一天后发现,原来是fsockopen函数被禁用了找...
分类:
其他好文 时间:
2014-07-10 00:44:34
阅读次数:
180
错误表现:[2014-06-27 18:19:51 - XXX] Installing XXXX.apk...[2014-06-27 18:20:00 - XXX] Installation error: INSTALL_FAILED_VERSION_DOWNGRADE[2014-06-27 18:...
分类:
移动开发 时间:
2014-07-09 23:54:03
阅读次数:
320
selected device is not a touchscreen I understandarm交叉编译工具中的头文件库中的linux/input.h中的EV_VERSION定义为#define EV_VERSION 0x010000而linux内核include/linux/...
分类:
其他好文 时间:
2014-07-08 00:14:34
阅读次数:
200
namespace DMS.Common{ public class MsgHelper { public static DialogResult ShowErrorMsgBox(string error) { return Messag...
分类:
其他好文 时间:
2014-07-07 23:18:17
阅读次数:
258
专题:动态内存分配(所有高级语言,没有C里深刻)传统数组的缺点:1.数组长度必须事先指定,而且只能是常整数,不能是变量例子int a[5]; //必须事先指定,而且只能是常整数 int len = 5; int a[len];//error 2.传统形式定义的数组,该数组的内存程序...
分类:
编程语言 时间:
2014-07-07 22:13:17
阅读次数:
293
InnoDB: Operating system error number 87 in a file operation. 错误87的解决方法140628 8:10:48 [Note] Plugin 'FEDERATED' is disabled.140628 8:10:48 InnoDB: The...
分类:
数据库 时间:
2014-07-07 21:36:13
阅读次数:
810
Eclipse从svn上迁出项目的时候报以下的错误:SVN: '0x0040010b: Obtain Project Name' operation finished with error: Selected SVN connector library is not available or can...
分类:
其他好文 时间:
2014-07-07 20:34:09
阅读次数:
1988
一、原理:系统中每张单据在进行新增(A)、删除(D)、修改(U)、关闭(L)、取消(C)时都会触发数据库相应业务数据的更新,更新数据但不立刻commit,更新完数据后会先触发一个名为SBO_SP_TransactionNotification的存储过程,存储过程返回名为@error的参数,取1或者0...
分类:
其他好文 时间:
2014-07-07 20:23:07
阅读次数:
179
class Foo 255end def create @foo =Foo.new(params[:foo]) @foo.project_id =@project.id if @foo.save flash[:notice] = l(:notice_successfu...
分类:
其他好文 时间:
2014-07-07 18:21:22
阅读次数:
240