I am having a similar problem with cake. Do you write your session variable(s) once only or more than once? It seems, and I want to be corrected if am wrong, that there's a difficulty overwritting a session variable. That is if you set a session variable during a session and want to overwrite it during the same session it dosent happen. Yet I have to test more to be sure of this. Maybe can you check your app and see if this is the problem. I would like to know if this happens to you too.
On Sep 17, 1:30 am, Matt <[EMAIL PROTECTED]> wrote: > I'm having a problem with cakes session component. It seems that as > soon as I call the write function my entire cake app stops working but > before this every page works fine. It doesn't matter what page I go > to, the home page or a controller/action page all of the pages are > quickly loaded with an HTML header and footer but nothing in between. > It seems cake tries to reference the session and fails so it spits out > a blank HTML page. This HTML header and footer are not from the > default layout I created. I checked my apache error log and nothing > shows up there. > > This is what I have tried so far: > -all the different types of sessions (i.e. database, php and cake) and > no luck. > -different servers (both with PHP5 and Sessions installed) (one is > dreamhosts, a virtual server and my own personal box > -setting the debug level to every possible number > -tested the PHP sessions with other apps not using Cake > > If anyone can help me with this it would be greatly appreciated. I'm > using Cake 1.1.x > > The only thing that is really different about my install is the > directory structure but since everything else works I don't see why > the directory structure would make any difference for the session > component. Anyways, this is how I have it laid out: > > Cake Lib: /www/cake/ > App Files /www/site.com/app/ > Webroot: /www/site.com/webroot/ > > Webroot is the apache virtual server document root. > > Again any help would be greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
