https://www.icyphoenix.com/viewtopic.php?f=30&t=10
-----------------------------------
Mighty Gorgon
Fri 18 Aug, 2006 16:13

How To Upgrade To XS 2 Build 058
-----------------------------------
Hi,
in this topic you will find some hint on the best way to upgrade your site to XS 2.

First of all you should download the latest available phpBB XS package from the download section.

Then you should follow these instructions:

[url=docs/readme_english.html#upgrade_phpbb]Readme

Remember that [b]update_to_xs2.php[/b] MUST be in the root folder... and remember to run it before upload all your files (you must also be logged in as administrator).

Another thing to remember is that your FTP client should be set to overwrite all existing files, so to be sure that old files are replaced by these new ones.

[b][color=crimson]ONLY FOR ADVANCED USERS... DO IT AT YOUR OWN RISK![/color][/b]
Finally, for people who feel more confident about their skills, I suggest to (after having performed a full backup of course):
[list][*]Login as Admin
[*]Upload [b]update_to_xs2.php[/b] to the root of the site
[*]Run [b]update_to_xs2.php[/b]
[*]Use an FTP client to remove all files and folders, except:
[b]config.php[/b]
[b]album_mod/upload/*.*[/b]
[b]files/*.*[/b]
[b]images/*.*[/b]
[b]includes/*.*[/b]
[b]pafiledb/uploads/*.*[/b]
[b]templates/*.*[/b]
[*]Upload all new files (except [b]config.php[/b], [b]install/*.*[/b], [b]contrib/*.*[/b] and [b]includes/def_*.php[/b]) (set your FTP client to overwrite older files with the new ones)
[*]Reapply the correct permissions to files and folders as listed in [b]readme_english.html[/b]
[*]Enjoy XS[/list]

With this procedure, you will have a clean XS installation, having removed all unused files from older versions.

If you are upgrading from a version which is prior to Build 058 I strongly recommend to remove [b]error.php[/b] (do not confuse it with ERRORS.PHP which is a new file and it is needed), which could be exposed to a security issue.


-----------------------------------
ganesh
Fri 18 Aug, 2006 19:10

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
[quote user="Mighty Gorgon" post="12"]
[list]
[*]Use an FTP client to remove all files and folders, except:
[b]config.php[/b]
[b]album_mod/upload/*.*[/b]
[b]files/*.*[/b]
[b]images/*.*[/b]
[b]includes/*.*[/b]
[b]pafiledb/uploads/*.*[/b]
[b]templates/*.*[/b]
[*]Upload all new files (except [b]config.php[/b])
[/list]
[/quote]
Then... I dont'have to re-upload those files???   :oops: 
Sorry but, I'm unsure...


-----------------------------------
AvrilBoi
Fri 18 Aug, 2006 19:45

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
Why should we upload and remove the install folder? Don't we just need to upload update_to_xs2.php in the main folder and then delete just this file?
[quote user="ganesh" post="707"]
Then... I dont'have to re-upload those files???   :oops: 
Sorry but, I'm unsure...[/quote]
I think you have to. You have to reaupload the ones included in the new release.
I've another question: if we delete all files except the ones you told Mighty, do we have to upload everything again from the full new release or just from the patch release?


-----------------------------------
ganesh
Fri 18 Aug, 2006 19:52

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
I think the same...


-----------------------------------
Mighty Gorgon
Sat 19 Aug, 2006 00:17

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
You should follow the instructions to the letter...

If I state UPLOAD ALL NEW FILES... it means UPLOAD ALL NEW FILES... :wink:

And ALL means from the FULL PACKAGE... not the changed files obviously.


[quote user="AvrilBoi" post="713"]Why should we upload and remove the install folder? Don't we just need to upload update_to_xs2.php in the main folder and then delete just this file?[/quote]
Yes, you should not upload all the install folder, but upload and run just [b]update_to_xs2.php[/b].


-----------------------------------
ganesh
Sat 19 Aug, 2006 00:57


-----------------------------------
Then... Not all the new files... :rotfl:

BTW, I've uploaded everything... but then to visualize again all my forums I had to use my old def_*.php files

Works fine anyway... very good!!!


-----------------------------------
Mighty Gorgon
Sat 19 Aug, 2006 01:04

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
[quote user="ganesh" post="735"]Then... Not all the new files... :rotfl:[/quote]
Yes... all... you can upload install and contrib... and then you are warned to delete them... :wink:

[quote user="ganesh" post="735"]BTW, I've uploaded everything... but then to visualize again all my forums I had to use my old def_*.php files

Works fine anyway... very good!!![/quote]
Or you need to SYNCHRONIZE the forums in ACP to get DEF rewritten.

Anyway... the second way is for advanced users... so if you decide to follow it... you are supposed to know what you're doing... :wink:


-----------------------------------
ganesh
Sat 19 Aug, 2006 11:50

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
Well, synchrinizing didn't sort any effect... That's why I tried the other way :shock:


-----------------------------------
Mighty Gorgon
Sat 19 Aug, 2006 12:26

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
[quote user="ganesh" post="756"]Well, synchrinizing didn't sort any effect... That's why I tried the other way :shock:[/quote]
Are you sure you have the correct CHMOD settings on your [b]def_tree.php[/b]?

Sync should work... I've used it several times to solve this problem.


-----------------------------------
ganesh
Sat 19 Aug, 2006 12:32

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
Yes I do... 666 the number of the beast...


-----------------------------------
Mighty Gorgon
Sat 19 Aug, 2006 12:42

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
[quote user="ganesh" post="763"]Yes I do... 666 the number of the beast...[/quote]
My favourite number! :lol:

The Synchronization should be done here:
[b]ACP => Forum Admin => Sync. Managemet[/b] (yes I know there is a typo's there... :roll: )

Then [b]RESYNC[/b] button...

Did you try this way?


-----------------------------------
ganesh
Sat 19 Aug, 2006 12:46

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
Yez... btw... now it works... I probably missed something in the hurry... ;)


-----------------------------------
Xusqui
Sun 20 Aug, 2006 13:43

Respuesta: How To Upgrade To XS 2 Build 058
-----------------------------------
And...

What if I have one mod installed???

If I replace the files, I loose all the mods, and should re-install them all... Isn't there a ChangeLog to manually update all files?

Thnx in advance!!!


-----------------------------------
ganesh
Sun 20 Aug, 2006 14:06

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
NO.
There isn't.

[quote]
USUAL DISCLAIMER 
We won't ever provide CODE CHANGES for phpBB XS, mainly for three reasons: 

phpBB XS is still under development, and CODE CHANGES could be hundreds of lines of code... so, writing a full CODE CHANGES is time consuming. 

phpBB XS is heavily premodded, so installing new mods may be really tough if you're not confident with PHP and phpBB systems. 

Because of the two previous, installing a complex CODE CHANGES could be more dangerous than install again some little modifications you may have applied.


I'm sure that the easy way for you is replacing all XS files with the new ones, and eventually reapply some mods you have installed on previous XS version. 

I hope you can understand our point of view... acting in this way, we will keep XS very flexible: writing big CODE CHANGES delays release, and most important can sometime retain us to apply some modifications (because of the complexity of writing some CODE CHANGES). 

WE WON'T EVER PROVIDE CODE CHANGES FOR ANY XS VERSION.
[/quote]


-----------------------------------
Xusqui
Sun 20 Aug, 2006 19:11

Respuesta: How To Upgrade To XS 2 Build 058
-----------------------------------
:oops:

 :( 

Well, I understand... Fortunetly I only have one important mod installed so i'll reinstall it...

I understand the reasons!!

Thnx for a so hard work!!!


-----------------------------------
Tom
Sun 20 Aug, 2006 21:51

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
You could use a programm like Winmerge to compare all files:
http://winmerge.sourceforge.net/


-----------------------------------
Mighty Gorgon
Sun 27 Aug, 2006 04:17

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
It's a good thing to keep track of the changed files when installing a mod... in this way, you can reinstall your mods quickly...

You can follow these few steps when installing a mod:
[list=1][*]Make a backup of the files you are going to modify
[*]Create a folder with the name of the mod you are installing
[*]Install the mod inserting comments where the files are being modified
[*]Copy in the folder created at point 2 all the file you have modified
[*]Archive both original file before the mod and after the mod[/list]

This procedure will help you in upgrading both your mod and XS when a new version of the mod or XS will be out. :wink:

WinMerge is a great toy for this task.


-----------------------------------
Ishigo
Tue 29 Aug, 2006 09:58

Respuesta: How To Upgrade To XS 2 Build 058
-----------------------------------
welll i have a problem when i use update_to_xs2.php it gives e an error as if it could noçt find something as C:/php/pear/ or something like that can you help me???


-----------------------------------
Mighty Gorgon
Tue 29 Aug, 2006 10:17

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
I need a more detailed error message to help you.


-----------------------------------
tiziano
Thu 11 Jan, 2007 16:48

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
Ciao luca è complimenti per questa nuova versione.
ecco dove avevo sbagliato!!!

avevo seguito l'operazione come descritto all'inizio del tuo post.

però non avevo cancellato tutte le dir.....  :mryellow:  :mryellow: 
mi sono limitato a sovrascrivere tutti i file dell ICY  :mryellow:  :mryellow: ...

infatti non usciva il template...nell'acp...cliccavo su HOME PAGE E MI Dava errore....

comunque appena ho due secondi cancello tutto (senza cancellare il file config,le dir dell'album ecc) e copio tutto il 
contenuto del Icy..

a presto


-----------------------------------
Mighty Gorgon
Fri 12 Jan, 2007 01:39

Re: How To Upgrade To XS 2 Build 058
-----------------------------------
[quote user="tiziano" post="7079"]Ciao luca è complimenti per questa nuova versione.
ecco dove avevo sbagliato!!!

avevo seguito l'operazione come descritto all'inizio del tuo post.

però non avevo cancellato tutte le dir.....  :mryellow:  :mryellow: 
mi sono limitato a sovrascrivere tutti i file dell ICY  :mryellow:  :mryellow: ...

infatti non usciva il template...nell'acp...cliccavo su HOME PAGE E MI Dava errore....

comunque appena ho due secondi cancello tutto (senza cancellare il file config,le dir dell'album ecc) e copio tutto il 
contenuto del Icy..

a presto[/quote]
Tiziano, please try to speak in english, as it is an international support forum... :roll:

I'm sorry, but as I wrote in the release post of the beta, I won't help in installing this on live sites... because I should need to change many things before the release, and beta are meant just for tests and bug fixing.

If you want to upgrade your site with this release, of course you are free to do it... but then you should have the skills to solve some issues on your own... because this release is not the final one and we cannot fully support it.

I hope you may understand this... :roll:


[hr]
ITALIAN

Ti ho già spiegato tutto questo nel messaggio privato... spero che tu comprenda il mio punto di vista. :roll:


