Re: Added default layout, now can not access correct session in static pages / css

2007-11-15 Thread Grant Cox

View the source of the page to see why the CSS is not being used - I
expect you have the wrong path specified.

Reduce your Session Security.level (in /app/core/config.php) to
"medium" to fix the session, or update to the latest 1.2.x SVN.
Because the session id is regenerated for every request with
Security.level "high", a 404 can destroy the session in previous
versions (not the latest SVN).  And you obviously have 404s for your
css files.


On Nov 16, 11:53 am, BobDev <[EMAIL PROTECTED]> wrote:
> Site was working but I was drawing the header/footer on every page. So
> I created a default.ctp file and called my library functions to
> generate the header and footer. This works for all of the views that
> have controllers.
>
> However, my /app/views/pages views are not rendered correctly (the css
> does not get used) and anything I do to the session variables are not
> stored. The header is generated so I know my library function is
> getting called. This is consistent across all of my static pages.
>
> Am I missing something?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Added default layout, now can not access correct session in static pages / css

2007-11-15 Thread BobDev

Site was working but I was drawing the header/footer on every page. So
I created a default.ctp file and called my library functions to
generate the header and footer. This works for all of the views that
have controllers.

However, my /app/views/pages views are not rendered correctly (the css
does not get used) and anything I do to the session variables are not
stored. The header is generated so I know my library function is
getting called. This is consistent across all of my static pages.

Am I missing something?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---