When I went through the files I kept on every mod I have installed, only one mod had tampered with this file: Extra Permission.
The problem was here:
- Code: Select all
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT forum_id, forum_name
FROM " . FORUMS_TABLE . "
#
#-----[ IN-LINE FIND ]------------------------------------------
#
FROM " . FORUMS_TABLE . "
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
WHERE forum_id > 0
The way the instructions are there is no space after FROM " . FORUMS_TABLE . " even if you are copy/pasting, and there is no space before WHERE.
When the two are placed together without a space, you will get odd errors, intermittently.
Updated code would read:
- Code: Select all
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT forum_id, forum_name
FROM " . FORUMS_TABLE . "
#
#-----[ IN-LINE FIND ]------------------------------------------
#
FROM " . FORUMS_TABLE . "
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
WHERE forum_id > 0
A very small difference, but one that cleared up the problems that have been occurring.
Thanks much!
Indra


