1
trip11
can't turn on debugger
  • 2008/11/3 13:04

  • trip11

  • Just popping in

  • Posts: 4

  • Since: 2008/11/3


Hi, I've recently messed up something on my website and now every page has turned into the dreaded blank page. This of course includes the admin pages. Following the instructions on the forums I've tried to turn on debugging, but I've had no success at this.

I'm using XOOPS version 2.0.15 (yes I know it's old, but till now, it worked fine)
In the database I have debug_mode set to 1 (I've also tried 2 and 3 here)
In include/common.php I've set the following:
// #################### Error reporting settings ##################
    
if ( $xoopsConfig['debug_mode'] == || $xoopsConfig['debug_mode'] == ) {
        
error_reporting(E_ALL);
        
$xoopsLogger->enableRendering();
        
$xoopsLogger->usePopup = ( $xoopsConfig['debug_mode'] == );
    } else {
            
error_reporting(E_ALL);
        
$xoopsLogger->enableRendering();
        
$xoopsLogger->usePopup = ( $xoopsConfig['debug_mode'] == );
    }

So best I can tell, error reporting should always be on.

I've also added an .htaccess file that has: php_flag display_errors on
in it. But after all of this, I'm still stumped. Does anyone have any other suggestions on how to get debug messages to display?

As an aside if it helps. I had changed the default theme in the admin panel from the normal theme back to the default one when the site went belly up. And I have tried setting the theme back to the normal one in the database as well.

Thanks in advance!

2
trip11
Re: can't turn on debugger
  • 2008/11/3 17:26

  • trip11

  • Just popping in

  • Posts: 4

  • Since: 2008/11/3


I've found a bit more information. In the threads:
thread1 and thread2 people seem to be having the same issue as I am. The debugger won't display any error messages and when you put in print statements you get to the following:
$xoTheme =& $xoopsThemeFactory->createInstance( array(
        
'contentTemplate' => @$xoopsOption['template_main'],
    ) );

where the execution of the php files stops (print statments before this show up, those after this do not.

After reading the other threads I've doubled checked that the debug messages really do not show up (by viewing the source on the webpage) and I've also done a md5 hash check on the files and there were no errors reported.

Since the blank page showed up when I tried to switch the theme to the default theme and back, it seems like there must be a problem there somewhere. Again, any help would be much appreciated.

Cheers

3
stefan88
Re: can't turn on debugger
  • 2008/11/3 20:50

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

did you try to clean the caches - cache and template_c folders?

eventualy set the template set to default ...
..

4
trip11
Re: can't turn on debugger
  • 2008/11/4 9:54

  • trip11

  • Just popping in

  • Posts: 4

  • Since: 2008/11/3


Hi, yes I have emptied the cache and template_c folders and I've also tried all combinations of default and non default themes and template sets to no avail.

5
stefan88
Re: can't turn on debugger
  • 2008/11/6 21:06

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Well, not many ideas, but you may try to check the server error logs (if you have access to them).

You may try to disable modules and blocks and see if the core is ok.

Do you have cloned template set. You may try to use the default one.
..

6
trip11
Re: can't turn on debugger
  • 2008/11/17 14:04

  • trip11

  • Just popping in

  • Posts: 4

  • Since: 2008/11/3


Thanks for the help. Hosting company was no help in getting me the server logs. I did try turning off all the modules and blocks and going back to the basic template set by changing the database with phpadmin, but no luck.

I finally gave up and nuked the database and installed a fresh copy from scratch. *sigh* At least it's an up to date version of XOOPS now.

Login

Who's Online

416 user(s) are online (296 user(s) are browsing Support Forums)


Members: 0


Guests: 416


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