1
Housey
blank admin
  • 2011/7/30 9:14

  • Housey

  • Just popping in

  • Posts: 21

  • Since: 2003/1/2 1


Hi,

I get a blank page when trying to login to admin so I enabled debug mode and I get the following error: Fatal error: Call to a member function prefix() on a non-object in /home2/name/public_html/kernel/module.php on line 591

Line 591 is:

$sql = "SELECT * FROM " . $this->db->prefix('modules') . " WHERE dirname = '" . trim($dirname) . "'";

This isn't after an upgrade, I can't remember exactly what I did but I think I just changed a block or may have enabled a module.

Any ideas?


2
novlang1984
Re: blank admin

You should make a backup of your database and unactive most recently installed modules, one by one...

3
Mamba
Re: blank admin
  • 2011/7/30 9:47

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


You can do it in phpMyAdmin by setting the "isactive" to 0 in the modules table.

Once you find the guilty one, you can then set the others back to 1
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

4
Housey
Re: blank admin
  • 2011/7/31 7:31

  • Housey

  • Just popping in

  • Posts: 21

  • Since: 2003/1/2 1


Thanks to you both... it was the 'content' module. :)

Login

Who's Online

183 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 183


more...

Donat-O-Meter

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

Latest GitHub Commits