Updating from old versions - gtbu/Typesetter5.2 GitHub Wiki

Typesettercms has no core-update-function : A core-updater-addon is in preparation ( and a repo with the cores and the core - addon)

Update from 5.x to TP 5.2** (only php 7.3 and 7.4)

** If You have a very old 5.0 or 5.1 - version, You should first exchange the include directory with the include-directory of my archived 5.1-CE-Version and test if there are any problems (very old plugins which make the CMS hang etc.). A problem may be that very old versions still use md5 and sha1 and evtl. choosable sha512 in password-algorithms. Typesetter has changed to sha512 and password_hash (choosable). Users will evtl. have to renew the password online and should then choose sha512.

A. First make a backup under tools and install Filezilla Portable at Your PC. (it doesnt omit some filetypes or deep directory structures and stabilizes the connection)

B. Rename the gpconfig.php (in the root) to gpconfig.old and copy the new gpconfig.php there (ftp)

C. Rename the /include-directory (the core-directory) to include.old and copy the 5.2-include directory parallel

Problems : Some templates and plugins of 5.x and some manually installed ckeditor-plugins may be so old and outdated (deprecated php-code and incompatible code - also js) that they do not function or that the new CMS will hang (written for php4 or old JS : otherwise i would develop a core-update-plugin for /include)

*** _After successful core-update You should update the /addons- and /themes - directories --- BUT Do NOT overwrite the /data - directory !!! (or themes or templates which You modified). Some themes may evtl. need a new registration.

  • Plugins from web-installation are under data/_addoncode ; such themes are under data/_themes. Since Typesettercms.com is down, such installations from web are not possible(in planning).

*** If You still use php 5.6 or 7.2 then You should do all this with the github.com/Typesetter - master.


P.S. If Your existing installation has no bugs and no very outdated plugins_ from Web-installation (instead manually under /addons) :

  1. Make a backup under tools (export)
  2. Extract the backup into a harddisk - directory
  3. Now make a completely new installation in the web.
  4. Rename the data-directoy to data.old and copy (only) the data - directory from the harddisk parallel.
  5. Typesetter will now overtake the old parameters