今天在用node+angular做后台时,需要使用session保存登陆状态的时候,遇到了此问题,问题直译为非mysql问题,我也在后台取到的登陆用户名和密码,确实不是数据库问题.最后发现在使用session时报的错,但session配置没有问题,最终发现是node主文件配置顺序出了问题. app.configure(function() { app.use(cookie()); app.use(session({ name: "severTest", secret: "12…
phpize命令在安装AMQP插件是报错phpize:Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF envir的解决方法 1.出现错误的场合: 运行/usr/local/php/bin/phpize时出现:Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension…
对于报错情况, 格式大致如下: error: PackageName: signature from "User <email@archlinux.org>" is invalid error: failed to commit transaction (invalid or corrupted package (PGP signature)) Errors occured, no packages were upgraded. 错误定位: PGP key报错,签名邮箱不可…
报错 Exception in thread "main" org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.ij34.model.UserMapper.selectarticle at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:230) at or…
一:报错:TypeError: list indices must be integers, not dict for i in range(0,len(test_data)): suite.addTest(TestCaselogin("test_api",test_data[i][*arg])) 解决方法:是参数表示不正确的原因:test_data[i][*arg] 应该表示为item[*arg] 二:报错:'int' object is not iterable   for i i…
这个普遍是因为tomcat 的 jar包问题,重新导入一下tomcat的jar包就OK了.…
发现新安装的win10能看到其他计算机,但不能共享其他计算的共享文件/夹,出现如下情况:在浏览器里输入:\IP 不能访问到计算机的共享文件夹,或者在桌面上新建一个指向到其他计算机共享文件/夹的快捷方式时,出现提示:windows不能找到\IP .这是因为需要启用SMB1协议,这个协议是一个不安全的协议,因此在win10中默认不启用SMB1协议,解决此问题只要启用此协议即可,方法如下: 控制面板--程序和功能--启用或关闭windows功能--SMB1.0/CIFS文件共享支持,在前在打上勾选中即…
不知道哪里alert undefined 用下面的语句是js报错.F12能提示报错的地方 var oldalert=window.alert; window.alert=function(aa){ if (typeof (aa)=="undefined"){  throw "就是这";}else{oldalert(aa)}}; 这样浏览器会报错...就能定位到错误位置了.…
npm install报错问题解决 问题: E:\CodeSpace\GitlabTest\desktop>npm install > lifeccp-desktop@1.1.9 postinstall E:\CodeSpace\GitlabTest\desktop> install-app-deps Installing app dependencies for arch x64 to E:\CodeSpace\GitlabTest\desktop\app > sqlite3@3…
1.cnmp安装失败 2.提示如下: bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://registry.npm.taobao.org Password: /usr/local/lib └── (empty) npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr…