General plugins

Oohoo language Lab iQuery problem

 
 
Picture of AL Rachels
Oohoo language Lab iQuery problem
Group DevelopersGroup Particularly helpful MoodlersGroup Testers

Hi Everyone,

My system currently is Moodle 2.5.1+ (build 20130726) and red5 v0.8.0 on Centos 6.3. Php is 5.3.3 and MySql is 5.1.69.

No matter which version of red5 I use (I tried 0.8, 1.0, and 1.0.2RC1) I cannot get the language lab to run. I get the greyed out interface with the message connecting to server and then the following error:

Jstree is not correctly loaded! Please check with your administrator! Generally it is when you have jQuery in your theme librairy and it erase the previous include of the Jquery. Please add a condition to not include your theme jQuery for the Language Lab (Example of code condition: "if (typeof jQuery == 'undefined'){//DISPLAY THE JQUERY OF THE THEME}")

Any help would be greatly appreciated,

AL

 

 
Average of ratings: -
Picture of Nicolas Bretin
Re: Oohoo language Lab iQuery problem
 

Hi AL,

Which version of the Language Lab do you use?

I released a version recently tested on Moodle 2.5 (version 2013072400), so try to update and tell me if this resolves your problem.

Thanks,

Nicolas

 

 
Average of ratings: -
Picture of AL Rachels
Re: Oohoo language Lab iQuery problem
Group DevelopersGroup Particularly helpful MoodlersGroup Testers

Hi Nicolas,

Version 2013072400 is the one I am using. Just updated it yesterday and it is still giving me the same error.

Right at the moment, I think my biggest problem is the red5 server itself. There are some conflicting installation guides out there and quite frankly, not having written directions for installation and setup on the red5.org site to me is a problem. Every other source of written directions, has had at least one error that I have had to try an muddle through fixing. One of the things that really bums me out is the videos about red5, none seem to be about installation.

My server is running Centos 6.3 with SELinux set to enforcing. I suspect that I may have permission problems and so far, I have not found any installation guide that even mentions red5 server permission settings at all.

Oh well, this is just for personal use, so I will keep plugging along between other projects.

AL

 

 
Average of ratings: -
Picture of Nicolas Bretin
Re: Oohoo language Lab iQuery problem
 

Hi AL,

Yes Red5 is really complex to setup. I only tried with Ubuntu which works pretty good if you follow our guide: http://docs.moodle.org/21/en/Moodle_Language_Lab

Concerning the Javascript error:

Could you try changing your theme to the standard one and creating a Language Lab with only the default blocks (Navigation, settings).

Hope this will help you,

Nicolas

 
Average of ratings: -
Picture of Alex Hosmer
Re: Oohoo language Lab iQuery problem
 

I was having the same issue when I updated our Moodle to 2.5.1 and Language Lab to 3.08 Build: 2013072400. I found that going to the Administration Block -> Site Administration -> Appearance -> AJAX and Javascript and unchecking Cache Javascript resolved the issue. 

I had been using Moodle 2.3.1 and an earlier build of Language Lab without issue on the same server previously.

 

 

 
Average of ratings:Useful (1)
Picture of AL Rachels
Re: Oohoo language Lab iQuery problem
Group DevelopersGroup Particularly helpful MoodlersGroup Testers

Hi Alex,

Thanks so much for the info. That was just what I needed to be able to start the lab without it failing immediately and giving me the error noted in my first post.

I still have an issue with my Red5 sever though. I can run all the sample stuff with no problems when logged in on the server. When I try to access anything from client computers, it keeps trying to run as localhost until I manually type in the IP address...then they will run.

So now that I can start the lab without the error, it just sits there with the message, "Connecting to server..."

Any ideas on what I need to do next?

Thanks again,

AL

 
Average of ratings: -
Picture of AL Rachels
Re: Oohoo language Lab iQuery problem
Group DevelopersGroup Particularly helpful MoodlersGroup Testers

Hi everyone,

I finally got caught up enough to try this again yesterday. I now "sort of" have the language lab working. I have installed the latest version 3.0.9 (Build: 2013093000), but I do have a few problems.

When I run the Language Lab configuration checker I get the following:

Language Lab configuration checker

Site is available
--------------------------------------------------------------

Your Apache/PHP server is working, now checking RAP configuration...
Congratulations, your RAP configuration is working!
--------------------------------------------------------------
Checking the version of the RAP files...
The version of the RAP files is not the one expected by the language lab. Please check you have updated the version or your RAP files.
--------------------------------------------------------------

The Red5 server is not accessible or not started: Permission denied (13)

The problem with this result is that:

  1. The RAP files are the ones included with the latest version of the lab.
  2. I have the RAP files in /var/www/RAP but also HAVE to have a copy in the .../mod/languagelab/RAP folder or I get Warning: require_once(RAP/version.php): failed to open stream: No such file or directory in /var/www/moodle25/moodle/mod/languagelab/raptest.php on line 20 Call Stack: 0.0001 634416 1. {main}() /var/www/moodle25/moodle/mod/languagelab/raptest.php:0
  3. The Red5 server IS running and IS accessible with other stuff on my server. I have tried various permissions and haven't hit one that works, yet.
  4. When logged in as a student or teacher, I can make recordings and feedback recordings but the length is always cut to about half of the actual recording length.

Anyone have any ideas on what I can do to fix this?

Thanks for your help,

AL

 
Average of ratings: -