Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-16 20:29:33

blueprint
Member
From: Netherlands
Registered: 2006-03-05
Posts: 43
Website

path_to_site is not accessable after moving my site (solved)

I got some troubles with moving my site from my ISP to my local computer (XP). I copied all the files, changed the config.php and then changed the settings in preferences (url and path for files en temp files). I exported the database and imported it in my localhost database.

This is ok, but then diagnostics came with the error that path_to_site is not accessable; it refers still to the path on my ISP. And worse: my site isn’t shown properly. I got a homepage but the page isn’t complete and is without articles. Database seems ok.
I searched the forum and found out that this issue would be solved by starting the site. But that didn’t work for me.

How can I repair this.

Last edited by blueprint (2007-01-17 20:31:25)

Offline

#2 2007-01-16 21:29:32

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: path_to_site is not accessable after moving my site (solved)

path_to_site is automatically updated when you visit your textpattern admin panel. Check the diagnostics page while you’re there.


Alex

Offline

#3 2007-01-17 18:05:24

blueprint
Member
From: Netherlands
Registered: 2006-03-05
Posts: 43
Website

Re: path_to_site is not accessable after moving my site (solved)

I did that, but in this case it isn’t updated automatically. I both visited the site itself and the admin panel. But the problem remains. Can there be a reason for not updating automatically; and is there a way to update it manually??

Offline

#4 2007-01-17 20:30:45

blueprint
Member
From: Netherlands
Registered: 2006-03-05
Posts: 43
Website

Re: path_to_site is not accessable after moving my site (solved)

Solved my problem, but it had nothing to do with path_to_site!!
In my root directory were (among others) 2 files: index.php and index.html. (how the index.html came there: I really don’t know). In the unix/apache environment the index.php took prevelance over the index.hmtl. My home (XP/Apache) it was the other way round. And this was also the reason the path_to_site was not updated.
I removed the index.html and the problem was solved.

Offline

#5 2007-05-02 16:50:59

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: path_to_site is not accessable after moving my site (solved)

In the event anyone else needs this info.

$path_to_site was not auto updating for me.

Directions:

1. Do not pull out all your hair. I tried…doesn’t help.
2. login to host control panel use – phpmyadmin (or your fav.)
3. Select textpattern database
4. select txp_prefs
5. choose “browse”
6. select “edit” on “path_to_site” (little pencil)
“path_to_site” may be listed on page 2 depending on how many rows you view at once.
Change the entry to the correct directory
7. hit “save”.
8. Have a drink.

Warnings: Backup database first. Don’t fool around unless you know what you’re doing or are willing to crash and burn (like me.)


Tom

Offline

Board footer

Powered by FluxBB