Re: Themed assets not loading on production server

2013-06-22 Thread KimSia
Thank you! this helped me :)

On Friday, November 11, 2011 10:32:11 AM UTC+8, Corie wrote:
>
> Fixed! 
>
> Theme folder names must always be CamelCased. The reason it worked on 
> development server is because of case insensitivity. That always gets 
> me. 
>
> -Corie 
>
> On Nov 10, 8:41 pm, Corie  wrote: 
> > Update: 
> > 
> > Layouts and other View files will load properly from the Themed 
> > folder. It's only assets like css and js that don't load. So it must 
> > have something to do with the dispatcher? 
> > 
> > PHP 5.2.17 is on dev server and 5.2.14 on production server. 
> > 
> > -Corie 
> > 
> > On Nov 9, 9:42 am, Corie  wrote: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > I'm using the Theme viewClass and loading assets through a Themed 
> > > folder and everything is working well on my local development server, 
> > > but when taking it online nothing is being loaded from the Themed 
> > > folder and it's getting a 404 when trying the default locations. 
> > 
> > > Here's the folder structure: 
> > 
> > > View 
> > > -Themed 
> > > --default 
> > > ---webroot 
> > > css 
> > > -admin.css 
> > 
> > > and it's not finding admin.css here so it looks for 
> > > webroot>css>admin.css which doesn't exist. 
> > 
> > > Anyone have any suggestions as to how to debug?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Themed assets not loading on production server

2011-11-10 Thread Andras Kende
Something similar happened for me before with a plugin missing it css and js, 
finally tracked it down to a conflicting rewrite / cache settings for static 
files in nginx ...

Andras Kende


On Nov 10, 2011, at 7:41 PM, Corie wrote:

> Update:
> 
> Layouts and other View files will load properly from the Themed
> folder. It's only assets like css and js that don't load. So it must
> have something to do with the dispatcher?
> 
> PHP 5.2.17 is on dev server and 5.2.14 on production server.
> 
> -Corie
> 
> On Nov 9, 9:42 am, Corie  wrote:
>> I'm using the Theme viewClass and loading assets through a Themed
>> folder and everything is working well on my local development server,
>> but when taking it online nothing is being loaded from the Themed
>> folder and it's getting a 404 when trying the default locations.
>> 
>> Here's the folder structure:
>> 
>> View
>> -Themed
>> --default
>> ---webroot
>> css
>> -admin.css
>> 
>> and it's not finding admin.css here so it looks for
>> webroot>css>admin.css which doesn't exist.
>> 
>> Anyone have any suggestions as to how to debug?
> 
> -- 
> 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

-- 
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


Re: Themed assets not loading on production server

2011-11-10 Thread Corie
Fixed!

Theme folder names must always be CamelCased. The reason it worked on
development server is because of case insensitivity. That always gets
me.

-Corie

On Nov 10, 8:41 pm, Corie  wrote:
> Update:
>
> Layouts and other View files will load properly from the Themed
> folder. It's only assets like css and js that don't load. So it must
> have something to do with the dispatcher?
>
> PHP 5.2.17 is on dev server and 5.2.14 on production server.
>
> -Corie
>
> On Nov 9, 9:42 am, Corie  wrote:
>
>
>
>
>
>
>
> > I'm using the Theme viewClass and loading assets through a Themed
> > folder and everything is working well on my local development server,
> > but when taking it online nothing is being loaded from the Themed
> > folder and it's getting a 404 when trying the default locations.
>
> > Here's the folder structure:
>
> > View
> > -Themed
> > --default
> > ---webroot
> > css
> > -admin.css
>
> > and it's not finding admin.css here so it looks for
> > webroot>css>admin.css which doesn't exist.
>
> > Anyone have any suggestions as to how to debug?

-- 
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


Re: Themed assets not loading on production server

2011-11-10 Thread Corie
Update:

Layouts and other View files will load properly from the Themed
folder. It's only assets like css and js that don't load. So it must
have something to do with the dispatcher?

PHP 5.2.17 is on dev server and 5.2.14 on production server.

-Corie

On Nov 9, 9:42 am, Corie  wrote:
> I'm using the Theme viewClass and loading assets through a Themed
> folder and everything is working well on my local development server,
> but when taking it online nothing is being loaded from the Themed
> folder and it's getting a 404 when trying the default locations.
>
> Here's the folder structure:
>
> View
> -Themed
> --default
> ---webroot
> css
> -admin.css
>
> and it's not finding admin.css here so it looks for
> webroot>css>admin.css which doesn't exist.
>
> Anyone have any suggestions as to how to debug?

-- 
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