Cannot change theme

Post Reply
CarlSeiler
Jr. Bludit
Posts: 6
Joined: Mon Apr 08, 2019 5:24 pm
Has thanked: 1 time

Using Bludit 3.13.1 Pro

Following instructions at https://docs.bludit.com/en/getting-started/themes I click on "Activate" on a theme, the screen responds with a little blue "The changes have been saved." However, nothing really happens. The former theme is shown to be the active one (by lack of "Activate") and when I look at the page, nothing has changed. Is there something I'm missing?

I'm going to install 3.14.1 to see.
CarlSeiler
Jr. Bludit
Posts: 6
Joined: Mon Apr 08, 2019 5:24 pm
Has thanked: 1 time

OK, I installed 3.14.1 pro, and the same issue is occurring, but I see what the real problem is that no changes in the Admin panel are actually taking place. That is, I change any setting, and they don't seem to stick. This includes changing themes.

This makes me wonder if I need to use chmod to change the permissions for the files. I don't think I've changed anything in years, and it used to work, but clearly things don't work now. It is currently set to 0751. Is there a recommendation? I see the install.php mentions 0755, so I'll try that and see if that's it. (Nope, that's not it...changed to 755 and performs the same.)
CarlSeiler
Jr. Bludit
Posts: 6
Joined: Mon Apr 08, 2019 5:24 pm
Has thanked: 1 time

So I tarred up the whole directory and reinstalled from scratch. When the install script runs, it tells me "Missing file, upload the file .htaccess" but .htaccess is sitting right there.

It also says "Writing test failure, check directory 'bl-content' permissions." Everything is at 0755.

I restored from my tar, and I'm back where I started from. Can see my Bludit, but cannot modify anything.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Can you modify default content or publish new one?

Where do you host your installation?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
CarlSeiler
Jr. Bludit
Posts: 6
Joined: Mon Apr 08, 2019 5:24 pm
Has thanked: 1 time

It's like the whole thing is read-only, despite me running chmod -R 0755 on the bludit directory, and making sure that the .htaccess file is edited to point to /bludit/ on line 9.

I am not able to edit previously created content, nor am I able to create new content.

I'm hosted at SDF.org. We're running NetBSD 9.3 and PHP 8.1.18. The recent upgrades (as we used to run 5.6x), I thought might have killed something off, but that's why I tried wiping it and reinstalling.

I just did chmod -R 0771 and that got things working.

I'm thinking apache is in the nobody group, and needs to be able to write to files, and somewhere along the line I lost those permissions, and me applying 0751 or 0755 was not enough. Obv, in retrospect, I should have realized this, as apache would need to write, but I think I need to work out what optimal permissions need to be.

I appreciate your response as I worked it out.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Thank you for your feedback!

It seems that the installation has not given the right permissions.

How have you uploaded Bludit?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply