Hi all!
I've been developing a website on my machine locally and everything went great. Now the time has come to move it and make it accessible to the whole world!
But that's where I'm stuck. I've followed a guide (
http://rtfm.modx.com/revolution/2.x/administering-your-site/moving-your-site-to-a-new-server) step by step but unfortunately to no avail.
I've noticed that some things are different in the guide than they are for me. For example, the guide mentions to update the config.core.php files:
There are also 3 additional configuration files that contain two PHP constants:
define('MODX_CORE_PATH', '/path/to/modx_doc_root/core/');
define('MODX_CONFIG_KEY', 'config');
But when I open up these files they say something different:
define('MODX_CORE_PATH', dirname(__FILE__) . '/core/');
define('MODX_CONFIG_KEY', 'config');
Also when updating the workspaces in the database the guide makes it look like there should be a relative path to the core folder, except when I open it up it says "{core_path}".
I did update the config file in the core folder (and to my knowledge I did that correctly), but when I go to the manager it says:
Fatal error: Call to a member function getMessage() on a non-object in /home/sandeyv85/domains/sdekroon.nl/public_html/core/model/modx/modmanagercontroller.class.php on line 618
And when I try to re-run the setup it's giving me three errors:
Checking if /domains/sdekroon.nl/public_html/ directory exists: Failed!
Checking if /domains/sdekroon.nl/public_html/manager/ directory exists: Failed!
Checking if /domains/sdekroon.nl/public_html/connectors/ directory exists: Failed!
Does anybody know what I've done wrong?
Details:
- PHP 5.3.27
- MySQL 5.5.34
- ModX 2.3