Quote from: OpenGeek at Jan 13, 2011, 09:21 AM
Just run setup in upgrade mode in the new location. Your paths are definitely not correct.
hi OpenGeek
after several attempts, i am still struggling with my site moving from localhost to live server
now i will try to provide all information to you in hopes of letting me know what i might be doing wrong or anything i missed
MODX versiion 2.0.6-pl2
MySQL 5.0.32 on live server
PHP 5.2.10 on live server
core/config/config.inc.php:
$database_type = 'mysql';
$database_server = 'localhost';
$database_user = 'myusername';
$database_password = '*********';
$database_connection_charset = 'utf8';
$dbase = '`mydatabase`';
$table_prefix = 'mytableprefix_';
....
$modx_core_path= '/core/';
$modx_processors_path= '/core/model/modx/processors/';
$modx_connectors_path= '/connectors/';
$modx_connectors_url= '/connectors/';
$modx_manager_path= '/manager/';
$modx_manager_url= '/manager/';
$modx_base_path= '/';
$modx_base_url= '/';
$http_host='mydomain.com';
$modx_assets_path= '/assets/';
$modx_assets_url= '/assets/';
I also tried with
'/'.dirname( __FILE__) .
and
dirname( __FILE__) .
at the beginning of folders, for ex:
$modx_manager_url= '/'.dirname( __FILE__) .'/manager/';
$modx_base_path= '/'.dirname( __FILE__) .'/';
Now my hosting company adjusted the server to meet all requirements for MODXcms and there is no long path as usual (like /public_html/.../ whatever) that’s why my paths are so short
I still get same error messages as i wrote in my first post and even tried your suggestion to run setup again
Here is the error message I get when trying to run setup:
Warning: session_start() [function.session-start]: open(/tmp/sess_22ffb3a841d8d2e18643b972f3290634, O_RDWR) failed: No such file or directory (2) in /setup/index.php on line 32
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /setup/index.php:32) in /setup/index.php on line 32
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /setup/index.php:32) in /setup/index.php on line 32
FATAL ERROR: MODx Setup cannot continue.
Make sure your PHP session configuration is valid and working.
Warning: Unknown: open(/tmp/sess_22ffb3a841d8d2e18643b972f3290634, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
I am confident, there is something minor which should be adjusted properly however at the moment I can not figure out the exact cause of this issue.
I know your time is precious but probably with the above information you or someone else could figure out more quickly what steps should be taken. By Wednesday, my site should be running
Many thanx in advance