1
tittelba
Best way to update from 2.0.7 to 2.0.13.2?
  • 2006/3/7 15:28

  • tittelba

  • Just popping in

  • Posts: 15

  • Since: 2004/7/9 2


I want to update my 2.0.7 to 2.0.13.2. How should I do this best?

Thanks,
Tom

2
zyspec
Re: Best way to update from 2.0.7 to 2.0.13.2?
  • 2006/3/7 17:21

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Tom,

This is probably not what you want to hear but the best and safest way is to make a backup of your existing site (including the database) and then perform the incremental updates one at a time.

I'd recommend after you perform each upgrade (for example 2.07 to 2.0.9.2 from the xoops-2.0.7.x_to_2.0.9.2.zip file) you update each of the modules you have installed that are affected by the upgrade (in this example it would be mydownloads, mylinks, newbb, system, xoopsheadline, xoopsmembers, and xoopspartners) in the Admin console. You do not have to "upgrade" any modules you were not using, ie. that weren't "installed".

The upgrades you'll have to install are:

- xoops-2.0.7.x_to_2.0.9.2
- xoops-2.0.9.2-to-2.0.10
- xoops-2.0.10-to-2.0.12a
- xoops-2.0.12a-to-2.0.13
- xoops-2.0.13-to-2.0.13.1
- xoops-2.0.13.1-to-2.0.13.2

of course you can download all of them from here.

3
danielh2o
ERRORS when update from 2.0.9.2 to 2.0.10
  • 2006/3/8 19:05

  • danielh2o

  • Just popping in

  • Posts: 47

  • Since: 2004/10/19


when upgrade from 2.0.9.2 to 2.0.10 (ignored /intall and /newbb files), many error messages appeared...

any help????


Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 490
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 236
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 383
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 128
Notice [PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 57
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 396
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 257
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file kernel/config.php line 188
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97

4
zyspec
Re: ERRORS when update from 2.0.9.2 to 2.0.10
  • 2006/3/8 21:30

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


danielh2o,

While these can be "disconcerting" they are PHP Notices. Notices are intended to let you know that the coding method used "may" be deprecated (not supported) or may not be the "best" way to reference a variable.

Most likely this is because you're using PHP5.

I believe many of these have been corrected in subsequent versions of xoops. I'd recommend you continue to perform the updates from 2.0.10 up to 2.0.13.2 BUT remember if you haven't done so already - make a complete backup!

5
danielh2o
Re: ERRORS when update from 2.0.9.2 to 2.0.10
  • 2006/3/8 21:31

  • danielh2o

  • Just popping in

  • Posts: 47

  • Since: 2004/10/19


another question:

From "2.0.13.2 full package",

\modules\system\templates\system_comment.html
at line 25, it wrote

<{if $xoops_iscommentadmin == true}>

However, I trace back from "upgrade patch"
- xoops-2.0.7.x_to_2.0.9.2
- xoops-2.0.9.2-to-2.0.10
- xoops-2.0.10-to-2.0.12a
- xoops-2.0.12a-to-2.0.13
- xoops-2.0.13-to-2.0.13.1
- xoops-2.0.13.1-to-2.0.13.2, there is no change on this file, but my site's file wrote

<{if $xoops_isadmin == true}>


Should I missed something before, which one ($xoops_isadmin or $xoops_iscommentadmin ) is correct??

6
danielh2o
Re: ERRORS when update from 2.0.9.2 to 2.0.10
  • 2006/3/8 23:41

  • danielh2o

  • Just popping in

  • Posts: 47

  • Since: 2004/10/19


NOT PHP5, but using PHP 4.4.2 and MySQL 4.0.26 instead.

During 2.0.9.2 to 2.0.10 upgrade, I experienced fatal error, all blank pages, and even cannot access Admin Page to open debug mode!!

BTW, website is UP now. But those PHP notices...sss still excess after subsequence patch upgrade from 2.0.7.x to 2.0.13.2. At moment, can ignore it by closing debug mode.

Do you mean they mixed up call by reference or by value? Who experienced similar problems during upgrade and how you solve it?

7
phppp
Re: Best way to update from 2.0.7 to 2.0.13.2?
  • 2006/3/9 0:14

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Reference related notices appear since PHP 4.4 and 5.0 due to the reference handling policy change in PHP.

In mose cases there is no harmful consequence.
You can disable php debug option to hide those messages.

8
tittelba
Re: Best way to update from 2.0.7 to 2.0.13.2?
  • 2006/3/20 3:13

  • tittelba

  • Just popping in

  • Posts: 15

  • Since: 2004/7/9 2


Zyspec,
You are correct. I did not what to hear that!! ;) LOL
I was hoping I would not have to to that but thanks. You're info. will make it easier.

Thanks,
Tom

Login

Who's Online

133 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 133


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