I am using opencart 1.5.1.3 . I recently made few changes to improve site security as mentioned http://opencarthelp.com/a/?q=improve-opencart-security
I did following steps as per above guide:
1) Rename the admin directory
2) Rename the 'admin' user (PCI)
3) Restrict user permissions (PCI)
4) Strong passwords (PCI)
Also, I have done following changes
Deleted the /install/ directory (Before i had only renamed it)
changed the config.php file in both the root and /admin/ directories to 444 permission.
After this suddenly i stopped receiving mails from opencart site. Eg: whenmy customer clicks forgot my password after entering the Email, i get a list of errors as follows:
-------------------------------------------------------------------------------------------------------------------------------------------
Warning: fopen(D:\inetpub\vhosts\storeadda.com\httpdocs\logs/error.txt) [function.fopen]: failed to open stream: No such file or directory in D:\inetpub\vhosts\storeadda.com\httpdocs\system\library\log.php on line 12
Warning: fwrite(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\storeadda.com\httpdocs\system\library\log.php on line 14
Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\storeadda.com\httpdocs\system\library\log.php on line 16
Warning: fopen(D:\inetpub\vhosts\storeadda.com\httpdocs\logs/error.txt) [function.fopen]: failed to open stream: No such file or directory in D:\inetpub\vhosts\storeadda.com\httpdocs\system\library\log.php on line 12
Warning: fwrite(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\storeadda.com\httpdocs\system\library\log.php on line 14
Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\storeadda.com\httpdocs\system\library\log.php on line 16
Warning: fopen(D:\inetpub\vhosts\storeadda.com\httpdocs\logs/error.txt) [function.fopen]: failed to open stream: No such file or directory in D:\inetpub\vhosts\storeadda.com\httpdocs\system\library\log.php on line 12
Warning: fwrite(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\storeadda.com\httpdocs\system\library\log.php on line 14
Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\storeadda.com\httpdocs\system\library\log.php on line 16
----------------------------------------------------------------------------------------------------------------------------------------
Also, If a new customer registers after filling details when he submits the form, he gets the similar list of errors.
But after refreshing page these errors go away and customer is shown as logged in! Also it is reflected in Admin->customers.
For testing, i submited an enquiry from contact us form, i got same list of errors after hitting submit button.
When i click forgot password in Admin panal, after entering email add, it gives confirmation of mail sent, but mail is never sent!!

I have set an alert on customer registration, but i have stopped receiving that mail too.
Although after refresh the errors go away. But mail is never sent OR received!
What has happened to my site??? where did i do wrong??

I hope someone has an answer for this. Its very urgent for me to fix it as my orders have completely stopped!!

Website link: http://www.storeadda.com