Modx is a great product, much greater than other products I tested (wordpress, spip, joomla...)
I like the core team, and the community is active, smart and helpful.
One downside I recently found with 2.1.1 is surprisingly it's getting painful to move sites from dev to prod.
I explain our process :
Usually we start a project as a prototype to show main functionalities, look and feel, global ergonomic on a windows portable platform.
When we agree on it, we then create a development environment as a vhost on a linux/plesk platform, and develop full functionalities, test and get the agreement from the customer to go on production.
At this time, we then create on the SAME server another vhost with the customer domain name and we move de developed application on it.
To do so, we proceed as this :
First ftp from the dev vhost to local windows platform (this also ensure to have as backup) then ftp to the new prod environment.
Same for SQL, export followed by import.
Then ftp install/update of modx over the prod environment.
Things that have to be noted:
ftp users (IE owner of directories) will be different from one to the other,
Database db user and password will be different from dev to prod as well.
In order to have it working correclty we change the values of DB settings in the core/config/config.inc.php file
It seems that install/update does not change path in the core/config/config.inc.php, so manually changed them as well.
Manual clear of core/cache directory.
Permission on core/cache, core/export core/components assets assets/components set to 777 as well as for core/config/config.inc.php to ease the process.
This procedure was working fine to Revo 2.0, since then, we are facing issues with moving sites.
Main one are installed snippets won't function (eg gallery, tinymce, quip, getresource, formit...).
Some fix can be done by deleting them in modx packets manager and manual delete of all archive and directories, then import and install again.
Even with that, some pages don't work properly (formit questionnaire).
There is no message in the log file.
My guess is that there is some problems with the directories owner, but it's only a guess...
I then feel there is a real need for a tool to help migrating modx developments from one server to another between dev and prod but also to ensure service while moving to a larger server for example.
Any tough, remarks?
Philippe
[ed. note: Fildefer57 last edited this post 15 years, 1 month ago.]