ClanSphere_Update_2008_2009_En
Because of far reaching changes in the release of Clansphere 2009.0 it is necessary to take some steps at the update from ClanSphere 2008.x to ClanSphere 2009.0, that aren´t needed to be done normally.
Follow the instructions only if you want to update a ClanSphere 2008.x installation to version 2009.0, please.
For all other versions there is a corresponding manual at the Update-Seite (German only).
Inhaltsverzeichnis [verbergen]
Realization of the update
- Create a backup of your modified and added files.
- Because we don´t know which files you have chaged, there isn´t an general manual.
If you didn´t change any data you can jump over this point. - Save the contents of the database, for example in MySQL with the tool phpMyAdmin.
There is a manual, but only in German Tutorial zum Datei- und Datenbankbackup
Note: The built-in export in the ClanSphere Database? is currently only suitable for small amounts of data and not recommended for this backup. - Make sure a login.htm exists in the template to open the page in maintenance mode.
Open a FTP-Programm,FileZilla for example and connect with your webspace. Go to the directory /templates/<TEMPLATE-Folder>/ and look for the login.htm.
Caution: If it doesn't exist please copy the one within the clansphere template including its CSS files (you´ll find it in /templates/clansphere) - Set the mode of the page to maintenance, which can be found inside System -> Options -> ClanSphere. A manual with some screenshot is there, but only in German.
- Unzip the downloaded ClanSphere release on your lokal Computer. You can see the following files in your filemanager now:

- Now you have to update your database first. To do this, please proceed as follows:
- Login in your page and go to System. Now you see:

- Now choose the Modul Database (Datenbank in German as you can see on the picture):
- Click on Import will lead you to the right place, to bring in the updatefile in you database:

- With a click on the button Browse you can choose the updatefile, which you can find in the updatesfolder of the ClanSphere release.
Caution: Do only execute files from your current version up to the new one.
Note: In older versions ClanSphere the database module can have another name. - Now run the chosen file. Normally you wont get a mistake, the databaseupdate was successful.
- Login in your page and go to System. Now you see:
- Upload the unziped contents except for the directories docs and updates and the files install.php and install.sql to the webspace.
Note: At best use a FTP program e.g.FileZilla. Overwrite all existing files on your webspace. - Remove the existing logs directory when it is not used for other logs like e.g. the Apache webserver.
Note: If unsure the previous log directory can be found inside the index.php file and is defined in the array $cs_logs
Note: Future logs are automatically stored into the uploads/logs directory, so you need to change its CHMOD. - Remove the files publish.php and counter.php from the directory system/runstartup.
Also remove the files lang.php and content.php from the directory system/core. - When your charset inside the comlang files of the languages is left unchanged it might be ISO-8859-15. With this update you have to add the following line to your setup.php file (change the charset if it differs from your old one):
$cs_main['charset'] = 'ISO-8859-15';
- If there aren´t any problems with the page now, you can disable the [Wartungsmodus maintenancemode]]now and the update is finished.
But if there are problems the trouble-shooting on the next chapter could help you.
Trouble-shooting
Modules without Themes-Support
If you would use modules without Themes on your website, please proceed as follows:- Open the file functions.php in the folder /system/core on your webspace. Maybe you have to download it first. There you´ll find this PHP-Code in funktion cs_init on line 88 PHP-Code:
require_once 'system/output/xhtml_10.php';
- Overwrite the whole line with this PHP-Code:
require_once 'system/output/xhtml_10_old.php';
- After you have saved the file upload it to your webspace. Modules without Themes and ClanSphere 2009.0 are compatible now.