My forums were not displaying and I got an error:
[Thu Feb 10 08:39:56 2005] [error] PHP 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 prep_for_breaks(). 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 /private/var/www/portal/forums/includes/functions_geekarticles.php on line 25
Which I fixed by changing line 25 of this file from:
$text=str_replace($GAS_page_break_code,"",prep_for _breaks(&$text));
to
$text=str_replace($GAS_page_break_code,"",prep_for _breaks($text));
I'm running php 4.3.2, should be close to the latest.
At least my forums now display again
Thanks for the very useful hack!