Concrete5 directory
Permalink
So can someone tell me if the "Concret5" directory referenced in the move instructions means the entire install of C5 or if it means just the directory named Concrete (not named concrete5)? One of my major complaints about the documentation is that it is really quite inexact in its descriptions. There is no directory named "concrete5" which basically means I have to guess between the entire install (which is what I think they mean) and the concrete directory. Thinking I would do less damage if I simply replaced the concrete folder on a new install of C5 on my target server with my existing concrete folder, I tried the concrete folder appraoch. But that did not work. Fortunately I just restored the newly installed concrete folder and the new install was back in working order. Now I'm guessing that they really meant to copy and move all the concrete5 files to the new target server. The problem I have with that is that my existing site.php will overwrite the new site.php with the correct db and password settings. I can of course make a copy of the new site.php, copy all the c5 files over and then put in the new site.php file but the instructions never mention this so that makes me think I am missing something. Any help would be appreciated. I love the product but the docs really are bad.
eti said:
"The problem I have with that is that my existing site.php will overwrite the new site.php with the correct db and password settings. I can of course make a copy of the new site.php, copy all the c5 files over and then put in the new site.php file but the instructions never mention this so that makes me think I am missing something."
IMHO. You are better off coping all your files and importing your database, then updating the copied /config/site.php from the souce site with the correct URL and database information on the new target site. Look at these values in your site.php in particular:
define('DB_SERVER', 'xxxxx');
define('DB_USERNAME', 'xxxxx');
define('DB_PASSWORD', 'xxxxx');
define('DB_DATABASE', 'xxxxx');
define('BASE_URL', 'http://www.yoursite.com');
"The problem I have with that is that my existing site.php will overwrite the new site.php with the correct db and password settings. I can of course make a copy of the new site.php, copy all the c5 files over and then put in the new site.php file but the instructions never mention this so that makes me think I am missing something."
IMHO. You are better off coping all your files and importing your database, then updating the copied /config/site.php from the souce site with the correct URL and database information on the new target site. Look at these values in your site.php in particular:
define('DB_SERVER', 'xxxxx');
define('DB_USERNAME', 'xxxxx');
define('DB_PASSWORD', 'xxxxx');
define('DB_DATABASE', 'xxxxx');
define('BASE_URL', 'http://www.yoursite.com');
They mean the whole c5 installation folder.
And when that is done put your site.php in it's place in the newly moved c5 directory where it belongs.
That way you know your c5 directory is correct and that the new files added is in order! :)
also remember to remove or add a new database or it can screw it all up!
Hope it helps ;)
And when that is done put your site.php in it's place in the newly moved c5 directory where it belongs.
That way you know your c5 directory is correct and that the new files added is in order! :)
also remember to remove or add a new database or it can screw it all up!
Hope it helps ;)
"So can someone tell me if the "Concret5" directory referenced in the move instructions means the entire install of C5 or if it means just the directory named Concrete (not named concrete5)?"
They are refering your concrete5 installation directory (usally your web root). The subdirectory /concrete is the "core" of concrete5. Hope that helps :)