PDA

View Full Version : Problem when clicking on user last post in user profile


milsirhc
04-02-2007, 11:31 AM
Hi all,

I really need help in this.. I'm having this problem whenever I click (randomly) on a user profile and selecting his/her last post.


Please help me.. please!

------------------
Error I got is:

Database error in vBulletin 3.6.5:

Invalid SQL:

SELECT post.userid, userfield.field7, user.usergroupid
FROM post AS post, userfield AS userfield, user AS user
WHERE threadid =
AND userfield.userid = post.userid
AND user.userid = post.userid
ORDER BY post.dateline DESC
LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND userfield.userid = post.userid
AND user.userid = post.userid
' at line 4
Error Number : 1064
Date : Monday, April 2nd 2007 @ 05:29:22 AM
Script : http://iamboredr.com/forum/pictures-hub/521-lego-model-hong-kong-post926.html
Referrer : http://iamboredr.com/forum/members/jescho.html
IP Address : xxx.xx.xx.xx
Username : administrator
Classname : vB_Database

Marco van Herwaarden
04-02-2007, 01:12 PM
To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style.