View and edit the wp-config.php and other files with BPS Pro

Home Forums BulletProof Security Pro View and edit the wp-config.php and other files with BPS Pro

This topic contains 3 replies, has 2 voices, and was last updated by  AITpro Admin 1 year, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32106

    Gary M. Gordon
    Participant

    Is it possible to access and edit the wp-config.php file from within BPS Pro?

    When I go to WP Automatic Update, and check off the items I want and then click on Add/Remove WP Constants, it says in red:

    The define(‘WPLANG’, ”); constant code was not found in your wp-config.php file.
    The WP Automatic Update tool uses the WPLANG constant code as a marker/placeholder for where to add the WP Automatic Update code in your wp-config.php file. You will need to manually add the WPLANG constant code in your wp-config.php file for this tool to work. Open the wp-config-sample.php file to get the WPLANG constant code to add in your wp-config.php file.

    (Even if I click the Add/Remove WP Constants button again, it says the same thing.)

    I tried unlocking the wp-config.php file, and then clicking the Add/Remove WP Constants button, but I still get this message in red.

    Also under “Turn On|Off WordPress Automatic Updates”  it says:

    Check to Add a Constant to your wp-config.php file. Uncheck to Remove a Constant from your wp-config.php file.

    I’m just asking if there’s a way for me to add this constant into wp-config.php (from within BPS Pro) or will I always have to add the constant by updating the wp-config.php file manually (meaning, via FTP or from within cPanel).

    Please let me know.

    Gary

    PS:  If this was answered in the forum (by someone else’s question), please just provide the link to where this is answered. Thanks.

    #32108

    AITpro Admin
    Keymaster

    You can edit files using the BPS Pro P-Security > File Manager and File Editor tools.  Note:  If AutoRestore|Quarantined is turned On then after you save your file edits the file will be autorestored and quarantined.  Use the Quarantine Restore File feature to restore the file from Quarantine.

    #32109

    Gary M. Gordon
    Participant

    Hi.  Thanks.

    It’s funny. I’ve been using BPS Pro for maybe 3 or 4 years now, and I just learned something new today. I didn’t realize I could do this.  I’m so happy I asked. Thanks for the tip. Very much appreciated (as your support is always outstanding)!

    Gary

    #32110

    AITpro Admin
    Keymaster

    P-Security is the BPS Pro step child.  So it does not get much attention.  😉  At some point we would like to make the File Manager and File Editor tools into something more sophisticated.  Currently these tools are very basic, but functional and have not been worked on for several years.  They are a very low priority feature in BPS Pro.  So someday when we have spare time, we will make these tools more sophisticated.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.