Hi i am using Jforum but plenty of times it showing error message like this
An error has occurred.
For detailed error information, please see the HTML source code, and contact the forum Administrator.
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure
The last packet successfully received from the server was 2,854,064 milliseconds ago. The last packet sent successfully to the server was 26 milliseconds ago.
Query being executed when exception was thrown:
SELECT COUNT(pm.privmsgs_to_userid) AS private_messages, user .* FROM jforum_users user LEFT JOIN jforum_privmsgs pm ON pm.privmsgs_type = 1 AND pm.privmsgs_to_userid = user .user_id WHERE user .user_id = 1 GROUP BY pm.privmsgs_to_userid
Any Customize way to show error message.