URGENT! Error after upgrading to MySQL 4.1.13 - Cannot send session cache...

Started by spiros, December 27, 2005, 08:38:40 PM

Previous topic - Next topic

spiros

http://www.translatum.gr/forum/index.php

Notice: Only variables should be assigned by reference in /home/translat/public_html/forum/Sources/Subs.php on line 232
2: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/translat/public_html/forum/Sources/Subs.php:232)
Notice: Only variables should be assigned by reference in /home/translat/public_html/forum/Sources/Subs.php on line 232

Here are the lines:

$ret = &mysql_query($db_string, $db_connection);
if ($ret === false)
$ret = db_error($db_string, $file, $line);

Elmacik

Home of Elmacik

spiros

Yep, that was it. Removed the ampersand and it worked!
Thanks a million for the quick reply, much appreciated.

Advertisement: