General help

 
 
Picture of Christian Herman
File Video "Unable to Connect"
Group Particularly helpful Moodlers

Moodle 2.4+ (Build: 20121230), from Windows Complete Installer (beta environment while production server is being built)

I have a number of Flash/HTML5 packages uploaded as file resources.  Each package is zipped for upload, unzipped in Moodle, and one of the HTML files is assigned as main.  I have 7 or 8 up but yesterday one of them stopped working.  When I click on the resource, the Flash player opens and readies to play.  When I click play, after a moment the player displays: "We are unable to connect to the content you've requested. We apologize for the inconvenience."  Packages I uploaded before and after this one play just fine.  The source files play offline just fine, using the same main file and web browser.  I have tried the following remedies to no avail:

Play with editing on/off, delete resource and reupload, rezip and reupload, different section, deleted and recreate course from scratch, different positions in new course, and several cache purges along the way.

Clarification: IE loads the Flash player but does not play. FF hangs, waiting for a reply.  I have also now saved the original source files with new names  published (Camtasia 8) with a new name, no dice.  So it's not some designation within Moodle that's killing it.

Apache error log:
Can not read or insert database sessions, referer: http://11.12.13.252/pluginfile.php/139/mod_resource/content/2/consumer_loan_workflow/consumer_loan_workflow_player.html

Any ideas out there?

 
Average of ratings: -
James Richardson
Re: File Video "Unable to Connect"
 

Hello Christian Herman!

 

Have you tried accessing the file through the url in your browser and not through the Moodle site to see of the file loads. The file may have a permission problem or some other issue keeping it from loading. Just to be certian the file is accessible on the server.

The database error looks like there may be a disk space, table corruption, php.ini or my.cnf limitation somewhere, its hard to say. Try following this moodle article on database errors to see if you can follow the diagnistc steps. That link says, "To temporarily bypass these errors, use database sessions by editing your moodle configuration file and adding this line:"

$CFG->dbsessions = true;

Once you do that see if the error goes away.

 

Best regards,
James R

 
Average of ratings: -
Picture of Christian Herman
Re: File Video "Unable to Connect"
Group Particularly helpful Moodlers

The files were not loaded to the server prior to uploading into Moodle, but for the sake of troubleshooting, yes, I am able access the files on the server after copying them.  As far as accessing the Moodle-uploaded files directly, it does not play.  Since you still must authenticate through Moodle to access them does that test something different than clicking through Moodle to acces the files?  Or maybe I misunderstand what you're suggesting?

The FAQ wasn't much help since I am not getting any of the error messages listed.  In fact, with debugging on, I'm not getting any error messages in Moodle at all.  I did increase script memory (seems like a good idea anyway) but it has no effect on the video.

Enabling dbsessions had no effect.

I installed Adminer and can see the files in the db just fine.  I'm beginning to think it's actually a problem with the webserver but I don't even know where to start on that.

 
Average of ratings: -
Picture of Christian Herman
Re: File Video "Unable to Connect"
Group Particularly helpful Moodlers

Well, I fixed it by re-editing the video with some updated material. The resulting mp4 is 1.3MB smaller than the original.  It may have been the size that's the issue, but I don't know why a 126MB mp4 would cause an issue.

 
Average of ratings: -