Saturday, June 22, 2013

Re: Themed assets not loading on production server

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 <corie.sl...@gmail.com> 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 <corie.sl...@gmail.com> 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+unsubscribe@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.
 
 

No comments: