• Resolved sweetmelody

    (@sweetmelody)


    Help! I’m getting this error when I activate BPS. The bps htaccess is renamed to make the site work again > link

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );11:36 PM 1/15/2014

    http://wordpress.org/plugins/bulletproof-security/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author AITpro

    (@aitpro)

    I see a timestamp in the site’s index.php file code that you posted. Is that what the issue is? I’m not really sure what the problem is. BPS .49.8 does not do anything with the WordPress index.php file. In .49.9 BPS will create Maintenance Mode template files, but the original WP index.php file will be backed up first and is not written too. Please explain in full specific details exactly what steps you have done and any other relevant information.

    What type of WordPress installation is this? Single/Standard, Multisite, GWIOD, BuddyPress, ……….?
    Have you clicked the AutoMagic buttons or clicked the correct AutoMagic buttons?
    Have you customized anything?

    Plugin Author AITpro

    (@aitpro)

    Also what is the error message? Or are you saying that the index.php code is displaying instead of loading?

    Thread Starter sweetmelody

    (@sweetmelody)

    Just sent you an email on this matter.

    Thread Starter sweetmelody

    (@sweetmelody)

    Just notified by my web host and it may have caused by server attack. Will update later, thanks.

    Plugin Author AITpro

    (@aitpro)

    My current BPS situation is:
    • BPS .htaccess was removed.
    • A blank .htaccess was auto-generated by the server.
    • WP-admin .htaccess and BPS folder are deleted.
    • But the BPS-BACKUP folder remains.
    My question is how should I reinstall and reactivate BPS in a proper manner:
    • Do I have to include the default WP default rewrite rules into the blank .htaccess before reinstalling BPS?
    • Do I have to delete the BPS-BACKUP folder?
    • After activating the BPS plugin, just click the 2 buttons under the single WP auto magic feature, activate BPS and activate BPS on wp-admin and that’s all?
    Thank you.

    Regarding the last email you sent above. If your Host is still doing things on the Server that are breaking BPS and your website then you may or may not be able to setup BPS until they fix the Server problems first.

    With that said do the normal/standard BPS setup steps. The bps-backup folder never needs to have anything done to it or with it. It is just a storage folder that BPS creates and uses to backup files. It is simply just a backup folder.

    BPS setup steps:

    1. Click the AutoMagic buttons on the Security Modes page.
    2. Activate Root and wp-admin BulletProof Modes on the Security Modes page.
    3. Go to the Login Security page and choose your Login Security options and click the Save Options buttons.
    4. Setup complete.

    Note: It is recommended that use a Custom Permalink Structure: http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure

    Thread Starter sweetmelody

    (@sweetmelody)

    Very clear explanation, thank you very much!

    Now that the .htaccess is a blank one, do I need to first resetup the permalinks on the WP dashboard before activating BPS or should I do it after?

    Plugin Author AITpro

    (@aitpro)

    You should not have to do anything with your Permalinks, but resave your Permalinks anyway and then do the BPS setup steps. If your resave your Permalinks AFTER setting up BPS and you have NOT locked your root .htaccess file then the BPS root .htaccess file/code will be removed. If you HAVE locked your root .htaccess file then the BPS .htaccess file/code will NOT be removed if you resave your Permalinks at a future time.

    Plugin Author AITpro

    (@aitpro)

    Regarding the last email you sent. I think what is happening is that either your Host has changed your Server type and you need to add the appropriate php/php.ini handler .htaccess code in your root .htaccess file or you are missing the correct php/php.ini handler .htaccess code in your root .htaccess file that you need to load/process php correctly on your website since what is happening is instead of php code being processed, the php code itself is being displayed to you.

    Contact your Host and ask them if you need to use php/php.ini handler .htaccess code in your root .htaccess file. Once you have an answer from them then let me know what that answer is. If they give you php/php.ini .htaccess code to add to your root .htaccess file then post that here.

    Plugin Author AITpro

    (@aitpro)

    Or maybe your root .htaccess file has old php/php.ini .htaccess code in it that is no longer valid if your Host changed something about your Server/website.

    Thread Starter sweetmelody

    (@sweetmelody)

    You are right, it’s the handler matter. My host has changed the handler code and it’s now back to normal again.

    Thank you BPS, you are the best!!!

    Conclusion: This thread is solved by replacing the php handler. It’s important to replace the handler when you migrate your site to another host.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘BPS Activation Problem’ is closed to new replies.