Hi. I'm trying to install DeltaScripts' PHPClassifieds script.
I had to create a new subdomain for it since my main domain is on PHP4 and I couldn't turn register_globals off. The subdomain where I'm trying to install this script is running on PHP5. (Read on another thread that register_globals can be turned off on PHP5 or something.) With PHP4, the installer would run and tell me that register_globals needed to be off and that would be the end of it. With PHP5, I'm getting the following error:
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/.abdon/user/sub.domain.com/functions.php on line 2345
Line 2345 of functions.php says:
$fp = fsockopen($host, $port, &$errno, &$errstr, 4 );
Any ideas on how I can fix this?
I've tried taking out the & in the code but that didn't help. The warning thing didn't show up but the page didn't load fully. Or rather, it did, but only the top portion shows up.