8
I've applied the upgrade script to a Xoops2.0 site to upgrade to 2.2.3.
After some initial issues I have the site up. I can log in, but when I go to the administration forms, it says that we have no users, even though I've logged in as root!
I get the following error:
Fatal error: Call to a member function on a non-object in /www/<path>/html/class/theme.php on line 499
If I'm using IE, the page flickers, tries to reload heaps of and then finally brings up a broken, half page.
In Firefox it is Ok but as I said I cant actually get to any privileged areas outside of the admin system.
I am going to look at the code now but would really appreciate any thoughts, help etc.
Having looked into it a bit more, it seems that there must be an issue with the authentication.
adding
echo "Echo in theme.php Line 496:<br><pre>";var_dump($GLOBALS['xoopsUser']);echo "</pre>";
outputs
object(xoopsuser)(11) {
["vars"]=>
array(9) {
["uid"]=>
array(6) {
["value"]=>
NULL
["required"]=>
bool(false)
["data_type"]=>
int(3)
["maxlength"]=>
NULL
["changed"]=>
bool(false)
["options"]=>
string(0) ""
}
["loginname"]=>
array(6) {
["value"]=>
NULL
["required"]=>
bool(true)
["data_type"]=>
int(1)
["maxlength"]=>
int(25)
["changed"]=>
bool(false)
["options"]=>
string(0) ""
}
["uname"]=>
array(6) {
["value"]=>
NULL
["required"]=>
bool(true)
["data_type"]=>
int(1)
["maxlength"]=>
int(55)
["changed"]=>
bool(false)
["options"]=>
string(0) ""
.
.
.
etc
I am about to look at the authentication
I am currently running php4.3.5