1
ArriFinu
Problem with system_bloks.php
  • 2008/8/15 0:53

  • ArriFinu

  • Just popping in

  • Posts: 3

  • Since: 2007/8/29


Hello everybody,
My website is closed two days ago, and when I open it I get a white page. Consulting the hoster, they told me that enabling the debug mode the following error shows :

Fatal errorCall to a member function on a non-object in /home/accountname/public_html/modules/system/blocks/system_blocks.php on line 337


And the line 337 contains this

[root@gator355 /home/accountname/public_html/modules/system/blocks]# sed -n "337 P" system_blocks.php
$com['module'] = '.XOOPS_URL.'/modules/'.$modules[$mid]->getVar('dirname').'/">'.$modules[$mid]->getVar('name').'';


I wish you can help, else, the last solution I've got if to restore the July 31st backup, which means to lose 2 weeks work, particularely that I've got a media website, and many news will be lost after the backup.
Thanks is advance for your help.

2
noo-b
Re: Problem with system_bloks.php
  • 2008/8/15 2:50

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


can you login to admin ?

try to disable some blocks for system like who's online user menu, main menu etc

have you made modification to the file ?
I Love Xoops

3
pcnador
Re: Problem with system_bloks.php
  • 2008/8/15 13:45

  • pcnador

  • Just popping in

  • Posts: 50

  • Since: 2007/9/4 0


No We can't login to the site!! and we didn't made any change!!!

4
stefan88
Re: Problem with system_bloks.php
  • 2008/8/15 15:49

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

try commenting the function "b_system_comments_show":

function b_system_comments_show($options)
{
/*



*/
}


And see if you can login. Disable the comments block.

What is XOOPS version, PHP version?
..

5
ArriFinu
Re: Problem with system_bloks.php
  • 2008/8/21 18:43

  • ArriFinu

  • Just popping in

  • Posts: 3

  • Since: 2007/8/29


Thanks Stephan and Noo-b for trying to help us.
In fact after that error, our website was hacked and taken, thanks to the hoster we got it back with restoring data.

I found this link, which may be useful for people who have the same error, to prevent any damage or attack to their websties :
http://osvdb.org/show/osvdb/39877/printer

It explains the error and gives the solution.

Thanks to XOOPS team for all your efforts.

6
ghia
Re: Problem with system_bloks.php
  • 2008/8/22 11:48

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I don't believe this was the cause for hacking and the take-over of your site.
If I understand correctly, this bug (corrected in 2.0.18) only allows people to see comments to which they don't have rights for.

Login

Who's Online

467 user(s) are online (326 user(s) are browsing Support Forums)


Members: 0


Guests: 467


more...

Donat-O-Meter

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

Latest GitHub Commits