Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [resolved] Database sleuthing
Destry wrote #327661:
Just the /files and /tmp paths keep reading not writable, even though they are both set to 777.
At the risk of stating the obvious – and I do this only because I’ve made that mistake often enough myself :-) – also check in TXP’s settings that the paths for the file and temporary directory are correctly set. If they’re still set to what you had locally, it will look for them and thinks they’re not writable on your online server (because they’re not there at all).
TXP Builders – finely-crafted code, design and txp
Offline
Re: [resolved] Database sleuthing
jakob wrote #327678:
check in TXP’s settings that the paths for the file and temporary directory are correctly set.
Yep.
But that does remind me of a question I’ve had…
Is the /tmp path always supposed to point to the /textpattern/tmp?
Or should it not?
Or does it matter what tmp on the server?
Offline
Re: [resolved] Database sleuthing
Destry wrote #327684:
Yep.
But that does remind me of a question I’ve had…
Is the /tmp path always supposed to point to the /textpattern/tmp?
Or should it not?
Or does it matter what tmp on the server?
I always point the Temporary directory path and the Plugin cache directory path below the site’s root and they both work fine.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [resolved] Database sleuthing
Destry wrote #327684:
Is the /tmp path always supposed to point to the /textpattern/tmp?
Or should it not?
Or does it matter what tmp on the server?
Nope. It can, but other locations can be used just fine. The web server user (and by extension, the PHP glue) runs as a user on the underlying system. This might be generic (e.g. www-data
is used a lot), or very specific (e.g. destrywion
). The user needs read/write access to the given location for temp stuff to work. Whether this temp directory is web-side (e.g. /textpattern/tmp
) or elsewhere (e.g. /tmp
) will be a factor in what it’s used for.
I don’t know of any way to prime the temp dir from Textpattern to see if it works, beyond looking for warnings in Diagnostics…though I’m sure someone else will pipe up soon.
Offline