|
From: <php...@li...> - 2008-03-08 13:35:49
|
Hi,
> $repository=new Java("depths.moodle.RepositoryFactory");
> if (!isset($repository)){
The above isset(..) is wrong and obsolete. new ClassName() cannot return null.
Furthermore Java NULL values are represented by NULL proxies, not by PHP null or void.
> $_SESSION['xy']="someValue";
> $_SESSION['instance']=$repository;
Depending on your PHP version it may or may not be possible to store Objects into the session
store.
> protocol error: , Invalid document end at col 22. Check the back end log for details.
> Could you please indicate what did cause this error?
Sorry, but I can't read your back end log file. :)
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|