xoops forums

voltan

Theme Designer
Posted on: 2010/7/21 7:11
voltan
voltan (Show more)
Theme Designer
Posts: 724
Since: 2006/12/5
#1

Problem after update php

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 :

Strict StandardsNon-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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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 staticallyassuming $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

voltan

Theme Designer
Posted on: 2010/7/21 17:06
voltan
voltan (Show more)
Theme Designer
Posts: 724
Since: 2006/12/5
#2

Re: Problem after update php

any idea?

red_Slider

Quite a regular
Posted on: 2010/7/21 19:22
red_Slider
red_Slider (Show more)
Quite a regular
Posts: 248
Since: 2006/1/4 1
#3

Re: Problem after update php

Hi and hello Voltan
1. Edit the /etc/php5/apache2/php.ini file. There should work command in terminal:
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

geronimo_nd

Just popping in
Posted on: 2010/9/3 22:51
geronimo_nd
geronimo_nd (Show more)
Just popping in
Posts: 10
Since: 2006/2/6 2
#4

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.

bjuti

Just can't stay away
Posted on: 2010/9/14 20:17
bjuti
bjuti (Show more)
Just can't stay away
Posts: 871
Since: 2009/1/7 2
#5

Re: Problem after update php

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.

bjuti

Just can't stay away
Posted on: 2010/9/15 14:56
bjuti
bjuti (Show more)
Just can't stay away
Posts: 871
Since: 2009/1/7 2
#6

Re: Problem after update php

Anyone?

bjuti

Just can't stay away
Posted on: 2010/11/27 10:24
bjuti
bjuti (Show more)
Just can't stay away
Posts: 871
Since: 2009/1/7 2
#7

Re: Problem after update php

Solved.

You need to turn off gzip compression in Xoops Prefs.

Niono

Just popping in
Posted on: 2011/8/11 9:09
Niono
Niono (Show more)
Just popping in
Posts: 1
Since: 2011/8/11
#8

Re: Problem after update php

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?

rhoda

Just popping in
Posted on: 2012/4/11 12:00
rhoda
rhoda (Show more)
Just popping in
Posts: 14
Since: 2010/2/23
#9

Re: Problem after update php

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

Mamba

Moderator
Posted on: 2012/4/11 14:08
Mamba
Mamba (Show more)
Moderator
Posts: 10960
Since: 2004/4/23
#10

Re: Problem after update php

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.10 | Docs | Modules | Bugs