Page 1 of 1

[Solved] Website goes down on ''Fatal error: Non-static method''

Posted: Wed Jun 18, 2008 8:06 am
by realrock
Hi,

I have a problem with one of my sites since yesterday. It looks like website have a problem with some modules. The page seems to be offline. Its possible to enter the admin panel, but as soon as I go to the installed modules it can't find the server.

This is the link: http://www.itpro.nl/
I'm using: CMS Made Simple 1.2.3 "Black Rock"

The problem:
Fatal error: Non-static method r::/() cannot be called statically in /var/www/vhosts/itpro.nl/httpdocs/lib/classes/class.module.inc.php on line 363

And sometimes:
Fatal error: Non-static method ‹Uðe3::() cannot be called statically in /var/www/vhosts/itpro.nl/httpdocs/lib/adodb_lite/adodb.inc.php on line 61

This is line 363:

Code: Select all

 $this->param_map[trim($param)] = $type;
I have already tried to copy over the module files, but that din'd solved the problem.

Is there somone how knows where to start?

Thanks,
Peter

Re: Website goes down on ''Fatal error: Non-static method''

Posted: Wed Jun 18, 2008 10:13 am
by cyberman
realrock wrote: The problem:
Fatal error: Non-static method r::/() cannot be called statically in /var/www/vhosts/itpro.nl/httpdocs/lib/classes/class.module.inc.php on line 363
Your CMSms install was hacked - you should update to current CMSms version and realize some security things

http://wiki.cmsmadesimple.org/index.php ... mall_Guide

AND read this FIRST

http://forum.cmsmadesimple.org/index.ph ... 516.0.html

Re: Website goes down on ''Fatal error: Non-static method''

Posted: Wed Jun 18, 2008 6:07 pm
by Pierre M.
Hello Peter,
realrock wrote: I'm using: CMS Made Simple 1.2.3 "Black Rock"
This version (and also 1.2.4) is well known as insecure. Script kiddies are googling for it.
You should run latest official stable (today=1.3) on the wild internet and harden your server a minimum at least, as said by Cyberman.

Pierre M.

[Solved]Re: Website goes down on ''Fatal error: Non-static method''

Posted: Thu Jun 19, 2008 7:11 am
by realrock
Thanks guys, i'm using 1.3 now and it works perfectly...