I'm trying to fix a zillion bugs with a script a client bought (don't
ask).  One of the last "major" ones is an authentication issue.  Seems
that the path of the cookie is getting set to /app/webroot -- and it
should be simply / according to $this->path (set in the app
controller, as well as hard-coded in the cookie.php file, by default).

I suspect that this might have to do with an issue with .htaccess
files, but the ones I'm using are "stock" from a clean CakePHP
download.  (If it matters, the script /might/ be using Cake 1.1 libs,
rather than 1.2.)  In other words, I'm seeing plenty of links getting
rendered with "/app/webroot" in the URL.

This wouldn't be a huge issue if /everything/ lived under /app/webroot
(if the cookie referenced that path), but sadly some links in the
script don't use CakePHP's html helper--and thus, things are
occasionally hard-coded.

So, my problem is two-fold:

a. The cookie path isn't getting set correctly.
b. All of my CakePHP-generated URLs are getting /app/webroot prepended
to them.

If I can fix (a) to give me the base path (/) I'd be okay; I'd really
prefer to solve (b), but I think it's a tougher nut to crack.

Any thoughts?  I'm getting near to my wits' end on this one.  And yes,
I've looked at the documentation, done the Google searches, and
everything--nothing seems to work.

--Carl

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to