moving c5 site to new server

Permalink
Howdy.

http://www.stomp-box.co.uk

Exported database and copied out public_html files excluding updates, cache and tmp

Copied files to public_html on new host , imported database, copied latest C5 5.6.3.1 to Updates/concrete5.6.3.1

Updated config.sys/site.php to

<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', '-------');
define('DB_PASSWORD', '-------');
define('DB_DATABASE', '-------');
define('PASSWORD_SALT', '--------');
define('DIRNAME_APP_UPDATED', 'concrete5.6.3.1_updater');?>

I'm getting this message when i try to load the site

Invalid "DIRNAME_APP_UPDATED" defined. Please remove it from /root/config/site.php.

Any ideas???

Thanks in advance . . .

 
mhawke replied on at Permalink Reply
mhawke
NEVER post your database details in a public forum like this! You should edit them out before Google indexes the information.
exchangecore replied on at Permalink Reply
exchangecore
Change your DIRNAME_APP_UPDATED to 'concrete5.6.3.1' it is looking for the directory in your updates folder, and it doesn't exist since you told it to look for 'concrete5.6.3.1_updater' and you named your folder 'concrete5.6.3.1'.

What you could also do, is simply take the /concrete/ folder out of the /updates/concrete5.6.3.1/ directory and move it to the /concrete/ directory on the root of your website, then remove the DIRNAME_APP_UPDATED completely from your configuration file.

As mhawke said, you should remove ALL of your DB_* variables from your configuration. These should never be shared, you essentially are giving away full access to your website by doing so.
mhawke replied on at Permalink Reply
mhawke
I'm afraid Google has already made your database information public. They show a search result leading to this post:

http://www.concrete5.org/community/forums/installation/moving-c5-to...

You need to change the login credentials to your database and then change them in your [root]/config/site.php file