CodeIgniter Forums
[SOLVED] form_error() Fatal error: Only variables can be passed by reference - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: [SOLVED] form_error() Fatal error: Only variables can be passed by reference (/showthread.php?tid=24232)



[SOLVED] form_error() Fatal error: Only variables can be passed by reference - El Forum - 11-03-2009

[eluser]shane_[/eluser]
I pushed an app out to another server running

PHP 5.2.11 with Suhosin-Patch 0.9.7

and form_error() is causing

Quote:Fatal error: Only variables can be passed by reference in [the view file]

It works fine on the dev server running

PHP 5.2.10-pl0-gentoo


Same result with 1.7.1 and 1.7.2


[SOLVED] form_error() Fatal error: Only variables can be passed by reference - El Forum - 11-04-2009

[eluser]shane_[/eluser]
It was an issue with newer version of PHP and bootstrapping Drupal from within Codeigniter.