Hello everybody, this is my first post since I'm a rookie in Modx
I'm trying to move a site from an existing Modx 2.5.1 server to a brand new host powered by Google Cloud Platform.
The new site has been created using Bitnami launcher. This launcher has installed PHP/MySQL/Apache and Modx 2.5.7.
To perform the host change I have done all the steps written in official documentation from this link:
https://docs.modx.com/revolution/2.x/administering-your-site/moving-your-site-to-a-new-server
I have zipped all files from my old server and move it to the new one. Since Bitnami launcher has a base Modx site (root folder creaed at /opt/bitnami/apps/modx/) I have unzipped my old site's files under a new and separate folder in the new host (location of my root at the new host: /home/myself/my_new_site/public_html/). Then I have updated my paths in config.inc.php and config.core.php. Also I have created a new user in my new host's MySQL Server (same username as the one I had @ old server) and uploaded my database.
After updating .htaccess I have cleared the cache folder of my new location (/home/myself/my_new_site/public_html/core/cache) and tried to run
setup. Here my problems started since I had a blank page.
But I was still able to open the manager, so I look into the logs and I found these entries each time I wanted to open my site in the new host:
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/xpdo/xpdo.class.php : 644) Could not load class: MinifyX from minifyx.
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/xpdo/xpdo.class.php : 1247) Problem getting service minifyx, instance of class MinifyX, from path /opt/bitnami/apps/modx/core/components/minifyx/model/minifyx/
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/cache/includes/elements/modsnippet/19.include.cache.php : 39) PHP warning: include_once(/opt/bitnami/apps/modx/core/components/wayfinder/wayfinder.class.php): failed to open stream: No such file or directory
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/cache/includes/elements/modsnippet/19.include.cache.php : 39) PHP warning: include_once(): Failed opening '/opt/bitnami/apps/modx/core/components/wayfinder/wayfinder.class.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php')
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/xpdo/xpdo.class.php : 644) Could not load class: Wayfinder from wayfinder.
[2017-06-05 18:23:08] (ERROR in resource 1 @ /opt/bitnami/apps/modx/core/model/modx/modparser.class.php : 1353) Bad link tag `[[~939]]` encountered
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/cache/includes/elements/modsnippet/19.include.cache.php : 39) PHP warning: include_once(/opt/bitnami/apps/modx/core/components/wayfinder/wayfinder.class.php): failed to open stream: No such file or directory
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/cache/includes/elements/modsnippet/19.include.cache.php : 39) PHP warning: include_once(): Failed opening '/opt/bitnami/apps/modx/core/components/wayfinder/wayfinder.class.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php')
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/xpdo/xpdo.class.php : 644) Could not load class: Wayfinder from wayfinder.
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/xpdo/xpdo.class.php : 644) Could not load class: minishop2 from minishop2.
[2017-06-05 18:23:08] (ERROR @ /opt/bitnami/apps/modx/core/xpdo/xpdo.class.php : 1247) Problem getting service minishop2, instance of class minishop2, from path
I have changed some folders permissions to 777, I have edited php.ini and removed semicolon from "extension=php_pdo_mysql.dll" ... But the problem persists. Don't know waht else to do.
I'm confused: why these log entries refers to default Modx installation path (/opt/bitnami/apps/modx/) instead the root of my site (/home/myself/my_new_site/public_html/)?
I cleared the cache items under default Modx(/opt/bitnami/apps/modx/core/cache) and then I had a blank page when trying to open manager.
Do you think it's because my old site was in 2.5.1 version and the new host has 2.5.7? I guess it shouldn't be a problem since I'm going into a newer version ... I'm I right?
I woudl really appreciate your help.
Thanks!!!