Textpattern CMS support forum
- New Member
- Registered: 2008-01-31
- Posts: 2
Document root problem
When I changed computers, I moved my textpattern install from the root on my old machine to a subdirectory on my new laptop. I changed the necessary fields in the admin > preferences, both basic and advanced. The main page loads fine, however, it can’t find any of the articles.
Diagnostics shows that it lists document root as the old location:
Document root: /Library/WebServer/Documents
instead of the new subdirectory that I have listed as the site URL:
Textpattern path: /Users/henry/Sites/blog/textpattern
How do I set the document root?
I tried adding:
$txpcfg[‘doc_root’] = ‘Users/henry/Sites/blog’;
to my config.php file, but it didn’t help.