Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Topic started by: spiros on December 27, 2005, 08:38:40 PM

Title: URGENT! Error after upgrading to MySQL 4.1.13 - Cannot send session cache...
Post by: spiros on December 27, 2005, 08:38:40 PM
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);
Title: Re: URGENT! Error after upgrading to MySQL 4.1.13 - Cannot send session cache...
Post by: Elmacik on December 27, 2005, 08:41:24 PM
Seems like a php 4 problem but not sure at all..
PHP 4.4.0 Compatibility (http://www.simplemachines.org/community/index.php?topic=41955.0)
Title: Re: URGENT! Error after upgrading to MySQL 4.1.13 - Cannot send session cache...
Post by: spiros on December 27, 2005, 08:46:00 PM
Yep, that was it. Removed the ampersand and it worked!
Thanks a million for the quick reply, much appreciated.