Page 1 of 1

CMS and PHP8 - HTTP Error 500

Posted: Sun Jan 16, 2022 11:33 am
by bigdenis
Dear WYSIWYG Web Builder Developers!

I need help.
My website hosting provider has switched to PHP version 8 (PHP 8.0 (alt-php80) which is v8.0.14). From now on, the parts of the websites where the content is displayed from a database, ie with a CMS, will not work. Browser error code: http error 500.
Fortunately, I was able to configure PHP 7.4.27 as a temporary workaround: cPanel> MultiPHP Manager> PHP 7.4 (ea-php74) which is v7.4.27. So the website is still functional, but who knows how long. I would like the websites to work with the provider's default PHP8 as well.

I am using the latest version 17 of Web Builder (x64)
I enclose the following in one zip file (658 KB):

• one generated page of a website
• Error log generated by PHP8
• Phpinfo () PHP7
• Phpinfo () PHP8

Download attachments: https://drive.google.com/file/d/17LsfLM ... sp=sharing

I note that PHP 7.4 (alt-php74) also reports an “http error 500” error (“alt” version), meaning that only version “ea” still works properly.

Page link:
https://petarpan.edu.rs/informacije/sr_informacija.php
PHP info page link:
https://petarpan.edu.rs/phpinfo.php

Please help me. Thanks in advance.
Yours sincerely

bigdenis

Re: CMS and PHP8 - HTTP Error 500

Posted: Sun Jan 16, 2022 1:10 pm
by Pablo
Thanks for the information.

This issue has been addressed in the latest build (01/16/2022)
https://www.wysiwygwebbuilder.com/download.html

Re: CMS and PHP8 - HTTP Error 500

Posted: Mon Jan 17, 2022 7:36 am
by bigdenis
Dear Pablo,

I upgraded WYSIWYG Web Builder to the latest version (17.1.2 x64), but the situation has not changed. The error I reported still exists, i.e. the CMS does not work with PHP version 8 (HTTP Error 500). As I indicated earlier, everything works fine with PHP 7.
Do you have any advice? Thanks in advance.

Re: CMS and PHP8 - HTTP Error 500

Posted: Mon Jan 17, 2022 7:55 am
by Pablo
Are you sure that you have the latest build (01/16/2022)?
Did you republish the page?

Are you sure it's the same error?
Do you have an updated php error log?

Re: CMS and PHP8 - HTTP Error 500

Posted: Mon Jan 17, 2022 5:44 pm
by bigdenis
Pablo, you're a genius and I'm an inattentive person. I just noticed that there are two 17.1.2 versions, 2 days apart: January 14 and January 16. I reported the bug with the January 14 version. I just tried the January 16th version and everything is fine. The error is gone, the error log is empty. I apologize for the blind noise!

I am completely satisfied, but one thing is still a concern: as I said PHP 8.0 (ea-php80) works fine. However, PHP 8.0 (alt-php80) does not, it still indicates "HTTP error 500" error.
What could be wrong with the "alt" version of the PHP 8?
I left this PHP 8 "alt" version in cPanel so you can try it on this link: https://petarpan.edu.rs/informacije/sr_informacija.php
There is an entry in the error log:

[17-Jan-2022 17:16:01 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/petarpanedu/public_html/informacije/sr_informacija.php:3
Stack trace:
#0 {main}
thrown in /home/petarpanedu/public_html/informacije/sr_informacija.php on line 3


One read attempt, one log entry.
You can download error log, sr_informacija.php, and an error picture from this hiperlink: https://drive.google.com/file/d/1ohvoS0 ... sp=sharing

The non-CMS pages are working correctly: http://petarpan.edu.rs/sr_pocetna.html
Any advice from you? Maybe some setting in the cPanel by me or by website host provider?
Thanks in advance. Best regards.

bigdenis

Re: CMS and PHP8 - HTTP Error 500

Posted: Mon Jan 17, 2022 6:04 pm
by Pablo
The error
PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding()
indicates that the "php-mbstring" module is not installed.
You will need to contact your webhost about this.

Re: CMS and PHP8 - HTTP Error 500

Posted: Tue Jan 18, 2022 4:47 pm
by bigdenis
Thanks, Pablo. I will do that. Once again, thanks for everything.

Yours sincerely
bigdenis