-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
1.9.9
-
None
-
On my pc I use Ubuntu 10.04 with Firefox. On host: Fedora Linux (I don't know version) PHP 5.2.6-1; mysql 5.0.51a-24.
-
MySQL
-
MOODLE_19_STABLE
1) I installed Presenter on my moodle site. I tryed it. When I add a Presenter activity, I obtain in first frame ('import presenter') this error message:
-----------------------------------------------------------------------------------------------------------------------
Parse error: syntax error, unexpected T_STRING in /var/www/vhosts/#######/httpdocs/lib/moodlelib.php(5545) : eval()'d code on line 1
--------------------------------------------------------------------------------------------------------------------------------------
2) I go ahead, I enter flv file and other settings, I save the activity, but when I run it, I obtain several errors:
---------------------------------------------------------------------------------
Notice: Undefined property: object::$playerVolume in ###/httpdocs/mod/presenter/view.php on line 109
Notice: Undefined variable: presentationWidth in ###/httpdocs/mod/presenter/view.php on line 120
Notice: Undefined variable: ch in ###/httpdocs/mod/presenter/chapterlib.php on line 81
Notice: Trying to get property of non-object in /httpdocs/mod/presenter/chapterlib.php on line 81
Notice: Undefined variable: ch in /httpdocs/mod/presenter/chapterlib.php on line 82
Notice: Trying to get property of non-object in /httpdocs/mod/presenter/chapterlib.php on line 82
var loc='view.php?noplay=1&open=1&id=29&chapterid=1'; var xmlHttp; function chapterCompleted(course, user, chapter, presenter) { xmlHttp = GetXmlHttpObject(); if (xmlHttp == null)
//ytplayer should alreaby be instantiated volume = ytplayer.getVolume(); var url = "http://###" + "/mod/presenter/ajax.php?course=" + course + "&user=" + user + "&chapter=" + chapter + "&presenter=" + presenter + "&volume=" + volume; xmlHttp.Xonreadystatechange= function() { if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { var r = xmlHttp.responseText;if (loc != '')
{ location.href = loc; }} }; xmlHttp.open("GET",url,true); xmlHttp.send(null); } function GetXmlHttpObject() { var xmlHttp=null; try
{ // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); }catch (e) { //Internet Explorer try
{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); }catch (e)
{ xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp; }
Notice: Undefined variable: slideHeightDiv in /httpdocs/mod/presenter/view.php on line 534
Notice: Trying to get property of non-object in /httpdocs/mod/presenter/chapterlib.php on line 119
Notice: Undefined variable: summary in /httpdocs/mod/presenter/view.php on line 663
-------------------------------------------------------------------------------------------
3) After these errors, the presentation works and my flv file is correctly played.
I'll attach the screensots of error 1) and 2)