Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2020-12-19 02:31:55

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,662
Website

Re: [resolved] Database sleuthing

Just the /files and /tmp paths keep reading not writable, even though they are both set to 777.

Way past bed time. I’m outta here.

Offline

#12 2020-12-19 11:10:58

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,349

Re: [resolved] Database sleuthing

Destry wrote #327661:

Just the /files and /tmp paths keep reading not writable,

You’re not the first person to say this…who else mentioned this in the last week or so? Very vague memory of someone (Algaris? I’ll check.) else saying they had the same thing on an upgrade.

Offline

#13 2020-12-19 13:08:34

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,035
Website

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

#14 2020-12-19 16:38:19

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,662
Website

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

#15 2020-12-20 07:46:24

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,467
Website

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.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#16 2020-12-20 10:11:18

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,349

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

Board footer

Powered by FluxBB