Similarly, when I upgrade from 4.5.0g to 4.5.1a, I've got the following similar error:
Code:
Fatal error: Only variables can be passed by reference in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SugarSuite\include\Localization\Localization.php on line 540
To circumvent this problem, I'm changing the code in the culprit line from:
Code:
array_key_exists($this->localeNameFormat{$i}, $names) to
Code:
array_key_exists($foo=$this->localeNameFormat{$i}, $names) as I have usually done for errors like this which occurs when codes were written for PHP4 but installed in PHP5.
If anyone know of any other solution, maybe a more permanent ones, please do share it in this thread.
Ken
simplestrats.com
Bookmarks