Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2013-07-18 14:10:08
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi a bit of progress.
Have re imported everything
However my index page is working but all the sub pages aren’t.
Here are the diagnostics i am getting.
Web Domain DNS lookup fails: 176.32.230.27
File directory path is not writable: 176.32.230.27/kro.co.uk/public_html/files
Temporary directory path is not writable: 176.32.230.27/kro.co.uk/public_html/textpattern/tmp
Some Textpattern files have been modified:
/home/sites/kro.co.uk/public_html/index.php,
/home/sites/kro.co.uk/public_html/textpattern/include/txp_auth.php,
/home/sites/kro.co.uk/public_html/textpattern/index.php,
/home/sites/kro.co.uk/public_html/textpattern/lib/class.thumb.php,
/home/sites/kro.co.uk/public_html/textpattern/lib/txplib_db.php,
/home/sites/kro.co.uk/public_html/rpc/index.php ?
In the diagnostics info it is saying
Document root: /var/www/html
$path_to_site: /home/sites/kro.co.uk/public_html
Textpattern path: /home/sites/kro.co.uk/public_html/textpattern
These are still referencing the old site, how do i change this?
Offline
#14 2013-07-18 14:51:26
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Transferring a site and getting errors
tayfighter wrote:
how do i change this?
Admin > Preferences > Site URL
Note that you’ll need to have a look at the htaccess rules whether there’s an http://www or http preference, and adjust the Admin preference accordingly. Else you’ll be kicked out of the admin on every page change.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#15 2013-07-18 15:51:25
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi
This is what is in the htaccess file
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
I can view the index page, but get errors for every sub page.
Thanks
Offline
#16 2013-07-18 16:27:50
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Transferring a site and getting errors
The htaccess is the one from the installation, unchanged, nothing unusual.
What errors, please? On the public side, I assume?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#17 2013-07-18 16:41:05
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Yeah sorry all links to sub pages are not working.
Offline
#18 2013-07-18 17:03:25
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Transferring a site and getting errors
You seem to have it working, right? (I clicked around on kro.co.uk and found no errors.)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#19 2013-07-18 17:57:38
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi
That’s probably the old hosting
The new hosting is here
176.32.230.27/kro.co.uk/
Last edited by tayfighter (2013-07-19 08:18:21)
Offline
#20 2013-07-24 06:46:05
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi
Can anyone help with this.
Not sure what i’ve missed.
None of the sub pages work and I cant seem to edit these
$path_to_site: /home/sites/kro.co.uk/public_html
Textpattern path: /home/sites/kro.co.uk/public_html/textpattern
Thanks
T
Offline
Re: Transferring a site and getting errors
Hi
to edit those value you must go to php_myadmin and look to txp_prefs and there search $path_to_site and change it s value to whatever you want (make a backup of db before doing anything).
Offline
#22 2013-07-26 12:31:06
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi
I’ve edited siteurl but cant seem to find any reference to $path_to_site
I’m guessing this is what is causing the sub pages not to work?
Offline
#23 2013-07-26 12:34:24
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Transferring a site and getting errors
tayfighter wrote:
cant seem to find any reference to $path_to_site
Can you find path_to_site
? Edit: in table txp_prefs
Last edited by uli (2013-07-26 12:35:22)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#24 2013-07-29 13:11:23
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi
There is a entry called siteurl which i have changed but i cant seem to find any reference of $path_to_site
In the diagnostics it is still saying the value of this is the old url.
Cant work out what i’ve missed?
Offline