1
maxima
Error when Main Menu block is turned off.
  • 2007/1/28 16:48

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


When I turn off mainmenu I get a blank page when return to home page. This is only happening since I upgraded to 2.0.16.

Does anyone else have this problem? If so is there a solution?

Software server Apache/1.3.37 (Unix)
PHP version 4.4.4
MySql version 4.0.27-log

2
jensclas
Re: Error when Main Menu block is turned off.

Hi maxima
No clues from the blank page FAQ?
What does Debug show?

3
maxima
Re: Error when Main Menu block is turned off.
  • 2007/1/29 6:26

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Debug:
Quote:
Fatal error: Undefined class name 'xoopsmodule' in /home/site/html/header.php on line 119


Apparently it has to do with the modification in header.php required by rw_banner module to recognize custom smarty tags. Everything including rw_banner works fine as long as I don't disable the mainmenu.

These lines added just before the closing php tag.
$mod XoopsModule::getByDirname("rw_banner");
if (
$mod){
  include_once (
XOOPS_ROOT_PATH.'/modules/rw_banner/include/maketags.php');
}


If anyone else uses rw_banner with 2.0.16, try turning off the mainmenu and see if the blank home page error occurs. Likewise if someone found a solution please tell.

4
maxima
Re: Error when Main Menu block is turned off.
  • 2007/2/3 14:35

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


So does anyone have a fix for this?

5
maxima
Re: Error when Main Menu block is turned off.
  • 2007/2/6 2:08

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Is this one of the questions which is an 'annoyance' to the core members so it is being 'ignored'??

6
jensclas
Re: Error when Main Menu block is turned off.

hmmm...I don;t know but since it is code related it is over my head

In the mean time - leabe the main menu turned on - and perhaps head over to sourceforge and bring it to skalpas attention through the bug tracker or the forums.

7
Dave_L
Re: Error when Main Menu block is turned off.
  • 2007/2/6 12:40

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Which XOOPS version did you upgrade from?

8
maxima
Re: Error when Main Menu block is turned off.
  • 2007/2/6 15:25

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Thanks for the responses.

I upgraded from 2.0.15 however, I had never disabled the main menu before so I don't know if the error would have occured then.

9
maxima
Re: Error when Main Menu block is turned off.
  • 2007/2/8 2:38

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


After much trial and errors it seems to be working fine now that I changed the X to lowercase ie;

The mod code from rw_banner readme shows
Quote:
$mod = XoopsModule::getByDirname("rw_banner");
if ($mod){
include_once (XOOPS_ROOT_PATH.'/modules/rw_banner/include/maketags.php');
}

and I noticed that other xoopsModule in the file (header.php) used lowercase x so I changed it and so far all is well.

10
maxima
Re: Error when Main Menu block is turned off.
  • 2007/2/10 3:45

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Update. The blank pages now occur when accessing
user.php
register.php
edituser.php

No solution in sight. Still trying.

Login

Who's Online

147 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 147


more...

Donat-O-Meter

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

Latest GitHub Commits