[mythtv-users] MythWeb - sessions problem

Ciaran ciaranj at gmail.com
Fri Oct 8 09:28:14 UTC 2004


On Fri, 08 Oct 2004 09:49:57 +0100, Sean Burlington
<sean at uncertainty.org.uk> wrote:
> 
> 
> Stephen Tait wrote:
> > I've been having this problem for a while, but only recently found out
> > what the problem was.
> >
> > I've been trying to configure mythweb to display the short day format
> > (e.g. Mon, Tue, Wed, etc etc) in it's display, but whenever I add %a to
> > the list of display variables, I always lose the setting after I refresh
> > the page.
> >
> > Well, it seems that every single time I refresh the page a new session
> > gets initted - each hit on F5 will generate a new session file in
> > php_sessions, with all of the default settings and without my %a. Does
> > anyone know why this might be? I'm not a big expert on how sessions work
> > and how mythweb handles them - I've spent about an hour trying to figure
> > out the code, but so far no dice, as my PHP knowledge is rather limited.
> > I've also tried in vain to find out where the default session
> > data/configuration is stored (all those includes!) in the hope of
> > editing it manually and avoiding having to sort out the session thing,
> > but again no joy...!
> >
> > Anyone have an idea what's up?
> >
> >
> 
> I had a problem with sessions which I resolved by commenting the line
> 
> #    php_value session.save_path             php_sessions
> 
> in /usr/share/mythtv/mythweb/.htaccess
> 
> This was setting the path for storing mythweb session to a directory
> that didn't exist.
> 
> --
> 
> Sean
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
Cheers for that Sean, that error message has been bugging me for a
while :)  COmmenting that out fixed it nicely,  however is this path
not required?

-- 
- Ciaran
http://www.wombatinvasion.com/ (Share the love)


More information about the mythtv-users mailing list