1
MaineCarry
Strict Standards: errors, also can not login.
  • 2013/1/20 15:51

  • MaineCarry

  • Just popping in

  • Posts: 9

  • Since: 2013/1/11


I just added some news last night and everything was working.

sadly i didn't do a backup since 2 weeks ago =/ and would rather not revert.

any help is appreciated.

Strict StandardsNon-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/include/common.php on line 49

Strict Standards
Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards
Non-static method XoopsLoad::loadCoreConfig() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 91

Strict Standards
Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/class/preload.php on line 28

Strict Standards
Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards
Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/class/preload.php on line 29

Strict Standards
Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards
Non-static method XoopsPreload::getInstance() should not be called statically in /home/redhatte/public_html/include/common.php on line 50

Strict Standards
Non-static method XoopsCache::read() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/preload.php on line 85

Strict Standards
Non-static method XoopsCache::getInstance() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/cache/xoopscache.php on line 263

Strict Standards
Declaration of XoopsCacheFile::write() should be compatible with XoopsCacheEngine::write($key, &$value$durationin /home/redhatte/public_html/class/cache/file.php on line 308

Strict Standards
Non-static method XoopsLoad::load() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/cache/file.php on line 110

Strict Standards
Non-static method XoopsLoad::loadCore() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards
Non-static method XoopsFile::getHandler() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/cache/file.php on line 111

Strict Standards
Non-static method XoopsFile::load() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/file/xoopsfile.php on line 108

Strict Standards
Non-static method XoopsLoad::load() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/file/file.php on line 105

Strict Standards
Non-static method XoopsFile::getHandler() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/file/file.php on line 106

Strict Standards
Non-static method XoopsFile::load() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/file/xoopsfile.php on line 108

Strict Standards
Non-static method XoopsLists::getFileListAsArray() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/preload.php on line 89

Strict Standards
Non-static method XoopsLists::getFileListAsArray() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/preload.php on line 89

Strict Standards
Non-static method XoopsLists::getFileListAsArray() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/preload.php on line 89

Strict Standards
Non-static method XoopsLists::getFileListAsArray() should not be called staticallyassuming $this from incompatible context in /home/redhatte/public_html/class/preload.php on line 89

Strict Standards
call_user_func() expects parameter 1 to be a valid callbacknon-static method ProtectorCorePreload::eventCoreIncludeCommonStart() should not be called statically in /home/redhatte/public_html/class/preload.php on line 140

Strict Standards
Non-static method Protector::getInstance() should not be called statically in /home/redhatte/public_html/xoops_lib/modules/protector/include/precheck_functions.php on line 12

Strict Standards
Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/include/common.php on line 60

Strict Standards
Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards
Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/include/common.php on line 68

Strict Standards
Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards
Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/include/common.php on line 75

Strict Standards
Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards
Non-static method XoopsLogger::getInstance() should not be called statically in /home/redhatte/public_html/include/common.php on line 76

2
zyspec
Re: Strict Standards: errors, also can not login.
  • 2013/1/20 16:28

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I assume you're using PHP 5.3 and XOOPS 2.5.5?

These strict errors come from calling the XoopsLoad methods statically. These warnings won't effect operation although to meet strict standards you should be able to just add 'static' to each of the method declarations in the Xoopsload class (./class/xoopsload.php).

So
function load($name$type "core")

would become
static function load($name$type "core")



This has already been fixed in XOOPS 2.6

NOTE: Make a backup of the xoopsload.php file BEFORE you edit it. Just in case something goes wrong you can go back to where you were.

3
Mamba
Re: Strict Standards: errors, also can not login.
  • 2013/1/20 16:35

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


This sounds more like using XOOPS 2.5.5 on PHP 5.4

Those issues have been fixed in the upcoming XOOPS 2.5.6
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

4
Peekay
Re: Strict Standards: errors, also can not login.
  • 2013/1/21 9:24

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Quote:

Mamba wrote:
This sounds more like using XOOPS 2.5.5 on PHP 5.4

It may not be the issue in this case, but if you download XAMPP or similar, the default installation will install the latest version of PHP, which will normally be at least one version newer than the one most commercial hosts are actually using and probably newer than the one on which many PHP applications are being developed for.

To match your localhost PHP and MySQL versions to your online host, you can download older versions of XAMPP from here.

5
jeff114
Re: Strict Standards: errors, also can not login.
  • 2013/1/21 16:47

  • jeff114

  • Just popping in

  • Posts: 1

  • Since: 2013/1/21


Hello
I just installed xoops 2.5.5 on my dev server and I have the same problem about login:
I can login only if I check 'remember me'.
In admin preferences none modification are saved (ie: activate debug mode and when I come back to this parameter, it still disable).
No php error fire up...


Versions:
xoops 2.5.5
php 5.3.15
mysql 5.5.28
OS linux opensuse 12.2

Thank you for your help.
jeff

6
MaineCarry
Re: Strict Standards: errors, also can not login.
  • 2013/1/21 16:52

  • MaineCarry

  • Just popping in

  • Posts: 9

  • Since: 2013/1/11


so to add insult to injury.

when i woke up that morning, and found my website not operational, my host blacklisted my IP so i couldn't fix it.

now im going to try to update to 2.6 since im on 2.5.4.

It was working for two weeks till my host moved me to a diff server.

Quote:
by zyspec on 2013/1/20 10:28:39

I assume you're using PHP 5.3 and XOOPS 2.5.5?

These strict errors come from calling the XoopsLoad methods statically. These warnings won't effect operation although to meet strict standards you should be able to just add 'static' to each of the method declarations in the Xoopsload class (./class/xoopsload.php).

So
function load($name, $type = "core")

would become
static function load($name, $type = "core")


This didnt work. and my site doesnt work with these errors.

7
redheadedrod
Re: Strict Standards: errors, also can not login.

2.5.5 is the latest version. 2.6 is riddled with bugs at the moment since it is in Alpha and will be changing until it gets to Beta. For a production site you do not want newer than 2.5.5.

Rodney

8
zyspec
Re: Strict Standards: errors, also can not login.
  • 2013/1/21 18:01

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


MaineCarry,

Can you tell us what version of PHP / XOOPS / MYSQL you're actually using? There's too many variables here to effectively help you. At first we assumed you were using XOOPS 2.5.5, perhaps with PHP 5.3 or 5.4. Now it appears you're using 2.5.4 with an unknown version of PHP...

Do not use XOOPS 2.6 on a production site yet...

9
MaineCarry
Re: Strict Standards: errors, also can not login.
  • 2013/1/21 19:45

  • MaineCarry

  • Just popping in

  • Posts: 9

  • Since: 2013/1/11


I have 2.5.1a installed

will be trying 2.5.5

Php 5.4
unknown mysql

10
MaineCarry
Re: Strict Standards: errors, also can not login.
  • 2013/1/21 20:13

  • MaineCarry

  • Just popping in

  • Posts: 9

  • Since: 2013/1/11


2.5.5 gives me these errors =/

Damn host upgrading their servers.....

Quote:
Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/include/common.php on line 49

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards: Non-static method XoopsLoad::loadCoreConfig() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 91

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/class/preload.php on line 28

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/class/preload.php on line 29

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards: Non-static method XoopsPreload::getInstance() should not be called statically in /home/redhatte/public_html/include/common.php on line 50

Strict Standards: Non-static method XoopsCache::read() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/preload.php on line 85

Strict Standards: Non-static method XoopsCache::getInstance() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/cache/xoopscache.php on line 263

Strict Standards: Declaration of XoopsCacheFile::write() should be compatible with XoopsCacheEngine::write($key, &$value, $duration) in /home/redhatte/public_html/class/cache/file.php on line 308

Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/cache/file.php on line 110

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/cache/file.php on line 111

Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/file/xoopsfile.php on line 108

Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/file/file.php on line 105

Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/file/file.php on line 106

Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/file/xoopsfile.php on line 108

Strict Standards: Non-static method XoopsLists::getFileListAsArray() should not be called statically, assuming $this from incompatible context in /home/redhatte/public_html/class/preload.php on line 89

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/include/common.php on line 60

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/include/common.php on line 68

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/redhatte/public_html/include/common.php on line 75

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/redhatte/public_html/class/xoopsload.php on line 71

Strict Standards: Non-static method XoopsLogger::getInstance() should not be called statically in /home/redhatte/public_html/include/common.php on line 76

Login

Who's Online

176 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits