I am having an issue when I try and re-run my setup script for a site migration. After setting up, I moved my test site from another server and another URL to a new server and URL. The new server on a new host (network solution) does not have the same long direct paths as my previous server.
In calling the host they say the direct path is: /htdocs/
Anyway, I turned of friendly URLs, cleared cache and sessions and downloaded all site files and database (from working install). I then uploaded all exisitng files to new server and installed the database via phpMyAdmin. I then had to modify the config.core.php file in the root to the new path which is: /htdocs/core/. My problem comes in trying to get my config.inc.php urls correct.
I re-installed the original setup folder and then run the upgrade option. I keep getting this issue during upgrade:
Checking if /manager/ directory exists: Failed!
Checking if /connectors/ directory exists: Failed!
I tried it with and without the /htdocs/ in front of both these lines but it keeps failing. These directories are there and have proper permissions (755).
Here is what I have in my config on these lines:
if (!defined('MODX_CONNECTORS_PATH')) {
$modx_connectors_path= '/connectors/';
$modx_connectors_url= '/connectors/';
define('MODX_CONNECTORS_PATH', $modx_connectors_path);
define('MODX_CONNECTORS_URL', $modx_connectors_url);
}
if (!defined('MODX_MANAGER_PATH')) {
$modx_manager_path= '/manager/';
$modx_manager_url= '/manager/';
define('MODX_MANAGER_PATH', $modx_manager_path);
define('MODX_MANAGER_URL', $modx_manager_url);
}
All the others options show the proper path like this: Checking if /data/15/1/99/152/1751315/user/1892486/htdocs/core/export directory exists: OK!
Although my lines in my config file look like this: /htdocs/core/ so I don't know here the data/15/1/99... riff raff is coming from.
I am unsure if this is another setting due to the migration or there is something wrong with my lines here.