• Resolved jugaadoo

    (@jugaadoo)


    I am getting the following errors

    [Wed Oct 08 23:12:23 2014] [error] [client 178.**.***.**] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in

    /home/ju****/public_html/ap****.com/wp-content/plugins/bulletproof-security/includes/db-security.php on line 143
    [Wed Oct 08 23:12:23 2014] [error] [client 178.62.225.88] PHP Warning: fopen(/home/ju****/public_html/ap****.com/wp-content/bps-backup/logs/db_backup_log.txt): failed

    to open stream: Permission denied in /home/ju****/public_html/ap****.com/wp-content/plugins/bulletproof-security/includes/db-security.php on line 94
    [Wed Oct 08 23:12:23 2014] [error] [client 178.62.225.88] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in

    /home/ju****/public_html/ap****.com/wp-content/plugins/bulletproof-security/includes/db-security.php on line 144

    https://ww.wp.xz.cn/plugins/bulletproof-security/

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

    (@aitpro)

    http://forum.ait-pro.com/forums/topic/cron-error-with-new-db-backup-feature/
    If you have a DSO Host server type:

    These errors are occurring because the BPS DB Backup folder does not exist or is not writable. The BPS Backup folder should be created automatically here: /wp-content/bps-backup/backups_xxxxxxxxxxxxxxx by BPS during the upgrade or on new installations of BPS, but if the /bps-backup/ folder does not have the correct Ownership settings to allow for this folder to be automatically created then you will not see this folder. You can create the DB Backup folder manually and then save the folder path and URL path information on the DB Backup page or you can allow the backups folder to be created automatically by figuring out what DSO Ownership settings you need.

    If you have a CGI Host server type and there is a permissions problem for the /bps-backup/ folder then you would change the /bps-backup/ folder permissions to 755 or 705.

    If something generally just went wrong with the automated DB Backup folder creation then you can either manually create the /wp-content/bps-backup/backups_xxxxxxxxxxxxxxx folder and manually add your db backup path settings on the BPS DB Backup page…

    …or to allow BPS to automatically create the DB Backups folder again and add the db backup path options settings again – Use phpMyAdmin or another DB editor and delete this BPS database option: bulletproof_security_options_db_backup and delete this folder if it exists: /wp-content/bps-backup/backups_xxxxxxxxxxxxxxx folder.

    Plugin Author AITpro

    (@aitpro)

    Is the issue/problem fixed? Can this thread be resolved? If so, please resolve this thread. If not, please post any additional information.

    Thread Start Date: 10-10-2014 to 10-11-2014
    Current Date: 10-13-2014

    Thread Starter jugaadoo

    (@jugaadoo)

    Yes, Thanks for the support

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Getting PHP warning error’ is closed to new replies.