Logician - I've recreated the webqueries as you suggested (even though they all looked like they were there anyway) and I still have the problem.
When visiting the test page I get the following error:
When visiting the phptest [private] page I get:
Code:
Warning: Wrong datatype for second argument in call to in_array in c:\program files\apache group\apache\htdocs\forum\view.php on line 93
Warning: Wrong datatype for second argument in call to in_array in c:\program files\apache group\apache\htdocs\forum\view.php on line 93
Warning: Wrong datatype for second argument in call to in_array in c:\program files\apache group\apache\htdocs\forum\view.php on line 93
etc. etc.
and when visiting priv_privatemessages [Private] [Draft] I get:
Code:
SELECT dateline,privatemessageid, fromuserid, touserid, title, message, touser.username AS tousername, fromuser.username
AS fromusername FROM privatemessage LEFT JOIN user AS touser ON (touser.userid=privatemessage.touserid) LEFT JOIN
user AS fromuser ON (fromuser.userid=privatemessage.fromuserid) WHERE folderid='0'
ORDER BY privatemessageid DESC LIMIT 30 mysql error: You have an error in your SQL syntax near ' SELECT
dateline,privatemessagei' at line 1 mysql error number: 1064 Date: Tuesday 01st of July 2003 08:16:04 AM Script: http://<br />
<a href="http://test....temessages</a> Referer: http://test.com/forum/admin/webtemplate.php? -->
Your other version of the hack works fine btw. although I know these run independently.