New error today - hope this is the right spot..

Started by WKM, July 12, 2005, 03:50:24 PM

Previous topic - Next topic

WKM

Couldn't remember my password so I re-reg'd  ::)

Anyway, there are 4 lines of this same statement on top of every page right now?? I didn't do anything to any of the files so I got no idea what to do to fix it..

Notice: Only variables should be assigned by reference in /www/r/rcrcadmin/htdocs/forum/Sources/Subs.php on line 232


Chris Cromer

Chris Cromer

"I was here, here I was, was I here, sure I was" - The little voice in my head.

BrandonMiller

I was just coming back to post my solution - is the bug the 4.0 or the SMF?

Here was my solution

Open your subs.php file that can is in the Sources folder, scroll down to this line (line 232):
$ret = &mysql_query($db_string, $db_connection);

Remove the & in front of the mysql_query so that you have:
$ret = mysql_query($db_string, $db_connection);

Save the file and upload it over the original.

BrandonMiller

Just read the post, same solution  8)

Actually thanks to (jj) for that solution  8)

Advertisement: