Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: LANMonkey on September 04, 2016, 11:54:54 PM
-
It must be HORDE that is doing this. In my messages log, I see hundreds of entries from PHP like this:
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method Horde::getDriverConfig() should not be called statically, assuming $this from incompatible context in /home/httpd/html/horde/lib/Horde/Perms/datatree.php on line 52
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method DataTree::factory() should not be called statically, assuming $this from incompatible context in /home/httpd/html/horde/lib/Horde/DataTree.php on line 1395
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method Horde::assertDriverConfig() should not be called statically, assuming $this from incompatible context in /home/httpd/html/horde/lib/Horde/DataTree/sql.php on line 1866
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in /home/httpd/html/horde/lib/Horde/DataTree/sql.php on line 1882
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB.php on line 520
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB.php on line 551
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB.php on line 551
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB.php on line 557
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method Horde_Cache::singleton() should not be called statically, assuming $this from incompatible context in /home/httpd/html/horde/lib/Horde/Perms/datatree.php on line 55
Sep 4 14:30:44 finch httpd: PHP Strict Standards: Non-static method Horde::getDriverConfig() should not be called statically, assuming $this from incompatible context in /home/httpd/html/horde/lib/Horde/Perms/datatree.php on line 56
What could possibly be going on? How do I fix it? Does it need fixing?
-
What version of PHP do you have installed (what's the output of 'rpm -q php')? In your other thread, the bug you linked was against SME 10, which isn't close to being production-ready, and resulted from a change in PHP versions in the upstream OS. IOW, you shouldn't have been seeing that error unless you've been mucking about with PHP.
-
I see, php-5.4.45-53.el6.art.i686. It's been a while, but I recall I have a later version of MySQL installed to meet the needs of my website. I haven't actually directly changed anything in PHP.
Incidentally, would you happen to know what version of MySQL is used in version 10 SME?
-
I see, php-5.4.45-53.el6.art.i686.
That is not a supported version of PHP, you must have done something to upgrade PHP in the past. Same goes for the 'later version of MySQL' that you mention.
Advise is to upgrade to Koozali SME version 9.1 64-bit and use Software Collections.
-
That is not a supported version of PHP, you must have done something to upgrade PHP in the past. Same goes for the 'later version of MySQL' that you mention.
Advise is to upgrade to Koozali SME version 9.1 64-bit and use Software Collections.
I am already using Koozali SME version 9.1 according to my admin pages. I don't recall exactly if it is 64 bit.
-
..either way, you have changed the stock PHP version and presumably the stock MySQL version.
-
You may want to tell us what exactly you have done to PHP and MySQL.
-
Here's the problem: the PHP developers apparently don't place a very high priority on backward compatibility. So, when a new point release comes out, features/functions go away or behave differently. If you have an installed base of software that depends on those features/functions working in a certain way, that software breaks.
By upgrading PHP to 5.4.45, you've introduced a bunch of incompatibilities. You should be able to use 'yum downgrade' to revert to the "official" version of the PHP packages, followed by using software collections as suggested by RequestedDeletion if you have software that needs a more recent version.
The other alternative would be to track down John Bennett's Horde 5.2 RPMs and install them. They work with the stock 5.3 PHP version, but may also work with something more recent.
-
Thanks DanB35. That will be on my to-do list. I'm not as interested in upgrading Horde, sounds more experimental and not really my focus.
-
LANMonkey
The standard versions on sme9.1 (32bit) are:
php-5.3.3-48.el6_8.i686
mysql-5.1.73-7.el6.i686
-
Thanks DanB35. That will be on my to-do list. I'm not as interested in upgrading Horde, sounds more experimental and not really my focus.
well, I'd say that upgrading php in an unsupported way you went already in experimentations field..
please, tell us exactly what you did, thank you