Thanks Jeremy I worked it out. It had me stumped at first but turned out to
be a really simple fix which usually ends up being the case.

I've moved on to being totally stuck with other things :)

On Wed, Apr 7, 2010 at 2:08 AM, Jeremy Burns <[email protected]> wrote:

> I would remove everything in your folders under app/tmp/cache/ (models,
> persistent and views), then fire up your app with debug set to 2 (then back
> to 0 if you choose) to rebuild the cache and see what happens.
>
> Jeremy Burns
> [email protected] <[email protected]>
>
>
> On 7 Apr 2010, at 00:14, Ed Propsner wrote:
>
> I'm not sure what to make of this.
>
> When I try to load my site it gives me an error of:
> [code] *Parse error*: syntax error, unexpected T_STRING in *
> \..\..\..\users_controller.php* on line *184* [/code]
>
> Line 184 in users controller is:
> [code]
>
> function login()
> {
> } //<---- line 184
>
> [/code]
>
> If I remove the login function from the users controller it works just fine
> including logging in users even though login is not defined anywhere else.
>
> I see that there are some things in the tmp/cache folders but I'm not
> really sure what is what. I'm not even sure this problem is due to caching.
>
> Weird.
>
> - Ed
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" 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
>
>
>  Check out the new CakePHP Questions site http://cakeqs.org and help
> others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to