$logfile = "/home/****/logs/tickets.log";
if (isset($logfile) and ($logfile != ""))
$logf = fopen($logfile, 'a');
This fails with the following:
Error code: 2
Error message: fopen(/home/****/logs/tickets.log) [function.fopen]: failed to open stream: Permission denied
Script name and line number of error: /home/****/gc/functions.php:36
Variable state when error occurred: /home/****/logs/tickets.log
The file /home/****/logs/tickets.log exists, and has permissions 644
The directory /home/****/logs has permissions 775
I am not out of disk space.
Can anyone suggest why this has stopped working? I have not used it for a couple of months, but it used to work...
Thanks - Rowan
Edited by TCH-Bruce, 16 September 2010 - 12:55 PM.
removed user cPanel name - Please don't post that info in an open forum!