CMS and PHP8 - HTTP Error 500

Issues related to the CMS tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/cms_tools.html
A lot of information about the Content Manager System can be found in the help/manual. Please read this first before posting any questions! Also check out the demo template that is include with the software.

CMS trouble shooting / FAQ:
viewtopic.php?f=10&t=43245
Post Reply
bigdenis
 
 
Posts: 17
Joined: Sat Mar 02, 2019 11:09 am

CMS and PHP8 - HTTP Error 500

Post 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
User avatar
Pablo
 
Posts: 22486
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: CMS and PHP8 - HTTP Error 500

Post by Pablo »

Thanks for the information.

This issue has been addressed in the latest build (01/16/2022)
https://www.wysiwygwebbuilder.com/download.html
bigdenis
 
 
Posts: 17
Joined: Sat Mar 02, 2019 11:09 am

Re: CMS and PHP8 - HTTP Error 500

Post 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.
User avatar
Pablo
 
Posts: 22486
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: CMS and PHP8 - HTTP Error 500

Post 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?
bigdenis
 
 
Posts: 17
Joined: Sat Mar 02, 2019 11:09 am

Re: CMS and PHP8 - HTTP Error 500

Post 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
User avatar
Pablo
 
Posts: 22486
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: CMS and PHP8 - HTTP Error 500

Post 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.
bigdenis
 
 
Posts: 17
Joined: Sat Mar 02, 2019 11:09 am

Re: CMS and PHP8 - HTTP Error 500

Post by bigdenis »

Thanks, Pablo. I will do that. Once again, thanks for everything.

Yours sincerely
bigdenis
Post Reply