Posts: 361
Threads: 66
Joined: Nov 2006
Reputation:
2
2007-05-21, 10:53 AM
(This post was last modified: 2007-05-21, 10:59 AM by GFN.)
Error when moving threads after upgrade to 1.2.7 (Moderation.php)
Hi, I am getting the following error on 3 forums when moving threads, any ideas
Quote:MySQL error: 1064
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 '(mybb_favorites s, mybb_users u) WHERE s.type='s' AND s.tid IN
Query: DELETE FROM (mybb_favorites s, mybb_users u) WHERE s.type='s' AND s.tid IN (168) AND s.uid=u.uid AND (u.usergroup IN (1,2,5,6) OR CONCAT(',',u.additionalgroups,',') LIKE ',1,' OR CONCAT(',',u.additionalgroups,',') LIKE ',2,' OR CONCAT(',',u.additionalgroups,',') LIKE ',5,' OR CONCAT(',',u.additionalgroups,',') LIKE ',6,')
Posts: 16,264
Threads: 579
Joined: Oct 2005
Reputation:
39
Only posted like 4 times... try a search
Posts: 4,712
Threads: 231
Joined: Nov 2005
Reputation:
5
Download a fresh copy of inc/class_moderation.php if you can't find the answer.
Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Posts: 361
Threads: 66
Joined: Nov 2006
Reputation:
2
Quote:Download a fresh copy of inc/class_moderation.php if you can't find the answer.
Hi destroyer, thanks for the suggestion, I just tried that but it didn't work. I am just reading the other threads about this and there are many options - what worked for you?
Posts: 4,712
Threads: 231
Joined: Nov 2005
Reputation:
5
2007-05-21, 04:00 PM
(This post was last modified: 2007-05-21, 04:00 PM by destroyer.)
Do you have mysql version 3 or so? Then CraKter's latest suggestion will work for you.
http://community.mybboard.net/showthread...#pid131239
Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Posts: 361
Threads: 66
Joined: Nov 2006
Reputation:
2
MySQL version 4
OK thanks you have been a great help, I will try CraKter's fix
Posts: 4,712
Threads: 231
Joined: Nov 2005
Reputation:
5
MySQL 4 should work with a fresh copy of inc/class_moderation.php ... let us now how it went!
Maybe this is another problem.
Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Posts: 361
Threads: 66
Joined: Nov 2006
Reputation:
2
Unfortunately it didn't work with the fresh version of inc/class_moderation.php => any other suggestions destroyer?
The strange thing is that some of my forums don't have this problem but some do
Posts: 4,712
Threads: 231
Joined: Nov 2005
Reputation:
5
Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Posts: 16,264
Threads: 579
Joined: Oct 2005
Reputation:
39
Don't try the fix.
Your not overwriting your inc/class_moderation.php properly - Delete it and reupload it. Make SURE you have it downloaded from the site and MAKE SURE you are putting it in the correct folder
|