1
michal
Problem with first access to administration menu
  • 2006/8/3 20:41

  • michal

  • Just popping in

  • Posts: 2

  • Since: 2006/8/3 2


Hi I have just installed Xoops, but can't get to administration menu.. dont know what's the problem..
firefox wrote:
Notice [PHP]: Object of class XoopsUser could not be converted to int in file class/theme.php line 442

thnx for help

2
jensclas
Re: Problem with first access to administration menu

Welcome to xoops
Since you are new to XOOPS lets look at a few resources first:

FAQ section linked on the left
Xoops admin and installation docs in the documentation site. The visual intro to XOOPS will also show you what you should see.

Now..Notices like this can usually be ignored but if you can't access admin look in the faq's for this.

Then if you can't sort yourself out we need to know more information - check the read before you post link below.

HTH
Jen

3
michal
Re: Problem with first access to administration menu
  • 2006/8/3 22:52

  • michal

  • Just popping in

  • Posts: 2

  • Since: 2006/8/3 2


of course I am looking for some solution of this, I've found possible firewall prob., but no change. I dont understand PHP so much to repair..


442: if ($xoopsUser != '') {

$this->tplEngine->assign(array( 'xoops_isuser' => true,

'xoops_userid' => $xoopsUser->getVar('uid'),

'xoops_uname' => $xoopsUser->getVar('uname')));

if (is_object($xoopsModule)) {

$this->tplEngine->assign('xoops_isadmin', $xoopsUser->isAdmin($xoopsModule->getVar('mid')));

}

} else {

$this->tplEngine->assign(array('xoops_isuser' => false, 'xoops_isadmin' => false));

}

}

If ($you'll give me direction) {'me' ==> very thankfull}
maybe trivial prob, but

4
jensclas
Re: Problem with first access to administration menu

Now you are talking about specific code I am reliant like you on those who support us in this area...sorry I can't be of more assistance

Login

Who's Online

399 user(s) are online (338 user(s) are browsing Support Forums)


Members: 0


Guests: 399


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