I see a couple of Exception in catalina.log, which repeat frequently
JForum-2.1.6,
Tomcat 4.1.31, MySql 3.23.58
1. Unknown column 'user_authhash'
java.sql.SQLException: Unknown column 'user_authhash' in 'field list'
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2994)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:936)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1166)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1082)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1067)
at net.jforum.dao.generic.GenericUserDAO.saveUserAuthHash(GenericUserDAO.java:773)
at net.jforum.view.forum.UserAction.validateLogin(UserAction.java:385)
... 43 more
2. File Upload
net.jforum.exceptions.MultipartHandlingException: Error while processing multipart content: net.jforum.util.legacy.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. /<tomcat>/webapps/forum/tmp/upload_00000278.tmp (No such file or directory)
at net.jforum.ActionServletRequest.handleMultipart(ActionServletRequest.java:356)
at net.jforum.ActionServletRequest.<init>(ActionServletRequest.java:283)
at net.jforum.JForum.service(JForum.java:135)
3. templateName is undefined
freemarker.core.InvalidReferenceException: Expression templateName is undefined on line 5, column 14 in exception.html.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.renderElementToString(Environment.java:1461)
at freemarker.core.StringLiteral.getStringValue(StringLiteral.java:95)
at freemarker.core.Include.accept(Include.java:110)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.process(Environment.java:176)
at freemarker.template.Template.process(Template.java:231)
at net.jforum.exceptions.ExceptionWriter.handleExceptionData(ExceptionWriter.java:108)
at net.jforum.JForum.service(JForum.java:218)
4. InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
)
at java.lang.reflect.Method.invoke(Method.java:585)
at net.jforum.Command.process(Command.java:116)
at net.jforum.JForum.service(JForum.java:183)
What can be wrong with my forum?
If it a bug, can you fix?
Thanks!
[originally posted on jforum.net by Evgeny]