I've seen this error come up on several popular scripts like:
Vbulletin
PHPBB
Wordpress
Drupal
SolidState
the only real solution for this is to downgrade your php.
if you want to know what version you have type this command:
Code:php -v
I have two servers, one one server, i get this error, but on the other server i don't.
here is the server where i do get the error: (PHP Version 5.0.5)
Code:[root@host1 web]# php -v
PHP 5.0.5 (cli) (built: Apr 26 2006 09:47:41)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies
Here is my php version on ther server i DON'T get the error (PHP Version 5.1.4 with Zend Optimizer)
Code:[root@host2 ~]# php -v
PHP 5.1.4 (cli) (built: May 8 2006 08:41:41)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies
So to fix your problem, install PHP Version 5.1.4 by either upgrading or downgrading. Hope this helps...
Also, i found this at
http://bugs.php.net/bug.php?id=33643
Bug #33643 Fatal error: Only variables can be passed by reference
Submitted: 11 Jul 2005 1:06pm UTC Modified: 16 Aug 2005 9:04pm UTC
From: Jason at hybd dot net
Status: Wont fix Category: Scripting Engine problem
Version: 4CVS-2005-07-18 OS: *