you should enclose your variables with {} in strings, like this:
$this->log("members/maintain - {$num_rows} members to get reminders");

it's not Cake but a PHP behavior

On 24 jan, 14:34, "Matt" <[EMAIL PROTECTED]> wrote:
> One of my scripts has suddenly stopped working and after much debugging
> and break points I've traced the problem down to a log call causing a
> parse error in /cake/libs/file.php
>
> My log call looks like this:
>
> $this->log("members/maintain - $num_rows members to get reminders");
>
> And the error I am getting is this:
>
> Parse error: syntax error, unexpected '(', expecting '}' in
> /home/public_html/cake/libs/file.php on line 196
> 
> I should also mention I am using version 1.1.12.4205 of CakePHP


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to