Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Best practice for site re-development
iblastoff wrote:
whats the confusion? a txp test site is basically set up exactly like any other textpattern installation. there is no real difference.
if your test site is still somehow linked to your main site then your config.php is still messed up.
well i tried my best, the config file looked identical to the main site’s except the location was set to the new subdirectory. i’m going back to trying out local site development, i dont want to screw up my website again like what i did this morning.
Offline
Re: Best practice for site re-development
mrtunes wrote:
well i tried my best, the config file looked identical to the main site’s except the location was set to the new subdirectory. i’m going back to trying out local site development, i dont want to screw up my website again like what i did this morning.
You have to change not just the location (that is, the folder where TxP files are located) but also the database you wish to use. So, the config.php should not be identical except the location, but except the location and the database.
Offline
Re: Best practice for site re-development
maniqui wrote:
mrtunes wrote:
well i tried my best, the config file looked identical to the main site’s except the location was set to the new subdirectory. i’m going back to trying out local site development, i dont want to screw up my website again like what i did this morning.
You have to change not just the location (that is, the folder where TxP files are located) but also the database you wish to use. So, the config.php should not be identical except the location, but except the location and the database.
yep i did change that info in the file to a new mysql database(that i cloned)
Offline
Re: Best practice for site re-development
maniqui wrote:
There in the config.php, you should change the line that points to the main site’s database so it points to the test site’s database.
ok so plenty of cups of coffee later i found that i was somehow dragging a duplicate config file one folder up from the textpattern core. i was so concerned with this dupe that wasnt even doing anything that it was enough for me to do damage to my main site, as well have plenty of difficulty getting my first local site up and running, which it is now.
and also for anyone having trouble getting apache in xampp running, i have found that the problems start when you begin to muck with your virtualhosts settings. check all your syntax carefully cause that green light will either flip on or it won’t. granted i bet it wont turn on it tomorrow for me and i’ll be back to square one ;-)
EDIT: however the different sections of my site on the nav bar are now broken links. :-( the main blog page works locally though which is a big step.
Last edited by mrtunes (2007-09-15 09:30:38)
Offline