Theme update – 500 error

Home Forums BulletProof Security Pro Theme update – 500 error

Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #30989
    dtyler1
    Participant

    My site crashed with a 500 Internal Server Error displaying afterwards.  I tried deleting the the root .htaccess folder and wp-admin .htaccess folder but the problem persisted.

    I then restored yesterday’s backup of the complete site with database and it still is displaying the 500 Internal Server Error

    #30990
    AITpro Admin
    Keymaster

    What version of WordPress do you have installed?
    What version of BPS Pro do you have installed?
    Did you receive any AutoRestore|Quarantine email alerts about files being quarantined?

    #30991
    dtyler1
    Participant

    Both WordPress and BPS Pro are the current versions. I received an email for a quarantined file when I reinstalled from yesterday’s backup, but no quarantined file when I originally updated the theme today.

    #30992
    dtyler1
    Participant

    I tried xternal tools but it gave me a 403 error, so I then deleted the plugins .htaccess and it still wouldn’t allow me in and gave me 500 error.

    #30993
    dtyler1
    Participant

    I moved the xternal tool to the root but no luck. I also renamed the bulletproof-security folder but that didn’t work either

    #30994
    AITpro Admin
    Keymaster

    Important Note: If you have BPS Pro 12.8 or higher versions of BPS Pro installed click this link for quickier and easier steps to fix quarantined files problems: https://forum.ait-pro.com/forums/topic/website-not-loading-after-wordpress-upgrade-or-theme-upgrade-500-error-files-quarantined/. BPS Pro 12.8+ versions automatically deactivate/turn ARQ Off when the /bulletproof-security/ plugin folder is renamed instead of having to use the BPS Pro XTF Form Tools to deactivate/turn ARQ Off.

    Do these steps:

    1. Unzip the bulletproof-security.zip file on your computer or use FTP and download the /bulletproof-security/admin/xternal/xternal.php file from your website.
    2. Use FTP and rename the /bulletproof-security/ plugin folder to /_bulletproof-security.
    3. Upload your entire theme folder (all theme files) to your /themes/ folder and overwrite your existing theme folder.
    4. Use FTP and upload the xternal.php file to your website root folder (same folder where the wp-config.php file is).
    5. Go to the Xternal Tools page in your Browser: example.com/xternal.php.
    6. Enter your DB Username and Password from your wp-config.php file to view/access/unlock the BPS Pro Xternal Tools Form.
    7. Choose the Turn Off|Deactivate AutoRestore|Quarantine (ARQ) XTF Form option.
    8. Click the Lock Xternal Tools Form button after you are done using the XTF Form to lock the XTF Form.
    9.  Use FTP and rename the /_bulletproof-security/ plugin folder back to /bulletproof-security.
    10. Login to your website, go to Quarantine and delete all theme files that were quarantined (do not restore them).
    11. Run the Pre-Installation Wizard and Setup Wizard.

    Note:  ARQ Automation will automatically turn ARQ Off and backup theme files when doing a Theme update from within your WordPress Dashboard.  If you are manually updating a theme by uploading a theme folder via FTP or remotely installing a theme then see the AutoRestore|Quarantine Manual File Editing/Uploading Procedural Steps:  http://forum.ait-pro.com/forums/topic/autorestore-quarantine-guide-read-me-first/#procedural-steps

    #30998
    dtyler1
    Participant

    Followed steps 1-4 (switched to 2016 theme through file manager) and the xternal tools still won’t load.

    #30999
    AITpro Admin
    Keymaster

    Ok well I am not sure what is going on so send an FTP login to this site to:  info at ait-pro.com.

    #31008
    dtyler1
    Participant

    I restored my entire website and database from a backup and had the /home/xxxxxxxxxx/public_html/.htaccess  renamed and quarantined as auto_.htaccess. But when I viewed the quarantined file it was empty and correct files was in place. Is this just an anomaly when you restore a site with BPS Pro because perhaps ARQ starts working before everything is restored?

    The next report that I had was from F-Lock. It reported that these files were not locked.
    /public_html/.quarantine  (I assume this file shouldn’t be locked, but it was reported and I wasn’t sure why)
    /public_html/.tmb
    /public_html/back

    Related to the above, I get the following php error log:

    [26-Sep-2016 10:28:27 UTC] PHP Warning:  file_get_contents(/xxxxxxx/xxxxxxxxxxxxxxx/public_html/wp-content/bps-backup/quarantine/root-files/auto_.htaccess): failed to open stream: No such file or directory in /xxxxxxxxxxx/xxxxxxxxxxxxx/public_html/wp-content/plugins/bulletproof-security/admin/quarantine/quarantine.php on line 578

    Is this just a ghost from restoring files from backup?

    #31012
    AITpro Admin
    Keymaster

    Delete the auto_.htaccess file in Quarantine, go to the B-Core > Security Modes page and click the Root Folder BulletProof Mode Activate button to create a new Root htaccess file.

    These are hosting account folders so I assume you are using F-Lock Folder Lock to monitor hosting account folders.  Be very careful with the Folder Lock feature.  I recommend that you read the Folder Lock Read Me help button if you want to use this feature.
    /public_html/.quarantine
    /public_html/.tmb
    /public_html/back

    You can disregard the php error.  It is an insignificant error.

    #32578
    Tom
    Participant

    [Topic has been merged into this relevant Topic]
    I’m not quite a specialist in the security plugin, but after checking some things I’d like to ask you this.

    After a couple of plugin and theme updates I have an error 500 on one of my sites (www.kdo-benedenleeuwen.nl).

    I tried disabling all the plugins, deleting the htaccess files and reinstalling the wordpress installation.

    However, all without success. Can you advise me on getting my website up and running?

    #32580
    AITpro Admin
    Keymaster

    @ Tom – Use FTP or your web host control panel file manager, download these files and send them to me:   /wp-content/bps-backup/logs/autorestore_log.txt, /wp-content/bps-backup/logs/http_error_log.txt and /wp-content/bps-backup/logs/bps_php_error.log.  Email address:  info at ait-pro dot com.

    #32587
    Tom
    Participant

    I’ve managed to solve the problem by manually overwrite the theme files of the parent theme.

    #32588
    AITpro Admin
    Keymaster

    @ Tom – Good job!  I see from your BPS PHP Error log that you sent to me that their was a coding mistake in your Divi Theme:

    [07-Mar-2017 07:44:34 UTC] PHP Fatal error: Can't use function return value in write context in /home/xxxxx/domains/xxxxx/public_html/wp-content/themes/Divi/includes/builder/main-modules.php on line 10591

    Your AutoRestore|Quarantine log shows that Language Translation files are being repeatedly quarantined. Click the forum topic link below for the steps to create an AutoRestore wp-content folder exclude rule for your “languages” folder.

    AutoRestore|Quarantine steps for creating wp-content folder and single file exclude rules
    http://forum.ait-pro.com/forums/topic/autorestore-quarantine-guide-read-me-first/#autorestore-exclude-rules

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