1
gbateson
Fatal Error from "view account"
  • 2005/11/2 11:11

  • gbateson

  • Just popping in

  • Posts: 1

  • Since: 2005/11/2


Hi,

I am a XOOPS newbie and I just installed a brand new "Xoops 2.2.3 Final" on a Windows XP server. I used all the defaults offered by the installation script and everything went pretty smoothly. The database was created OK and the front page of the site appears OK. I am using the default theme.

I can log in OK as the Super Administrator, but when I then click the "View Account" menu item on the home page of the site, I get the following error:

Fatal error: Call to a member function getVar() on a non-object in C:\MyServer\htdocs\xoops\class\theme.php on line 499

I wonder if I have done something wrong? Or can I get hold of a fix/patch somewhere.

many thanks in advance for any help and advice
Gordon

2
Coldburn
Re: Fatal Error from "view account"
  • 2005/11/11 7:10

  • Coldburn

  • Just popping in

  • Posts: 6

  • Since: 2005/4/17


I'm also having the same issue on a brand new install. I've looked all over and have not found a posted solution. If you turn on debug mode for PHP, nothing happens when attempting to goto any account info from the /modules/profile directory. I didnt find any other errors than what you already described.

theme.php
function getCachedTemplateId()

-(truncated)-

return 'mod_'.$GLOBALS['xoopsModule']->getVar('dirname').'|'.md5(str_replace(XOOPS_URL, '', $protocol."://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].$cachegroup));


I dont see any other references to dirname but did in template.php

My box info;

XOOPS Version:
XOOPS 2.2.3 Final

XOOPS Theme:
default

XOOPS Template Set:
default

PHP Version:
5.0.4

MySQL Version:
4.1.14

Server Software:
Apache/2.0.54 (Fedora)

User's Browser:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

3
skeemer
Re: Fatal Error from "view account"
  • 2005/11/11 10:12

  • skeemer

  • Just popping in

  • Posts: 5

  • Since: 2005/11/11


I'm getting the same error on a bunch of pages on my brand new install.
The pages I noticed: Registration, View Account and Edit Account.
I just installed version 2.2.3 Final using php 4.3.2.
I would investigate more, but I gotta catch shut eye. Hope someone figures it out by the time I wake up. ;)

4
skeemer
Re: Fatal Error from "view account"
  • 2005/11/13 7:38

  • skeemer

  • Just popping in

  • Posts: 5

  • Since: 2005/11/11


Finally found the solution.

https://xoops.org/modules/newbb/viewtopic.php?topic_id=31835&forum=27&post_id=190059#forumpost190059

Does this indicate a bug?

/include/common.php: Line 278
redirect_header(XOOPS_URL, 3, _MODULENOEXIST);

This gets a fatal error instead of actually displaying that page.

5
Coldburn
Re: Fatal Error from "view account"
  • 2005/11/13 16:32

  • Coldburn

  • Just popping in

  • Posts: 6

  • Since: 2005/4/17


Yeah I saw that post a few days ago but doesn't actually solve the problem. Replacing the profile module with a different one is just a band-aid. I'm a novice coder but will go in and see if I can find anything obviously wrong.

Quote:

Does this indicate a bug?

/include/common.php: Line 278
redirect_header(XOOPS_URL, 3, _MODULENOEXIST);

This gets a fatal error instead of actually displaying that page.


Xoops.org needs a KB, surfing the sea of forum posts is counter productive...

6
LazyBadger
Re: Fatal Error from "view account"

INSTALL ALL modules in distro, not only System!!! You have to have "Extended Profile" at least, but PM is "must have" also!!!
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

7
Coldburn
Re: Fatal Error from "view account"
  • 2005/11/13 20:33

  • Coldburn

  • Just popping in

  • Posts: 6

  • Since: 2005/4/17


It's misleading during the installation on the "Module Installation" screen that these modules have check boxes next to them, indicating they're optional. Why does this exist if they are 'must haves'?

Login

Who's Online

178 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 178


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