I recently moved my site from a windows server to a linux server. I
have an admin section to my site (under plugins). It works fine if I
browse to:

      http://www.jamestownjobalert.com/admin/Success

but this does not work:

      http://www.jamestownjobalert.com/admin/success    ('s' not
capitalized)

In my admin_controller.php, I have a function defined as:

      function success($action = null, $id = null) {


Can anyone speculate on where I would look to figure out why
capitalized action names in the URL work, but non-capitalized names do
not? The non caps URL goes to a blank page. When I turn on the php
debug, the error I get is:

    Warning (2): Cannot modify header information - headers already
sent by (output started at /home/jja/public_html/app/plugins/admin/
controllers/admin_controller.php:410) [CORE/cake/libs/controller/
controller.php, line 616]

Recognizing this error as a redirect issue, I put a line in the
cake/...../controller.php file to see if it was redirecting somewhere,
and it seems to be redirecting to /admin/login.php (eventhough I had
already been logged in). Again, I don't think it's a login issue
either because I am able to go to the URL that has the action name in
lower case.

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