Re: [Hw4mdl-devel] Errors in latest code
Brought to you by:
jhlinder,
trollinger
From: Ashley H. <as...@ne...> - 2008-02-21 02:29:10
|
Hi, I just came across some other errors. Sorry to bombard you:** *Fatal error*: require_once() [function.require <http://dev1.netspot.com.au/moodle19/mod/voicetools/function.require>]: Failed opening required 'lib/php/vt/vtAction.php' (include_path='.:/usr/share/pear') in */var/www/html/moodle19/moodle/mod/voicetools/view.php* on line *39 * This is a case sensitivity problem as the file is named "VtAction.php" (capital V). Are you guys working on Windows there? I'm testing this on Linux so the filesystem is case-sensitive. After fixing that up I got this error when trying to load up a Voice Board: "The Voice Tools linked to this activity is currently unavailable. Please contact your instructor" Do you know why I might be getting that error? If you're interested I should be able to set you up with SSH access to a development Moodle I have here which I'm using to test the Voice Tools module. So far I've been plagued with errors so would appreciate your assistance in getting it to work under my setup here. Once I can get it working I'll be able to start on the patch for using roles/capabilities. Thanks Ashley. Ashley Holman wrote: > Hi Thomas, > > Thanks. That's working a lot better here now, although there are still > these remaining lines with short tags which cause some errors if > short_tags if turned off: > > liveclassroom/mod.html:214: <? > liveclassroom/mod.html:665: > <? > liveclassroom/mod.html:726: > <font class="fontCurrent"><?echo > get_string('duration_calendar','liveclassroom')?></font> > liveclassroom/view.php:211:<? > voicetools/error.php:39: <?require_once("../../config.php"); ?> > voicetools/mod.html:411: <?}?> > voicetools/mod.html:737: <? > voicetools/mod.html:798: <font > class="fontCurrent"><?echo > get_string('duration_calendar','voicetools')?></font> > voicetools/index.php:83: <iframe src="<?=$url?>" > width="705px" height="405px" name="frameWidget" style="overflow:hidden;" > FRAMEBORDER=0> > > That last line also looks like it might be a syntax error - perhaps it > should be "<? print $url; ?>"? > > One other thing I noticed is that the "php-xml" RPM package had to be > installed on RedHat with PHP5 for the voicetools module to work. Last > time I checked the hw4mdl installation docs it only mentioned php-domxml > needing to be installed in PHP4 environments so perhaps that needs to be > amended. > > If you give me commit access I'm happy to check-in some of these fixes > directly to save you the trouble. > > Cheers > Ashley. > -- Ashley Holman Software Engineer NetSpot Pty Ltd 183 Melbourne Street, North Adelaide, 5006 Ph: +618 8361 6800 Fax: +618 8361 6811 |