Some helping files for migrating existing data from old [DokManSystem] the [Contao DMS].
Please read the complete guide first, before starting migration. Executing the steps in the given order is very important.
In case there are issues, please use the tracker.
- backup your file system and database and custom templates
- be careful when updating the extension, because it may happen that the DMS_DIRECTORY will be deleted (copy it before to another name)
! DO NOT UPDATE DATABASE VIA CONTAO NOW !
! DO NOT UPDATE DATABASE VIA CONTAO !
- Excute the file
1_migrate_tables.sql
from foldersql
(e.g. via PhpMyAdmin). - ! Now, update the database via backend !
- Excute the remaining files from folder
sql
in the given order starting with2_migrate_sorting.sql
(e.g. via PhpMyAdmin).
See templates/renaming.txt
to check the new names of the templates.
-
manually rename all files: add
_0
to version string (will be the patch number)OR
-
use
files/rename.php
to rename all files automatically via script -
copy
files/rename.php
to DokManSystem files directory -
execute it ONCE in your browser (http://domain.tld/tl_files/DMS_DIRECTORY/rename.php)
-
maybe
.htaccess
must be deactivated temporarily -
check all files, if the script was executed
-
delete the script
- the extension delivers a folder named
dms
... rename yours, if you want, or keep the name - rename folder
grafik
topreview
- delete
index.html
from folderspreview
andtemp
- copy
.htaccess
from delivered folderdms
to your repository folder
- Delete entries from localconfig.php starting with
dokmansystem_
- Go to settings and define base directory and check other options as you like
- Edit and store your moduls (listing and management)
- Check categories and access rights