Re: cakephp case insensitive controller name
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.php would 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home