1
beach_defend
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

2
beach_defend
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.....

3
Bender
Re: Upgrade 2.0.X => 2.2.3
  • 2005/12/9 15:06

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


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/viewtopic.php?topic_id=44337&forum=1&post_id=194326#forumpost194326
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

Login

Who's Online

160 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 160


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