|
From: <php...@li...> - 2009-11-26 16:42:47
|
I am trying to use the PHP/JavaBridge to run Moodle on GlassFish v3. I uncompressed Moodle and added WEB-INF/lib/JavaBridge.jar WEB-INF/lib/php-script.jar WEB-INF/lib/php-servlet.jar WEB-INF/web.xml from the PHP/JavaBridge distribution. I also added a test page test.php with contents <?php phpinfo(); ?> I use directory deployment in GlassFish. The test page comes up fine. But when I point to Moodle, I get java.lang.RuntimeException: PHP Notice: Trying to get property of non-object in /tmp/moodle/lib/componentlib.class.php on line 126 PHP Warning: require_once(/filelib.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /tmp/moodle/lib/componentlib.class.php on line 126 PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/filelib.php' (include_path='.:/usr/share/php:/usr/share/pear') in /tmp/moodle/lib/componentlib.class.php on line 126 I don't understand why it can't filelib.php--it is in /tmp/moodle/lib. Is there anything that I am overlooking? This is the first time that I am trying to use the bridge. (FWIW, the app comes up fine under Caucho Quercus in GlassFish.) Thanks, Cay |