1
audsp98
PHP Fatal Error.....
  • 2004/2/11 2:52

  • audsp98

  • Just popping in

  • Posts: 8

  • Since: 2004/2/10


PHP Fatal error: Call to a member function on a non-object in c:\Program Files\Ensim\Site Data\fbclanett\Inetpub\wwwroot\header.php on line 112

Can someone help me on getting this fixed?

This is line 112 from header.php

$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name'));

2
audsp98
Re: PHP Fatal Error.....
  • 2004/2/11 14:16

  • audsp98

  • Just popping in

  • Posts: 8

  • Since: 2004/2/10


bump

3
Mithrandir
Re: PHP Fatal Error.....

Which page is giving you that error?

4
audsp98
Re: PHP Fatal Error.....
  • 2004/2/11 14:30

  • audsp98

  • Just popping in

  • Posts: 8

  • Since: 2004/2/10


all of them....I can still get to the /modules/system/admin.php but it tells me I don't have permission to be in that area and redirects me to the index.php page

5
Mithrandir
Re: PHP Fatal Error.....

Could you replace the $xoopsModule->getVar('name') with a string of something?
That way, we can determine whether it is the $xoopsModule or the $xoopsTpl object, which isn't instantiated properly.

6
audsp98
Re: PHP Fatal Error.....
  • 2004/2/11 14:38

  • audsp98

  • Just popping in

  • Posts: 8

  • Since: 2004/2/10


it looks like it is the $xoopsModule that is the problem...when I replace $xoopsModule->getVar('name') with a string I get an error on the next line of code that also references $xoopsModule->getVar('name')

7
Mithrandir
Re: PHP Fatal Error.....

Weird. Well, we've got the cause of the error pinpointed, but why $xoopsModule is not set, I don't know.

8
audsp98
Re: PHP Fatal Error.....
  • 2004/2/11 17:58

  • audsp98

  • Just popping in

  • Posts: 8

  • Since: 2004/2/10


how does the $xoopsModule get set? is it trying to read from the db? is it passed from another .php page?

Login

Who's Online

335 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 335


more...

Donat-O-Meter

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

Latest GitHub Commits