PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Error when installing Zend to PHP server( NOT A BUG ) (http://www.photopost.com/forum/photopost-pro-bug-reports/121488-error-when-installing-zend-php-server-not-bug.html)

dp December 12th, 2005 01:25 AM

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.

Chuck S December 12th, 2005 06:04 AM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97