Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-06-24 19:41:48

hicks
Member
From: Portland, OR, USA (ex-UK)
Registered: 2009-05-08
Posts: 106
Website

Moving domains, not hosts or database.

I have a couple domains hosted with Godaddy, who also have my database.

I just moved my Textpatterned site from one domain to another just by FTP downloading the whole thing from the old domain then uploading it to the new one, and while it seems to all work fine, TXP’s Diagnostics are claiming my /files and my /tmp folders are not writable—even though they are (777), and that “Temporary directory path and Plugin cache directory path should not match”.

I only discovered these problems because rss_admin_db_manager couldn’t back up, claiming that unwritable /files folder.

I thought I might get some hiccups; can someone tell me what went wrong? is there a line in a .PHP file I should be editing?

By the way, I have deleted my old Textpattern site.

Thanks,

hicks.

Offline

#2 2009-06-24 19:45:24

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: Moving domains, not hosts or database.

Did you update config.php to reflect your new domain/location?

Offline

#3 2009-06-24 19:55:06

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Moving domains, not hosts or database.

Did you change the files and tmp paths in Advanced preferences?

Offline

#4 2009-06-24 20:38:55

hicks
Member
From: Portland, OR, USA (ex-UK)
Registered: 2009-05-08
Posts: 106
Website

Re: Moving domains, not hosts or database.

I wondered about both of these; no, I didn’t. They’re all:

/home/xxx/html/(subdirectory)/ etc,

and as I moved the site without adding or subtracting any directories from the file path—effectively, only the domain name—these looked fine to me. Are they not?

And if the folders aren’t really writable, how come I can still upload images?

Last edited by els (2009-06-25 21:35:01)

Offline

#5 2009-06-24 21:04:28

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Moving domains, not hosts or database.

hicks wrote:

And if the folders aren’t really writable, how come I can still upload images?

Diagnostics also reports directories as ‘not writable’ if they are not found. Can you post your diagnostics?

Offline

#6 2009-06-24 21:13:19

hicks
Member
From: Portland, OR, USA (ex-UK)
Registered: 2009-05-08
Posts: 106
Website

Re: Moving domains, not hosts or database.

File directory path is not writable: /home/xxx[real path removed]/files
Temporary directory path is not writable: /home/xxx[real path removed]
Some Textpattern files have been modified: 
/home/yyy[real path removed]/lib/admin_config.php ?
Temporary directory path and Plugin cache directory path should not match. ?

(Note I changed some of the privileges in admin.php a while back.)

Just clicked on the Files tab; got an unwritable folder error.

Last edited by els (2009-06-25 21:36:08)

Offline

#7 2009-06-24 21:22:17

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Moving domains, not hosts or database.

I see different paths:

File directory path is not writable: /home/xxx[real path removed]/files
Temporary directory path is not writable: /home/xxx[real path removed]/textpattern/tmp ?
/home/yyy[real path removed]/lib/admin_config.php

My guess is that the files and temp directory paths should be

/home/yyy[real path removed]/files
/home/yyy[real path removed]/textpattern/tmp

BTW don’t ignore the security risks warning.

Last edited by els (2009-06-25 21:37:29)

Offline

#8 2009-06-24 21:40:14

hicks
Member
From: Portland, OR, USA (ex-UK)
Registered: 2009-05-08
Posts: 106
Website

Re: Moving domains, not hosts or database.

All right; that worked a treat. Do the same thing to config.php? (Have just done so already, but…)

Just trying to figure out how to upgrade my PHP now. Any warnings of pitfalls?

Thanks!

Offline

#9 2009-06-24 21:54:00

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Moving domains, not hosts or database.

hicks wrote:

Do the same thing to config.php? (Have just done so already, but…)

Yes :)

Just trying to figure out how to upgrade my PHP now. Any warnings of pitfalls?

If you don’t figure it out (can’t help you with that), you can uncomment this line in .htaccess:

#php_value register_globals 0

Offline

#10 2009-06-25 00:02:45

hicks
Member
From: Portland, OR, USA (ex-UK)
Registered: 2009-05-08
Posts: 106
Website

Re: Moving domains, not hosts or database.

Thanks, Els. I’ll figure out and shore up the PHP.
Should we delete this thread/topic? Seems a bit sketchy to have my info up here for some reason. I’d delete my posts, but the thread would be a bit weird without them.

h.

Offline

#11 2009-06-25 15:33:21

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Moving domains, not hosts or database.

hicks wrote:

Seems a bit sketchy to have my info up here for some reason.

Better like this? :)

Offline

#12 2009-06-25 16:01:25

hicks
Member
From: Portland, OR, USA (ex-UK)
Registered: 2009-05-08
Posts: 106
Website

Re: Moving domains, not hosts or database.

That’ll work, though anyone who uses this as a reference won’t see the different paths… maybe xxx and yyy or *** and %%% ??
Either way, I feel more secure now, even if it didn’t matter in the first place. Thanks.

Offline

Board footer

Powered by FluxBB