xoops forums

beach_defend

Just popping in
Posted on: 2005/12/7 13:16
beach_defend
beach_defend (Show more)
Just popping in
Posts: 29
Since: 2004/12/8
#1

Upgrade 2.0.X => 2.2.3

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

beach_defend

Just popping in
Posted on: 2005/12/9 12:42
beach_defend
beach_defend (Show more)
Just popping in
Posts: 29
Since: 2004/12/8
#2

Re: Upgrade 2.0.X => 2.2.3

It seems that most of the issues seem to relate to extended profiles.

Now I seem to be able to have most of the site work in Firefox, but in IE I either get a whie page of death (I have selected PHP Debug as well as added ini_set('display_errors',1) and error_reporting(E_ALL) which still gave a WPOD. I even updated php.ini in depsaration to set display_errors = 1, and STILL get a WPOD.

So I've now got an inoperable company site and not sure what to try next.

I'm really desparate and don't to rebuild the site from scratch.

.... and I need some sleep.....

Bender

Home away from home
Posted on: 2005/12/9 15:06
Bender
Bender (Show more)
Home away from home
Posts: 1899
Since: 2003/3/10
#3

Re: Upgrade 2.0.X => 2.2.3

1. You did a backup right? If its urgent how about going back and using that and meanwhile create a copy and update that in a non production environment?

2. check this thread:
https://xoops.org/modules/newbb/viewto ... id=194326#forumpost194326
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...