![]() |
Error when installing Zend to PHP server( NOT A BUG ) Hi all, My Photopost has been running for fine for months now. I've recently added Zend optimisation runtimes to my server to run some software that needs it. Whenever I enable Zend in the php.ini file, photopost gives the following error : PHP Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /www/xxxx/public_html/photos/pp-inc.php on line 125 This is with 5.2 and 5.21. I'm not a PHP expert, but this thread leads me to belive that it's the .= line that's causing the problem. I changed it to $Globals['TMPL_PATH'] = $Globals['TMPL_PATH'] . "/vb3enhanced"; but the system then gives me a different error - can't find t/languages/english.php in the require statement a few lines down. When I remove zend from the php.ini again, photopost works again. Can anyone help? David. |
Okay well it just seems zend has a bug IMO We declare $Globals as an array. There would be no issue of using .= to add to the array. I have read a few threads about this try this $Globals['TMPL_PATH'] = $Globals['TMPL_PATH'] . "/vb3enhanced"; |
| All times are GMT -5. The time now is 04:59 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0