Wow! This distributed cooperation is wonderful.

I got exactly the same parse error after introducing a call to log 
today, and decided to check this group and see if anyone else stumbled 
on it also.

Thanks to all involved, this thread saved me time. The fix works for 
me.

On Jan 24, 4:15 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> No hiserroris coming from the cake core files found in the trunk of
> the repository
>
> you can see problem is here
> <https://svn.cakephp.org/repo/trunk/cake/1.1.x.x/cake/libs/file.php>
>
> but not here
>
> <https://svn.cakephp.org/repo/branches/1.1.x.x/cake/libs/file.php>
>
> my guess is he is checked out his files from former
>
> On 1/24/07, djiize <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > 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
> > >parseerrorin /cake/libs/file.php
>
> > > My log call looks like this:
>
> > > $this->log("members/maintain - $num_rows members to get reminders");
>
> > > And theerrorI am getting is this:
>
> > >Parseerror: syntaxerror, 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--
> ==
> S. DeVore
> (the old fart) the advice is free, the lack of crankiness will cost you


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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