Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2011-07-14 19:08:38
- jmart
- Member
- Registered: 2008-08-25
- Posts: 68
Temp and File Directory Path
When moving my txp site from one domain and host to another domain and host, I have to change the temp and file directory path under Advanced Admin section.
I have this as given as my new TXP path for my new host; /home/content/56/8120452/html/textpattern
How would my new temp and file paths look like based on the above? Is it something like this;
/home/content/52/8120452/html/textpattern/mydomain.com/html/files
/home/content/52/8120452/html/textpattern/mydomain.com/html/textpattern/tmp
or something like this;
/home/content/52/8120452/html/mydomain.com/html/files/
/home/content/52/8120452/html/mydomain.com/html/textpattern/tmp
or something else?
Offline
Re: Temp and File Directory Path
jmart wrote:
How would my new temp and file paths look like based on the above?
If /home/content/56/8120452/html/textpattern
truly is the path to your textpattern directory, then based on it:
/home/content/52/8120452/html/files
/home/content/52/8120452/html/textpattern/tmp
Offline
#3 2011-07-14 20:42:25
- jmart
- Member
- Registered: 2008-08-25
- Posts: 68
Re: Temp and File Directory Path
The domain has to be in there. As the old site’s file path had the domain in it too. So given that where would the domain be in that path?
Offline
Re: Temp and File Directory Path
What does your Textpattern diagnostics (TXP/Admin/Diagnostics) report as the Textpattern path
or the path_to_root
. If the path you gave is path to the textpattern directory, then there isn’t domain in the path.
jmart wrote:
The domain has to be in there. As the old site’s file path had the domain in it too.
There isn’t rule that says that the domain has to be in the path, if that’s is the reason you are giving. Not based on that. A web server can server files from any location.
Offline
#5 2011-07-14 21:48:18
- jmart
- Member
- Registered: 2008-08-25
- Posts: 68
Re: Temp and File Directory Path
Hmm.. It’s saying that the temp and file path is not writable but the path is from the old server so that isn’t helping us to determine the path of the new server.
Offline
Offline
#7 2011-07-14 21:59:43
- jmart
- Member
- Registered: 2008-08-25
- Posts: 68
Re: Temp and File Directory Path
ah nevermind. i see what you’re saying. i inputted your suggestion and the file path passed!
Textpattern version: 4.4.1 (r3575)
Last Update: 2011-06-27 21:04:37/2011-07-14 18:12:26
Document root: /var/chroot/home/content/52/8120452/html (/home/content/52/8120452/html)
$path_to_site: /home/content/52/8120452/html
Textpattern path: /home/content/52/8120452/html/textpattern
Permanent link mode: section_title
upload_tmp_dir: /tmp
Temporary directory path: /home/content/52/8120452/html/textpattern/tmp
PHP version: 5.2.17
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server TZ: America/Phoenix
Last edited by jmart (2011-07-14 22:00:18)
Offline
Offline
#9 2011-07-15 00:36:37
- jmart
- Member
- Registered: 2008-08-25
- Posts: 68
Re: Temp and File Directory Path
there was a disconnect b/w you were saying and what i interpreted.
Offline
Re: Temp and File Directory Path
For what it’s worth, I tend to set up and configure non-standard named temp folders and put a . at the beginning, for example: /textpattern/.banana-temp
– it’s less obvious to drive-by malcontents and opportunists, especially if .htaccess
allows file/directory listing.
Offline
Pages: 1