I have downloaded and run jforum (through manual configuration) at my local machine but cannot seem to make it run at the production site that is hosted on a hosting provider. The provider has a Linux server with Tomcat 5.23, Java 1.6 and MySQL 4.11.
I get the following while trying the opening page. What would you advise?
I noticed via google that there are a couple of old bugs in the MySQL drivers that can cause this sort of exception. You might try using different versions of the JDBC driver, probably older versions to match your DB version.
It could also be that there are issues with the SQL statements used to get the data and the old 4.11 MySQL server. MySQL syntax parsing across different versions is not the most constant thing. [originally posted on jforum.net by monroe]
Well, 90+% of normal SQL stuff works fine. E.g. the Select, Insert, Delete. It's the "odd" stuff you have to look out for. Like the LIMIT statements, Subqueries, some functions, and key constraints (with 5.0).
jForum uses prepared statements that are stored in a plain text file (under the config/database/<db type> directory). There are two of three different query sets for MySQL that work for different MySQL versions. Plus some configuration properties like the db uses subselects one, and the like.
If one of the pre-packaged query sets don't work, it's easy for someone who knows SQL but not code to tweak them to match their version. Fortunately, this hasn't happened a lot recently. [originally posted on jforum.net by monroe]
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop