Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2013-07-18 16:27:50

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

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,319

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

#21 2013-07-24 07:48:17

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,559
Website GitHub Twitter

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,319

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

#25 2013-07-29 13:32:34

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: Transferring a site and getting errors

OK, maybe we’ve not been clear enough:

The preference is named path_to_site, not $path_to_site. In your case it needs editing via php_myadmin, table txp_prefs (not via the Textpattern admin).


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#26 2013-07-31 14:28:40

tayfighter
Member
Registered: 2013-07-15
Posts: 23

Re: Transferring a site and getting errors

Hi

Thanks found it.

However when i change it it keeps resetting itself to the old settings.

/home/sites/kro.co.uk

Any ideas?

Do you think this is what is causing the sub pages to not be working.

Last edited by tayfighter (2013-07-31 14:30:42)

Offline

#27 2013-07-31 22:03:20

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: Transferring a site and getting errors

tayfighter wrote:

However when i change it it keeps resetting itself to the old settings.

So it seems the prefs setting is constantly taken from some other place. Didn’t know that. Will be the txpath entry in config.php.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#28 2013-08-01 09:18:42

tayfighter
Member
Registered: 2013-07-15
Posts: 23

Re: Transferring a site and getting errors

Hi

Thanks but i’d changed the config file too

This is what i changed it to >

$txpcfg[‘txpath’] = ’176.32.230.27/kro.co.uk/public_html/textpattern’;

Have copied and followed all the instructions for transferring and have edited all the relevant bits.

Offline

#29 2013-08-01 10:20:29

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,559
Website GitHub Twitter

Re: Transferring a site and getting errors

Hi

First check again your diagnostic page on textpattern admin to see if all is ok! i suspect that there is an htaccess problem there, try to switch to messy url on textpattern admin preference tab to see if links will work!

I confirm that is an htaccess problem there this link (a messy url schme to your section) works: http://176.32.230.27/kro.co.uk/index.php?s=kro-social-news-events-promotions

Last edited by Dragondz (2013-08-01 10:22:18)

Offline

#30 2013-08-01 11:16:06

tayfighter
Member
Registered: 2013-07-15
Posts: 23

Re: Transferring a site and getting errors

Thanks Dragondz

Tried changing it to messy, but still getting errors.

Havent changed 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

And from the textpattern diagnostics, im getting the following

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 ?
Clean URL test failed.

I assume the Web Domain DNS lookup fails because the domain isnt set up yet, but the other settings are still referring to the old settings.

Any ideas.

thanks for the help.

Offline

Board footer

Powered by FluxBB