Friday, 21 September 2012

FastCGI Error The FastCGI Handler was unable to process the request. -------------------------------------------------------------------------------- Error Details: The FastCGI process exited unexpectedly Error Number: -2147467259 (0x80004005). Error Description: Unspecified error HTTP Error 500 - Server Error. Internet Information Services (IIS)

This sounds pretty terminal, our server was down and we could no longer use moodle. I hadn't changed any settings in php.ini. What had happened was I had manually cleared the php.log file sitting in C:/temp/ without the log file it no longer wanted to serve webpages...(?!). restoring that file, brought the server back up.

Wednesday, 5 September 2012

Other moodle 2.2 missing features

Moodle 2.x no longer uses the section anchors that were present in 1.9  For example

Take me to <a href="#sectionblock-1">Course Materal</a>

<a name="sectionblock-1"> the page anchor it links to
used to link to the first section block.  We've had to recode several sections to add our own anchors, which is a little annoying

Tuesday, 4 September 2012

Moodle 2 CRON issues

We upgraded from 1.9 to 2.2 and our CRON tasks stopped working.  It turned out that we should have use php-cgi.exe and NOT php-win.exe

Saturday, 18 February 2012

get_iplayer hd and convert to avi

get the video:
get_iplayer --vmode=flashhigh --pid ####### --force

converting flash video with ffmpeg, first get a terminal to the folder with the .flvs in it.  Then run the following:

//this copies


ffmpeg -i "Sing2.flv" -vcodec copy "Sing2.avi"


//this converts


ffmpeg -i "Sing2.flv" "Sing2.avi"     


//this copies


ffmpeg -vcodec copy -acodec copy -i INPUT.flv OUTPUT.mp4