[Hw4mdl-devel] Errors in latest code
Brought to you by:
jhlinder,
trollinger
From: Ashley H. <as...@ne...> - 2008-02-18 01:48:08
|
Hi all, I tried setting up the latest code from branches/team/Thomas/ and have encountered several errors trying to get it going. Firstly there is a parse error in integrations_common/php/lc/lcapi.php on line 837. The stray '.' on the end of that line causes the installation to fail. The /admin/ URL shows up blank. There are a few short PHP tags in mod/voicetools/mod.html, ie. <? instead of <?php, which caused parse errors in my environment as I don't have short tags enabled. The Moodle coding guidelines say that short tags should not be used (http://docs.moodle.org/en/Coding#General_rules). Once I fixed that up I got the following error from mod.html: Include(http://dev1.netspot.com.au/moodle19/mod/voicetools/popup.php?type=popup) [function.include <http://dev1.netspot.com.au/moodle19/course/function.include>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in */var/www/html/moodle19/moodle/mod/voicetools/mod.html* on line *894* *Warning*: include() [function.include <http://dev1.netspot.com.au/moodle19/course/function.include>]: Failed opening 'http://dev1.netspot.com.au/moodle19/mod/voicetools/popup.php?type=popup' for inclusion (include_path='.:/usr/share/pear') in */var/www/html/moodle19/moodle/mod/voicetools/mod.html* on line *894* I can't see any popup.php that came with the code I checked out from SVN. There are also a few warning messages that come up if you enable the moodle debugging (Administration -> Server -> Debugging) and change the debug setting to ALL. Eg. warnings about constants being already defined, and also some warnings about uninitialised variables. Regards Ashley. -- Ashley Holman Software Engineer NetSpot Pty Ltd 183 Melbourne Street, North Adelaide, 5006 Ph: +618 8361 6800 Fax: +618 8361 6811 |