+ Reply to Thread
Results 1 to 3 of 3

Thread: HTTP ERROR 500: Website is down

  1. #1
    Junior Member
    Join Date
    May 2020
    Location
    Sydney, Australia
    Posts
    25

    HTTP ERROR 500: Website is down

    Hi there

    Just checked today that the dewalist.com site is down - HTTP Error 500.

    We checked the error_log and it has something to do with this:

    [14-Dec-2021 18:29:35 UTC] PHP Parse error: syntax error, unexpected ':', expecting '{' in /home/dewacorp/public_html/dewalist.com/vendor/symfony/polyfill-php80/bootstrap.php on line 23

    We looked at the file and compare it with the backup file and nothing change. Any ideas?

    Other websites within this Cpanel hosting are OK just only Flynax classified web app has an issue.

    Any input that will be good.

    Thanks

    Code for /vendor/symfony/polyfill-php80/bootstrap.php:

    Code:
    Only registered members can view the code.
    Last edited by dcpartners; December 14, 2021 at 06:53 PM.

  2. #2
    Master
    Join Date
    Apr 2017
    Location
    Tehran/Iran
    Posts
    492
    Hi... Ask your server admin to install/enable intl PHP extension.

  3. #3
    Junior Member
    Join Date
    May 2020
    Location
    Sydney, Australia
    Posts
    25
    Quote Originally Posted by Bahram Soltanirad View Post
    Hi... Ask your server admin to install/enable intl PHP extension.
    Thanks Bahram. I checked the CPanel and the component of PHP 7.4 (current) and it has INTL already selected. Then I did change to PHP 8 and it break the code, I put it back into 7.4 and worked well.

    Somehow this works. ?!?! All good now.

+ Reply to Thread