Re: Aggiornamento da php 5.3.27 a 5.4.20 con errori?
Andrea Brancatelli <[email protected]>
| Newsgroups | gmane.os.freebsd.italian.esperti |
|---|---|
| Message-ID | <CAGqQmRPo96tYFC5SaauRiyxJF6+3fSXHwJnbrpU09MUow9Qeug@mail.gmail.com> |
Nel 5.4 è cambiato l'error reporting di default, nello specifico riporta gli strict coding standard come errori mentre la 5.3 non lo faceva. Aggiorna il php.ini aggiungendo ~ E_STRICT All'error_reporting. Andrea ;) On Oct 6, 2013 2:09 PM, "RedFoxy" <[email protected]> wrote: > Ciao a tutti, > ho appena compilato php 5.4.20, dopo aver tolto il vecchio php 5.3.27, con > tutte le estensioni che avevo prima, ma da quando sono passato a php5.4.20 > ho degli errori che credo siano inerenti a pear, tipo: > > vbulletin: > Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php > on line 2777 > Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php > on line 2791 > > openx: > Strict Standards: Non-static method Net_IPv4::ipInNetwork() should not be > called statically in /usr/www/openx/delivery/afr.php on line 622 > Strict Standards: Non-static method PEAR::setErrorHandling() should not be > called statically in /usr/www/openx/lib/Max.php on line 222 > > Ho provato a rimuovere e reinstallare il pacchetto pear 1.9.4_2 ma quando > lo faccio ricevo una sfilza di errori simili: (questi sono solo una parte) > > Strict Standards: Non-static method Console_Getopt::_parseShortOption() > should not be called statically in /tmp/pear/Console/Getopt.php on line 166 > PHP Strict Standards: Non-static method PEAR::isError() should not be > called statically in /tmp/pear/Console/Getopt.php on line 167 > > Strict Standards: Non-static method PEAR::isError() should not be called > statically in /tmp/pear/Console/Getopt.php on line 167 > PHP Strict Standards: Non-static method PEAR::isError() should not be > called statically in /tmp/pear/System.php on line 202 > > Strict Standards: Non-static method PEAR::isError() should not be called > statically in /tmp/pear/System.php on line 202 > PHP Strict Standards: Non-static method System::_multipleToStruct() > should not be called statically in /tmp/pear/System.php on line 212 > > Strict Standards: Non-static method System::_multipleToStruct() should not > be called statically in /tmp/pear/System.php on line 212 > > Qualche idea? > > _______________________________________________ > Esperti mailing list > [email protected] > http://mailman.gufi.org/mailman/listinfo/esperti > > _______________________________________________ Esperti mailing list [email protected] http://mailman.gufi.org/mailman/listinfo/esperti