1
Pouakai
[SOLVED (for me at leat)]Re: Fatal error: Call to a member function getVar() on a non-object
  • 2005/11/15 9:53

  • Pouakai

  • Just popping in

  • Posts: 2

  • Since: 2005/11/7


Well an installation hicup seems to be at the root of my troubles.

Initialy when I created the MySQL account I forgot to grant 'CREATE' & 'ALTER' privileges, this was pointed out to me by the installer and I corrected the privileges and was able to continue and the installer reported success, however I guess something did not get created.

in 2.2.3a-Final the crashing line line is class/themes.php:499
return 'mod_'.$GLOBALS['xoopsModule']->getVar('dirname')......

So I rm'd mainfile and re-ran the installer and now she's good to go!

cheers all,
P



2
Pouakai
Re: Fatal error: Call to a member function getVar() on a non-object
  • 2005/11/7 14:38

  • Pouakai

  • Just popping in

  • Posts: 2

  • Since: 2005/11/7


I have the same thing on TWO servers now, installation reported that it was successful, but the first GET of the index page produces:

Fatal error: Call to a member function on a non-object in /var/www/mydomain.com/htdocs/xoops/class/theme.php on line 493
Notice [PHP]: Only variables should be assigned by reference in file include/common.php line 223
Notice [PHP]: Only variables should be assigned by reference in file kernel/object.php line 819

Software versions are:
PHP 4.4.0
MYSQL 4.1.14
APACHE 2.0.54
XOOPS 2.2.3


I would be glad of some advice at this point...

thnx




TopTop



Login

Who's Online

219 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 219


more...

Donat-O-Meter

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

Latest GitHub Commits