Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #927353

    Hi
    Please, I was updating Enfold at the last version available 4.2.6.
    Something went wrong. Now the website hang with error HTTP 500 maybe!
    The website is http://www.pmtsi.com
    Please, can you help me to see what happened.
    Thanks

    #927386

    Hey,

    Sorry for the inconvenience! Issue occurs on servers running PHP versions older than 5.6. You can either upgrade your PHP version to minimum 5.6 and preferably to 7.x or replace /wp-content/themes/enfold/header.php file with this one – https://www.dropbox.com/s/r389b5x4ippscyn/header.php?dl=0 to bring up backwards compatibility with older PHP versions.

    Cheers!
    Yigit

    #927403

    I’ve substituted the file header.php but it doesn’t work well.
    It lose formatting so it is impracticable.
    I need ask upgrade of PHP, but are you sure it works?
    Thanks
    Vito

    #927406

    Hi!

    Could you please share FTP and WP admin logins here privately so we can look into it? :)

    Cheers!
    Yigit

    #927409

    Here they are

    #927419

    Hi All,
    Same for me though I used PHP 7.0. Now I’ve upgraded to PHP 7.1 and tried – the same error HTTP 500.

    In the error.log I can see this string:
    newartcommunity.ru [Thu Mar 15 16:57:52 2018] [error] [pid 21244] mod_cgi.c(214): [client 109.166.244.254:59448] AH01215: PHP Fatal error: Can’t use function return value in write context in /home/p/pinguin/newartcommunity.ru/public_html/wp-content/themes/enfold/header.php on line 6
    newartcommunity.ru [Thu Mar 15 16:58:28 2018] [error] [pid 28765] mod_cgi.c(214): [client 52.86.110.193:33752] AH01215: PHP Fatal error: Can’t use function return value in write context in /home/p/pinguin/newartcommunity.ru/public_html/wp-content/themes/enfold/header.php on line 6

    #927422

    What happen if I upload the old Header.php ??? I’ve one copy saved.
    Thanks

    #927437

    From my perspective this is not correct approach to replace header.php by another one… I believe this replacement should be done after each theme update as it will be replaced by the file incorporated into the theme…

    Additionally it seems like it is not connected to php version, at least in my case, as I used the latest one…

    • This reply was modified 6 years, 6 months ago by Alex.
    #927446

    So, please,
    How to solve the problem and reactivate the service.
    Remember I’ve the online training stopped and i a short time I start to lose clients.
    Can we install an old version of Enfold? or what?

    #927448

    Hey!

    I removed “header-4-2-6-error.php” file and flushed browser cache and now it loads fine on my end. Attached a screenshot in private content field.
    Please review your website :)

    Cheers!
    Yigit

    #927452

    Hi!


    @pinguinbird
    header.php we provided will be included in upcoming update. Also, our devs and many users who are using PHP versions older than 5.6 confirmed that issue is definitely related to PHP version.

    Cheers!
    Yigit

    #927456

    Thanks
    I see the website up now.
    What was the problem?
    I’ve asked the provider to upgrade PHP to version 7.x. Is it still necessary?
    and the web site will stay up?
    I’ve a second website: http://www.tenstep.it to be updated. Ho can I avoid this inconvenient? Or I will not update at all.
    thanks
    Vito

    #927460

    Hi Vito,

    Please overwrite enfold/header.php file with the one we provided and do not keep the old version of header.php file.
    Now that you have replaced header.php file, you can continue using the theme on your current PHP version however we would recommend you to upgrade it. Please see this post as well – https://kinsta.com/blog/php-7-hhvm-benchmarks/

    Cheers!
    Yigit

    #927476

    Hi Yigit,
    Indeed, I’ve changed PHP version on control panel of my hosting provider to 7.1, but HealthChecker plugin says that PHP version is 5.3.29. Maybe something needs to be changed in .htaccess?… Or maybe I need to contact my hosting provider support team… Please, could you advice?

    Thank you in advance.

    #927484

    Hi!


    @pinguinbird
    It would be the best if you contacted your hosting provider and get the confirmation from them :)

    Regards,
    Yigit

    #927488

    Ok, will do :) Thanks Yigit.

    #927491

    Hi,

    You are welcome Alex! :)

    We will keep the thread open and will wait to hear from the creator of this thread. If you have any other questions or issues, please feel free to start a new thread under Enfold sub forum.

    Best regards,
    Yigit

    #927497

    Dear Yigit,
    I was happy for your intervention. I’ve seen the website up, but now it is newly down with HTTP ERROR 500.
    What is happening?

    #927501

    Hi,

    Seems like issue was related to “OSSprotect.php” file inside wp-content/plugins/ folder. I deleted it and site started working again.
    I zipped that file and placed inside httpsdocs folder. If it is a must use plugin for you, please contact plugin authors. They may need to update their plugin :)

    Regards,
    Yigit

    #927618

    Hi yigit,
    that plugin is very important, as it is a plugin used to protect folders, and manage login and signup.
    It is the core of this website.
    I need reactivate soon. But, let me know what is not comppliant, as before it worked fine?
    I an invlve the supplier, but what can I say them?
    Thanks
    Vito

    #927629

    Hi Vito,

    I believe their plugin is not PHP 7.x compatible yet.
    OSSprotect.php file i removed from httpdocs/wp-content/plugins is zipped in httpdocs folder. Plugin authors can unzip it and move it back inside plugins folder to see the issue

    Best regards,
    Yigit

    #927997

    Good morning Yigit,
    My provider confirmed that PHP level was upgraded to 7.1.15 level.
    I’ve asked the plugin supplyer of OSSprotect to align it with this level.
    Please, as when I upgrade ENFOLD I need upgrade my FOOTER.PHP ( and HEADER.PHP also, but it it less important), may I substitute the FOOTER.HPH with the old one, or I need start from the one of 4.2.6?
    I’m afraid to change it, but I need add my data in the footer as I add in the private area.
    Thanks
    Regards
    Vito

    • This reply was modified 6 years, 6 months ago by pmtsi.
    #929029

    I’ve updated the FOOTER.PHP – it works fine – thanks.
    I’m waiting the OSS provider for the updating to the Plugin. Now the website is partially functioning.
    Users cannot access all page protected.
    Please, as I’ve a second website (www.tenstep.it), may I upgrade the ENFOLD without problems?
    thanks and regards
    Vito

    #929428

    Hi Vito,

    Glad it is working fine!
    Yes, you can update it as well. Please make sure you are using PHP 7.x on it as well. To be on the safe side, you can create a testing environment – https://kriesi.at/documentation/enfold/move-from-a-local-installation-to-a-live-server/ and update the theme there firstly.

    If you run into any issues, please share FTP and WP admin logins for your second website and we will gladly look into it :)

    Best regards,
    Yigit

Viewing 24 posts - 1 through 24 (of 24 total)
  • You must be logged in to reply to this topic.