Hi Nathan,
Nathan Gray schrieb:
Hi Nathan,
I wild guess: Workflow never worked (for whatever reason) with the
session restore, which is now on unconditionally.
That’s only a quess, I have had a workflow installation …
Hi Ralf, how’s the leg?
Slowly getting better.
I can only work using a deck chair and my laptop …
I guess I need to know how to work with the session restore, because
there’s some things that seem to be acting strangely now.
Regular eGW applications should work with or without session restore.
The restore is done in the api: Instead of creating the $GLOBALS[egw]
object and $GLOBALS[egw_info] array anew on each request it will be
stored in the session and restored from there.
Open tcp connections (database or LDAP) need a special treatment to
reopen the connection after the restore (usually via a __wakeup() method
in the class holding the connection).
eGW apps are usually not affected as the egw object is stored right
after the header include, before any application specific code or
classes should be loaded. Meaning all application specific code and
classes is NOT restored from the session, but created on each request.
I’m getting other reports of missing config::db (http://www.nabble.com/Invoicing-Issues-tp19232378p19232378.html
) which I suspect are related, config::init_db() pulls from
$GLOBALS[‘egw’]->db.
I would try dump self::$db, when you get the error to see if it’s set
and to what.
I doubt a bit this problem is releated to the session restore.
Ralf
Ralf Becker
eGroupWare Training & Support ==> http://www.egroupware-support.de
Outdoor Unlimited Training GmbH [www.outdoor-training.de]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 (0)631 31657-0
This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers