We had to update our live server to PHP 5.2.9 to match our test server.
[root@myhost plugins]# php -v
PHP 5.2.9 (cli) (built: Mar 17 2009 12:04:37)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
After the upgrade, I noticed I can’t browse to Admin > Utilities > Plugin Manager; I simply get a blank screen.
I don’t get any errors directly to my httpd log (apache), but I did notice running `php -e` directly on the plugin throws an error:
[root@myhost plugins]# ls -l
total 92
-rw-r--r-- 1 equimed psacln 21693 May 13 07:48 pi.entries_number.php
-rw-r--r-- 1 equimed psacln 20934 May 13 07:48 pi.linklocker_stats.php
-rw-r--r-- 1 equimed psacln 3159 May 13 07:48 pi.reeposition.php
-rw-r--r-- 1 equimed psacln 1821 Jul 13 17:26 pi.relative_date.php
-rw-r--r-- 1 equimed psacln 36557 May 13 07:48 pi.textile.php
[root@ myhost plugins]# php -e pi.reeposition.php
[root@ myhost plugins]# php -e pi.textile.php
[root@ myhost plugins]# php -e pi.relative_date.php
PHP Parse error: syntax error, unexpected '}' in /var/www/vhosts/myhost.com/httpdocs/admin/plugins/pi.relative_date.php on line 81
Can someone else with 5.2.9 confirm if php displays any errors on pi.relative_date.php?
For reference, my staging server has no problem with it:
-bash-3.2$ php -e pi.relative_date.php
-bash-3.2$ php -v
PHP 5.2.6 (cli) (built: May 2 2008 16:06:40)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with the ionCube PHP Loader v3.1.29, Copyright (c) 2002-2007, by ionCube Ltd
