2015-05-12 22:35 skrev Blaise Alleyne:
On 12/05/15 04:10 PM, Ged Quayle wrote:
On Tuesday, 12 May 2015, 21:08, Ged Quayle <[email protected]> wrote:
I'm trying to run gnu social on an NGinx / fpm stack and it's bombing.
Error log
tells me
2015/05/12 15:57:02 [error] 21885#0: *291936 FastCGI sent in stderr:
"PHP Strict
Standards: Non-static method PEAR::getStaticProperty() should not be
called
statically, assuming $this from incompatible context in
/srv/www/html/circleofpagans/extlib/DB/DataObject.php on line 4673
PHP Strict Standards: Non-static method PEAR::getStaticProperty()
should not be
called statically, assuming $this from incompatible context in
/srv/www/html/circleofpagans/extlib/DB/DataObject.php on line 2450
PHP Strict Standards: Non-static method DB::connect() should not be
called
statically, assuming $this from incompatible context in
/srv/www/html/circleofpagans/extlib/DB/DataObject.php on line 2455
PHP Strict Standards: Non-static method DB::parseDSN() should not be
called
statically, assuming $this from incompatible context in
/srv/www/html/circleofpagans/extlib/DB.php on line 520
and so on. I don't want to loosen reporting. Is there a fix for
this?
Just looking at that first message... it seems like it was a bug that
was fixed
in 2012.
https://pear.php.net/bugs/bug.php?id=19420&edit=3
Just a guess: Maybe the version of PEAR DB packaged with GNU Social is
out of date?
That bug is not for the PEAR::DB package. The problem with strict
standards is a part of the DB.php code, which is an external library.
The easiest way to avoid these issues is to stop strict standards
warnings from appearing in your log. Add "& ~E_STRICT" to your
error_reporting value in the relevant php.ini for your machine.
My error_reporting is:
error_reporting = E_ALL & ~E_STRICT
--
Mikael Nordfeldth
http://blog.mmn-o.se/
XMPP/mail: [email protected]