Bludit on PHP8???

Post Reply
ergotone
Jr. Bludit
Posts: 2
Joined: Tue Feb 21, 2023 12:19 am
Has thanked: 2 times
Been thanked: 2 times

We recently upgraded our server to PHP8 (8.0.28) and our Bludit site is crashing with 500 error now.
Is there a quick fix for this? Do we need to upgrade to newer version?? Our Bludit was installed in 2019. (I'm not sure what version it is, is there a way to find that somewhere in the system files?)

Do I need to set up a VM running PHP 7 and install site backup, to export old content?

Please advise, thanks...
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:

The latest stable release v3.14.1 works with PHP 8.
ergotone wrote: Tue Feb 21, 2023 12:24 am Our Bludit was installed in 2019. (I'm not sure what version it is, is there a way to find that somewhere in the system files?)
The version number can be found in the file init.php in the directory /bl-kernel/boot.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
multicolordev
Master Bludit
Posts: 137
Joined: Thu May 26, 2022 12:33 pm
Has thanked: 15 times
Been thanked: 91 times

I make all my plugins on php 8.1 with Bludit 3.14.1 and works ok. Check yours .htaccess and permission for all folder.
Image
ergotone
Jr. Bludit
Posts: 2
Joined: Tue Feb 21, 2023 12:19 am
Has thanked: 2 times
Been thanked: 2 times

thanks for the confirmation!

It's all good now :)

I installed a fresh instance of latest BLUDIT 3.14.1 , enabled all the plugins i could remember ( last install was 2019!!) and then simply copied over the old content to the content folders.

Perfectly restored! I shall be keeping a closer watch on this in the future. I really like BLUDIT, it's very easy for my non-techie friends to deal with editing. I won't hesitate to buy the Pro version when the need arises...
tkeil69575
Jr. Bludit
Posts: 2
Joined: Fri Sep 29, 2023 12:39 am

I've just updated to Bludit 3.15.0 and was hoping it would now work with php8.2, but alas no .. getting a 500 error when I try to save any content. I had to revert to 8.1. Any ideas?
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:

Interesting... PHP 8.1 works?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
tkeil69575
Jr. Bludit
Posts: 2
Joined: Fri Sep 29, 2023 12:39 am

yes 8.1 works, should it not?
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:

It seems that a plugin causes the problem. For example the plugin Back to Top.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
ashrafakader
Sr. Bludit
Posts: 40
Joined: Tue Sep 05, 2023 1:33 pm
Has thanked: 9 times

I use PHP 8.2 and I have no problems.
(My installation is NOT an upgrade)
Post Reply