Plugin Author
AITpro
(@aitpro)
The error messages are telling you that the php CHMOD function and file_put_contents function is not allowed on your website/Server. Most likely you have a DSO configured Server and not CGI and will have to manually change folder permissions in order to allow these PHP functions. Go to the BPS System Info page and post this info below in your reply.
Server Type:
Operating System:
Server API:
BPS general troubleshooting and DSO setup steps
http://www.ait-pro.com/aitpro-blog/297/bulletproof-security-plugin-support/bulletproof-security-wordpress-plugin-support/
Server Type: Apache
Operating System: Linux
Server API: apache2handler – Your Host Server is using DSO or another SAPI type.
It looks like it is DSO.
Plugin Author
AITpro
(@aitpro)
Yep, unfortunately since DSO file and folder ownership permissions are done differently then CGI you will have to follow these manual steps below. We are working on DSO coding in BPS, but it is a long, long way off from being completed. Thanks.
AutoMagic is not working / not creating Master .htaccess files or you are unable to use the built in .htaccess file editor
Most likely the cause of this is your Server API is DSO and not CGI. You can check your Server API on the System Info tab page. If your Server API is DSO then some of the automated features in BPS will not work correctly because of the way ownerships permissions are handled on DSO configured Servers. You will unfortunately need to manually perform these steps below using FTP. At some point a future version of BPS will have coding that will compensate for this and the automation will also work for DSO configured Servers.
To Create the secure.htaccess file with AutoMagic – Change permissions of the secure.htaccess file to 777 – /wp-content/plugins/bulletproof-security/admin/htaccess/secure.htaccess.
To Activate BulletProof Mode for your Root folder – Change permissions of your Root htaccess file to 777 – /your-website-root-folder/.htaccess.
To Activate BulletProof Mode for you wp-admin folder – Change permissions of the wp-admin htaccess file to 777 – /your-website-root-folder/wp-admin/.htaccess.
Activate Deny All htaccess Folder Protection For The BPS Master htaccess Folder – Change permissions of /wp-content/plugins/bulletproof-security/admin/htaccess folder to 777.
Activate Deny All htaccess Folder Protection For The BPS Backup Folder – Change permissions of the /wp-content/bps-backup/htaccess file to 777.
Backup Your Currently Active .htaccess Files – Change /bps-backup folder permissions to 777 – /wp-content/bps-backup.
Backup Your BPS Master .htaccess Files – Change /master-backups folder permissions to 777 – /wp-content/bps-backup/master-backups.
Once you have completed these installation steps above then change the permissions of both htaccess files to 644 and change all of your folder permissions back to 755 or whatever you previously had for those folder permissions. Another option is just to manually download the secure.htaccess file, wpadmin-secure.htaccess file and the deny-all.htaccess file and then just manually use FTP to upload the files to where they should be.
Thanks for the quick reply. I have updated the files.