Backup Error

Hi



After our sever went down and they restored our site we get this error come up when doing a backup with DB Backup/Restore



Warning: fopen(/home/xxxxxx/public_html/var/log/database_maintenance_2008-02-22.log.php) [function.fopen]: failed to open stream: Permission denied in /home/xxxxxx/public_html/core/fn_common.php on line 2037



Any ideas??



Thanks



Roger

Make sure your permissions are correct.

Hi



Have checked permissions and are OK.



Roger

That’s strange, from what i can see the cart is trying to create a file called “database_maintenance_2008-02-22.log.php” in /var/log/ but it deosn’t have permission.



Try going to admin → settings → logging, uncheck all boxes, save settings and try again.

Hi baballuci



That worked cheers.



Roger

Make sure you have the correct permissions on /var/logs/, in case you need to use the logging functions.