Excellent. The space after was the problem. VERY much appreciated!

On Dec 13, 12:07 pm, Piotr Kilczuk <[email protected]> wrote:
> Hello,
>
> >> Do you use closing ?> tag in your classes?
>
> > yes I do use it.
>
> My suggestion is to stop doing that :) There is no profit, but it can
> break your code.
>
> > I read on one post that you can't have whitespace
> > before it (but newlines are OK). Still, that doesn't seem to be the
> > problem.
>
> _AFTER_
>
> <?php
>
> //http://localhost/sth.php
> class Sth { }
>
> ?> !
>
> http://localhost/sth.phpwould return " !" as output and this could
> break your redirects, sessions and cookies - HTTP header stuff in
> general. This is well documented and explained on the WWW.
>
> Try to get one simple action working first, even the default one
> (PagesController::display('home')). Then move on to your controllers
> and actions.
>
> Also it is crucial that you have proper allow() statements if you use
> AuthComponent.
>
> Regards,
> Piotr

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

Reply via email to