当前位置:
代码迷
>>
PHP
>> Fatal error: Call to a member function query() on a non-object in G:\wamp\apache,该如何解决
详细解决方案
Fatal error: Call to a member function query() on a non-object in G:\wamp\apache,该如何解决
热度:
1197
发布时间:
2013-11-23 10:52:51.0
Fatal error: Call to a member function query() on a non-object in G:\wamp\apache
这是错误信息
这个是类
这个是调用页面
php错误
分享到:
------解决方案--------------------
构造函数名写错了!
__construct
写成了
__constuct
查看全文
相关解决方案
apache-tomcat-7.0.32下的html页面不能访问有关问题
jquery中$(document).ready(function()是jquery开始要写的一句话,javaWeb项目中,这句话什么时候开始实施呢
大神们开始觅错啦!org.hibernate.exception.SQLGrammarException: could not execute query
org.apache.jasper.JasperException: Unable to compile class for JSP:该怎么解决
求解$.post(url,{},function(){});回调函数中怎么使用判断语句
java报错Syntax error on token "return" invalid Type解决方案
The server encountered an internal error () that prevented it from fulfilling th解决方案
org.apache.catalina.connector.RequestFacade有关问题
org.apache.jasper.JasperException: Unable to compile class for JSP:解决思路
struts2的Action怎么返回指定路径的jsp或html,而不是返回SUCCESS、ERROR
'Update Progress' has encountered a problem An internal error has occurred解决方案
hibernate中Query query=session.createQuery的有关问题
JSP向SQL数据库中写下数据时提示:Network error IOException: Connection refused: connect
Error creating bean with name 'sessionFactory' defined in ServletContext resourc解决方法
有个有关问题,请各位帮忙看看:java.lang.ClassNotFoundException: org.apache.struts.action.Act
httpclient老是提示java.lang.NoSuchMethodError: org.apache.http.protocol.BasicHttpCon
org.apache.xerces.impl.msg.XMLMessages not loaded解决方案
servlet+jquery1.4.2(ajax error?)解决方案
Parse error in application web.xml,该如何解决
java itext导出报Connection reset by peer: socket write error,该怎么处理
Error reading resource: com/user/User.hbm.xml,该怎么解决
(function(){//coding.})() 请教这是什么意思
fatal error; call to a member function query() on a non-object异常求回答啊 php+sqlite
Error creating bean with name 'sessionFactory' defined in class path resource解决方法
大家帮帮忙呀The server encountered an internal error () that prevented it解决方法
Server Apache Tomcat v6.0.35 at localhost failed to start
apache+resin与iis+tomcat解决方法
【100分】怎么监控多台服务器的log,alert,error
function 施行 *action
SOS-(奇怪现象)服务器暂不可用500 internal server error,该怎么解决