check your .htaccess file. I had an issue where nothing worked,
because cake couldn't find css. In this file you specify the path to
webroot and app dir amoung other thigs yo ucan do there.

For exaple mine is :
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

but this is in windows, so you'll probably need to change it..


On Apr 9, 12:17 pm, peterhf <peter.f...@sbcglobal.net> wrote:
> My mistake. TEST-dev is the name of the database used with this 
> app.http://localhost/TEST-admin/returns the app.
>
> I put this in the ...app/webroot/.htaccess,restarted -> same problem.
> <IfModule mod_rewrite.c>
>     RewriteEngine On
>     RewriteCond %{REQUEST_FILENAME} !-d
> dfskjsdsadjfsddfl
>     RewriteCond %{REQUEST_FILENAME} !-f
>     RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> </IfModule>
>
> Does this mean that this file is not being read by apache?
>
> Where else could  AllowOverride be set to None?
>
> On Apr 8, 9:31 pm, cricket <zijn.digi...@gmail.com> wrote:
>
> > On Fri, Apr 8, 2011 at 11:35 PM, peterhf <peter.f...@sbcglobal.net> wrote:
> > >http://localhost/TEST-admin/producesthe first page on the
> > > application, a login page.
>
> > I just noticed that you used TEST-admin but also mentioned a TEST-dev.
> > Could this be it?
>
> > In any case, I posted a reply to someone else this evening about
> > setting up virtual hosts and local subdomains. If you're interested
> > and want more info let me know.
>
> > > debug is set to 2.
>
> > What about this in your layout?
>
> > debug(CSS_URL); debug(JS_URL);
>
> > > AllowOverride was set to 'none', I set it to "All" and restarted the
> > > computer -> problem persists.
>
> > That would have done it. Just to be sure they're being read, type some
> > garbage text on a new line in one of them and refresh. If your server
> > doesn't keel over then AllowOverride is still set to None somewhere.
>
> > Actually, to be really sure, type it in the one inside the webroot
> > dir. Whether your DocumentRoot is TEST-dev, TEST-dev/app, or
> > TEST-dev/app/webroot, the last one should be read (if they're being
> > read at all).

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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

Reply via email to