1
ravinata
How ro upgrade from xoops 2.0.15 to latest version (2.3.2b) ?
  • 2008/12/17 0:42

  • ravinata

  • Just popping in

  • Posts: 13

  • Since: 2006/7/23


My website is still under version 2.0.15. I am now planning to do the upgrade to the latest version of XOOPS 2.3.2b and also redesign the website and template.
Now, I need info on how to upgrade.

(Is it required that I upgrade to few intermediate releases to get to 2.3.2b?

I appreciate any info on the path to the upgrade.

Thanks in advance.

Ravi

2
ghia
Re: How to upgrade from xoops 2.0.15 to latest version (2.3.2b) ?
  • 2008/12/17 1:04

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is explained in the release notes of 2.3.2.

3
ravinata
Re: How to upgrade from xoops 2.0.15 to latest version (2.3.2b) ?
  • 2008/12/18 5:40

  • ravinata

  • Just popping in

  • Posts: 13

  • Since: 2006/7/23


Thanks. I read the release notes, followed the directions.
Then, I invoked the /upgrade in the browser. logged in as administrator (webadmin), it then gave an error:
Fatal error: Call to undefined method XoopsSessionHandler::regenerate_id() in /home/amworld/public_html/portal/upgrade/login.php on line 63
I cleared the portal cache folder. Again tried, but am getting the same error.
I then commented the line 63
//$GLOBALS["sess_handler"]->regenerate_id(true);
and then was able to login and upgrade. ERROR after applying 5 upgrades. the 6th update was 'upd-2.0.18-to-2.3.0', clicking on 'proceed to upgrade' gets to page showing 'Performing upd-2.0.18-to-2.3.0 upgrade', then, I clicked on 'finish' and I see the error below:
SHOW COLUMNS FROM `xoops_cache_model` LIKE 'cache_data'
Error number: 1146
Error message: Table 'amworld_xoops.xoops_cache_model' doesn't exist

Notice: Undefined property: XoopsMySQLDatabaseProxy::$allowWebChanges in file /upgrade/upd-2.3.0-to-2.3.1/index.php line 73


also, I get errors like,
ALTER TABLE xoops_cache_model MODIFY `cache_data` text
Error number: 0
Error message: Database update not allowed during processing of a GET request
ALTER TABLE xoops_banner MODIFY `htmlcode` text
Error number: 0
Error message: Database update not allowed during processing of a GET request
ALTER TABLE xoops_bannerclient MODIFY `extrainfo` text
Error number: 0

when I click on finish, upgrade...

If you wish to know the website URL and try it yourself, please send me an email to ravi@natarajan.net
Thanks
Ravi N

4
irmtfan
Re: How ro upgrade from xoops 2.0.15 to latest version (2.3.2b) ?
  • 2008/12/18 6:32

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


please check the mainfile.php before upgrade.
it seems something is wrong there.
maybe you do a mistake there. for example change xoops_url or xoops_path?

5
ravinata
Re: How ro upgrade from xoops 2.0.15 to latest version (2.3.2b) ?
  • 2008/12/18 6:36

  • ravinata

  • Just popping in

  • Posts: 13

  • Since: 2006/7/23


No. I did not edit or look at the mainfile.php. this file is intact and untouched.

6
sailjapan
Re: How ro upgrade from xoops 2.0.15 to latest version (2.3.2b) ?

as stated in the installation instructions, mainfile.php has to have it's permissions changed...
Quote:
6. Ensure the server can write to mainfile.php

This means that the file should have it's permissions set to 777.
Once you're finished with the upgrade, re-set the permissions to 444.
Quote:
9. Write-protect mainfile.php again
Never let a man who does not believe something can be done, talk to a man that is doing it.

7
ravinata
Re: How ro upgrade from xoops 2.0.15 to latest version (2.3.2b) ?
  • 2008/12/18 13:53

  • ravinata

  • Just popping in

  • Posts: 13

  • Since: 2006/7/23


Well, YES, the permissions are set to 777 for the mainfile.php. This was the first thing I did. Sorry that I did not mention that before. But, have not edited or made changes to the contents of the file since the website is currently live.
So, all the files mentioned in the release notes for upgrade has 777. it has been like that.
So, inspite of this I get the error.

Also to note:

The first error, which I even get now is,

Fatal error: Call to undefined method XoopsSessionHandler::regenerate_id() in /home/amworld/public_html/portal/upgrade/login.php on line 63

line in code:
$GLOBALS["sess_handler"]->regenerate_id(true);

to login, I comment out the line. Is this not a bug?

when I try to login at the /upgrade. Then, I have to manually edit that line and comment it out. Now, is this a bug? why this error.
Also to Note that, the first 5 updates went through and I could see a 'tick mark' on it. I had to comment a line in a few files.

Please suggest what to do. I can again restart the update process, can I ? If so, how, please let me know.
Ravi N

8
ghia
Re: How ro upgrade from xoops 2.0.15 to latest version (2.3.2b) ?
  • 2008/12/18 14:06

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did you do the file integrity check?

9
ravinata
Re: How ro upgrade from xoops 2.0.15 to latest version (2.3.2b) ?
  • 2008/12/18 14:23

  • ravinata

  • Just popping in

  • Posts: 13

  • Since: 2006/7/23


Yes, I just executed the script checksum.php
I output too many lines showing 'invalid'...
the first line is,
./admin.php content invalid ./backend.php content invalid ./banners.php content invalid ./edituser.php content invalid ./favicon.ico content invalid ./footer.php content invalid ./header.php content

then the 2nd line is,
invalid ./image.php content invalid ./imagemanager.php content invalid ./index.php content invalid ./lostpass.php content invalid ./mainfile.dist.php content invalid ./misc.php content invalid ./notifications.php

and many many lines with same error 'invalid'....

10
ghia
Re: How ro upgrade from xoops 2.0.15 to latest version (2.3.2b) ?
  • 2008/12/18 15:29

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


If it listed all the files then you did not apply the check correct.
Otherwise you have a serious problem with the upload of your files with FTP. See if the permissions allow replacement of old by new files.
Check one of the failed files by downloading it and comparing it with the original uploaded file.

Login

Who's Online

265 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 265


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits