Error :
Cannot access empty property in Test.php on line 90
Reason :
You put a dollar sign in the wrong place on a member variable.
$this->$test = 8; // $test is wrong
Possible solution :
Put your dollar sign in correct place.
$this->test = 8; // test is right
>...
Tuesday, 14 May 2013
Saturday, 11 May 2013
Error Messages in Rails - {{attribute}} {{message}}
Posted by
rajesh kakawat
,
at
01:01
Error : Error Messages in Rails - {{attribute}} {{message}}
Reason :
You'll get this error when running Rails 2.3.8 and older.
Possible solution :
Check for correct version of i18n.
First check installed i18n version and then open your Gemfile to see correct version of i18n.
Uninstall incompatible i18n version and install correct version of i18n found in Gemfile...
Wednesday, 16 January 2013
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session
Posted by
rajesh kakawat
,
at
01:33
Exception:
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Access denied for user ''@'localhost' to database 'school'
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3421)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1247)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2775)
at com.mysql.jdbc.Connection.(Connection.java:1555)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
...
Tuesday, 15 January 2013
javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
Posted by
rajesh kakawat
,
at
04:49
Exception:
javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
at org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1189)
at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1038)
at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1013)
at org.apache.struts.taglib.bean.WriteTag.retrieveFormatString(WriteTag.java:254)
at org.apache.struts.taglib.bean.WriteTag.formatValue(WriteTag.java:317)
at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:232)...
Reason :
you...
Monday, 14 January 2013
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Access denied for user ''@'localhost' to database 'school'
Posted by
rajesh kakawat
,
at
00:13
Exception:
java.lang.ClassNotFoundException: javax.transaction.Synchronization
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.hibernate.impl.SessionImpl.(SessionImpl.java:248)
at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:627)
at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:651)
at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:659)...
Reason :
you...
Subscribe to:
Posts (Atom)