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).



Realization of the update

  1. Create a backup of your modified and added files.
  2. 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.

  3. 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.

  4. 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)

  5. 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.

  6. Unzip the downloaded ClanSphere release on your lokal Computer. You can see the following files in your filemanager now:



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



    2. Now choose the Modul Database (Datenbank in German as you can see on the picture):



    3. Click on Import will lead you to the right place, to bring in the updatefile in you database:



    4. 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.

    5. Now run the chosen file. Normally you wont get a mistake, the databaseupdate was successful.

  8. 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.

  9. 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.

  10. 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.

  11. 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'; 


  12. 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:
  1. 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';

  2. Overwrite the whole line with this PHP-Code:
    require_once 'system/output/xhtml_10_old.php';

  3. After you have saved the file upload it to your webspace. Modules without Themes and ClanSphere 2009.0 are compatible now.


Duplicate Entry in SQL-Patch

If an error message is displayed like this cs_sql_query - Duplicate entry 'videoabcode-ytborder' for key 2, it meams that the database entrys are already existing. So you haven´t do anything.

Other problems

If there are any other problems with the update the ClanSphere Team will help you in the Board at http://clansphere.net.

 Quelltext betrachten   Druckversion   Versionen 
Letzte Änderung: 14.06.2009 12:12 Version 2.0.1