1
voltan
Problem after update php
  • 2010/7/21 7:11

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hello
I use lampp ( in linux ) for loacl host . when I update my lampp to new version whit php 5.3.x ( or fresh install ) I have some errors like this :

le="color: #000000"><?php Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/include/common.php on line 43 Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/class/xoopsload.php on line 90 Strict Standards: Non-static method XoopsLoad::loadCoreConfig() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/class/xoopsload.php on line 110 Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/class/preload.php on line 26 Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/class/xoopsload.php on line 90 Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/class/preload.php on line 27 Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/class/xoopsload.php on line 90 Strict Standards: Non-static method XoopsPreload::getInstance() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/include/common.php on line 44 Strict Standards: Non-static method XoopsCache::read() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/preload.php on line 83 Strict Standards: Non-static method XoopsCache::getInstance() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/cache/xoopscache.php on line 266 Strict Standards: Declaration of XoopsCacheFile::write() should be compatible with that of XoopsCacheEngine::write() in /home/voltan/Documents/public_html/test/2.5.x/class/cache/file.php on line 311 Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/cache/file.php on line 113 Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/xoopsload.php on line 90 Strict Standards: Redefining already defined constructor for class XoopsFile in /home/voltan/Documents/public_html/test/2.5.x/class/file/xoopsfile.php on line 46 Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/cache/file.php on line 114 Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/file/xoopsfile.php on line 113 Strict Standards: Redefining already defined constructor for class XoopsFileHandler in /home/voltan/Documents/public_html/test/2.5.x/class/file/file.php on line 131 Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/file/file.php on line 108 Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/file/file.php on line 109 Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/file/xoopsfile.php on line 113 Strict Standards: Redefining already defined constructor for class XoopsFolderHandler in /home/voltan/Documents/public_html/test/2.5.x/class/file/folder.php on line 139 Strict Standards: Non-static method XoopsLists::getFileListAsArray() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/preload.php on line 87 Strict Standards: Non-static method XoopsLists::getFileListAsArray() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/preload.php on line 87 Strict Standards: Non-static method XoopsLists::getFileListAsArray() should not be called statically, assuming $this from incompatible context in /home/voltan/Documents/public_html/test/2.5.x/class/preload.php on line 87 Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/include/common.php on line 51 Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/class/xoopsload.php on line 90 Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/include/common.php on line 59 Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/class/xoopsload.php on line 90 Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/include/common.php on line 66 Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/class/xoopsload.php on line 90 Strict Standards: Redefining already defined constructor for class XoopsLogger in /home/voltan/Documents/public_html/test/2.5.x/class/logger/xoopslogger.php on line 70 Strict Standards: Non-static method XoopsLogger::getInstance() should not be called statically in /home/voltan/Documents/public_html/test/2.5.x/include/common.php on line 67


in xoops 2.4. and 2.5 ! but I don't have any error in windows whit this php and xampp version

2
voltan
Re: Problem after update php
  • 2010/7/21 17:06

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


any idea?

3
red_Slider
Re: Problem after update php

Hi and hello Voltan
1. Edit the /etc/php5/apache2/php.ini file. There should work command in terminal:
le="color: #000000"><?php $ gksudo "gedit /etc/php5/apache2/php.ini"


or
in terminal: gksudo nautilus - find and edit php.ini file with admin privillages.

2. change line:
error_reporting = E_ALL | E_STRICT
into
error_reporting = E_ALL | ~E_STRICT

4
geronimo_nd
Re: Problem after update php

i had a same problem an the fix solved the problem about notices. But when i finished install i could not get to admin many the links on admin paghe do not work and they atre scatered beacose theme and images probably could not be loaded and the server is going on 404 could not find a link page after i clik on the link or try to open image.

5
bjuti
Re: Problem after update php
  • 2010/9/14 20:17

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


I have the same problem with EasyPhp 5.3.

Changing
error_reporting = E_ALL | E_STRICT
into
error_reporting = E_ALL | ~E_STRICT

causes a blank page, to be more exact:
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

With E_ALL | E_STRICT I have a lot of errors like this:
Strict Standards: Non-static method XoopsLoad::load() should not be called statically

and i could not go to admin page [says that doesn't exist].

Pls help. Tnx.

6
bjuti
Re: Problem after update php
  • 2010/9/15 14:56

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Anyone?

7
bjuti
Re: Problem after update php
  • 2010/11/27 10:24

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Solved.

You need to turn off gzip compression in Xoops Prefs.

8
Niono
Re: Problem after update php
  • 2011/8/11 9:09

  • Niono

  • Just popping in

  • Posts: 1

  • Since: 2011/8/11


hi,
I'm trying to install some new components on my Joomla site, but I keep getting 500 errors & other various ones as the files attempt to copy across into Joomla, which (from what I've read) could have to do with trying to use php5 components on a php4 server.
Is there a way for me update it?

9
rhoda
Re: Problem after update php
  • 2012/4/11 12:00

  • rhoda

  • Just popping in

  • Posts: 14

  • Since: 2010/2/23


Hello
my site is good.but my host update php form php5.2 to 5.3 and now
some module in my site have problems and my page in site is white
one of message displayed:
Fatal error: Class 'XoopsLogger' not found in /home/.../public_html/modules/oledrion/class/PEAR.php on line 569
/home/.../public_html/modules/liaise/...
/home/.../public_html//modules/newbb/...
and ...
Please Help me
my Site information is very important

10
Mamba
Re: Problem after update php
  • 2012/4/11 14:08

  • Mamba

  • Moderator

  • Posts: 11527

  • Since: 2004/4/23


What XOOPS version are you using? What modules versions?

Try to deactivate all modules (except System and Protector), and then add one by one, and see which one is causing issues.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits