https://www.icyphoenix.com/viewtopic.php?f=30&t=10&p=12#p12
-----------------------------------
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.


