Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-12-23 13:42:56

Anton2
New Member
Registered: 2018-12-22
Posts: 9

Errors in Diagnostics

I have a couple of errors in the Diagnostic panel, any help appreciated.

First, if I remove the .htaccess file (I’d prefer to manage access policies via apache *.conf files directly), the panel reports:

.htaccess file is missing.

Would that be critical to TXP operation, or I can ignore that?

Second, I have all my folders reported as “not writable”, while, in fact, they are writable:

Image directory is not writable: /var/www/mysite/images.
File directory path is not writable: /var/www/mysite/files.
Theme directory is not writable: /var/www/mysite/themes.
Temporary directory path is not writable: /var/www/mysite/textpattern/tmp.

Through using search, I recognized that this may be related either to access rights or to the incorrect path. But the paths are OK, and the rights are set to 755 (777 does not help neither).

The ownership seems fine as well (apache/apache), and the PHP-FPM pool is launched from under user “apache” as well.

So I’m puzzled.

Can this be related to certain PHP functions switched off? The Diag panel reports as warning:

The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: curl_exec, curl_multi_exec, show_source.

I checked the documentation, and it does not specify these functions as necessary for TXP, so I left them disabled.

Thanks in advance for any advice.

Offline

#2 2018-12-23 16:49:30

Anton2
New Member
Registered: 2018-12-22
Posts: 9

Re: Errors in Diagnostics

Anton2 wrote #315695:

Second, I have all my folders reported as “not writable”, while, in fact, they are writable:

Oh that’s been SELinux, damn it!

May I ignore the .htaccess error, though?

Offline

#3 2018-12-23 17:16:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,009
Website

Re: Errors in Diagnostics

Hi Anton,

if you are using messy urls, the htaccess is not directly needed by txp but it does help in many other ways when you start getting into it.

The .htaccess file is missing probably because you are using a mac and all files starting with a dot are not visible unless you set up the preferences of your ftp client (transmit, FileZilla, Cyberduck, etc) to view invisible files.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#4 2018-12-23 17:19:58

Anton2
New Member
Registered: 2018-12-22
Posts: 9

Re: Errors in Diagnostics

No, it’s missing because I just removed it. As a said, I put all directives into apache .conf files directly.

Offline

#5 2018-12-23 17:43:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,009
Website

Re: Errors in Diagnostics

I’m sure it will be OK, but it would be good if our devs confirm.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

Board footer

Powered by FluxBB