Configuring SitePush – help please
-
I am configuring SitePush for the first time. My live site is getting the error message from SitePush: DB config file present, but it cannot be read.
Please can SKS suggest what might be wrong.
My putative test site can be visited OK, so the WP install seems OK.In the following, <…> are strings that have been replaced in this post to protect my site. Both my live site and the putative test site are located in folders in /home/<mydomain>/public_html
I have created a folder /home/<mydomain>/sitepush which contains the site config and dbs config .php files (and a folder for site push backups).
The site config.php file is being read OK but the db config file is not – it appears. The files are in the same folder and both have permissions 644. Perhaps it can read it but there is something wrong with the content?My config.php file is as follows (not sure what wp_dir & wp_content-dir need to be set to?):
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
<?php die('Forbidden'); ?> -*- conf -*- [all] wp_dir = /wp wp_content_dir = /wp/wp-content cache = no caches[] = /caches/timthumb caches[] = /caches/something_else [live] label = Live Site domains[] = <myURL> web_path = /home/<mydomain>/public_html/<site> db = live live = yes [dev] label = Dev Site domains[] = test.<myURL> web_path = /home/<mydomain>/public_html/test-<site> db = dev live = no </blockquote> and my dbs config .php file is thus: <blockquote>; <?php die('Forbidden'); ?> -*- conf -*- ; Do not remove the above line, it is all that prevents this file from being downloaded. [all] prefix = oo_ [live] name = <live_db_name> user = <live_db_user_name> pw = <password> [dev] name =<test_db_name> user = <test_db_user_name> pw = <password> </blockquote>
Any help will be much appreciated.
- The topic ‘Configuring SitePush – help please’ is closed to new replies.