1
dfzor
Call to a member function on a non-object
  • 2004/5/7 0:06

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


I apologize for my recent flood of questions, but I certainly do appreciate your quick responses.

After having successfully edited the phpkaox theme to produce the look I wanted (so far) I've run into a problem.

Quote:
Fatal error: Call to a member function on a non-object in /home/bluesum/public_html/xoops/header.php on line 112


Now it's obvious the root of my problems stems from the fact that I'm treading new waters here, but still, help is much appreciated.

You can see an example of what I'm talking about here:
http://www.bluesummers.com/xoops/modules/news

[edit] It seems that the news module sometimes works without the www. prefix on the URL, of course even then it doesn't display correctly as it chokes on this line:
<{include file='db:system_notification_select.html'}>

I've also turned off GZIP compression if that makes any difference.

Also, as it may be of importance, I removed all left, right and center-left/center-right blocks (the only one remaining is the content block) in the theme edits.

2
WarDick
Re: Call to a member function on a non-object
  • 2004/5/7 0:15

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


I would start with mainfile.php to make sure the physical and virtual paths are correct.

I noticed thathttp://bluesummers.com/xoops/modules/news works.

http://www.bluesummers.com/xoops/modules/news does not work.


3
dfzor
Re: Call to a member function on a non-object
  • 2004/5/7 0:27

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


Good call, thanks.

Any idea why it chokes on that line in the news?

It only seems to do that in IE, for me at least, which is interesting.

4
Catzwolf
Re: Call to a member function on a non-object
  • 2004/5/7 0:35

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Quote:

dfzor wrote:
I apologize for my recent flood of questions, but I certainly do appreciate your quick responses.

After having successfully edited the phpkaox theme to produce the look I wanted (so far) I've run into a problem.

Quote:
Fatal error: Call to a member function on a non-object in /home/bluesum/public_html/xoops/header.php on line 112


Now it's obvious the root of my problems stems from the fact that I'm treading new waters here, but still, help is much appreciated.

You can see an example of what I'm talking about here:
http://www.bluesummers.com/xoops/modules/news

[edit] It seems that the news module sometimes works without the www. prefix on the URL, of course even then it doesn't display correctly as it chokes on this line:
<{include file='db:system_notification_select.html'}>

I've also turned off GZIP compression if that makes any difference.

Also, as it may be of importance, I removed all left, right and center-left/center-right blocks (the only one remaining is the content block) in the theme edits.


The line in question actually points to to things, Templates or Modules. I would suggest changing to another theme and see if you still get the error as this could point to a problem with the templates/theme.

If you are only getting this error with the news modules (with the address you mentioned) as it would seem that XOOPS as problems getting the actual module 'id' and that will cause this error.

Sorry the best I can do with the info you have supplied.

Login

Who's Online

203 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 203


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