Hi I am having trouble writing a batch script to send emails from a database email queue. While I'm developing I'd like to add messages to the log. So I out the following line in my batch file:
sfContext::getInstance()->getLogger()->info('Number of emails ='.count($queuedMailshotEmails)); But when I run the file with that line in PHP throws a fit: [EMAIL PROTECTED] batch]$ php email_batch_dev.php PHP Warning: session_start(): open(/var/lib/php/session/sess_levn1rkjl1t2vcd9t849pj7lo1, O_RDWR) failed: Permission denied (13) in /usr/share/pear/symfony/storage/sfSessionStorage.class.php on line 77 There are 6 warnings in total. I'm sure I'm just being really stupid, but if someone could confirm my stupidity and offer a solution that would be great :D TIA Tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---