Thank you Howard for your quick response.
I am fairly new to Moodle so, please bear with me.
memory_limit
When I look at the PHP Info from within Moodle>Site Administration>Server>PHP Info there are two values for memory_limit these are as follows:
Local Value = 96M
Master Value = 20M
This Moodle is being hosted by an external provider and I am struggling to find the php.ini file, any suggestions would be much appreciated.
Debugging
I set Debugging to ALL and got a fairly unimportant result from the in-line data on the front page, which was:
Notice: Undefined property: stdClass::$footer in /home/fhlinux221/c/domain.co.uk/user/htdocs/blocks/moodleblock.class.php on line 352
I ran the request to download the questionnaire data at exactly 11:51, when I got the Server 500 error there was no change in the in-line debugging data, I then looked at the server log and the error log I got the following:
Server Log
domain.co.uk: [20/Mar/2012:11:51:33 +0000] ***.***.***.**- - "GET /mod/questionnaire/report.php?instance=2&user=&sid=2&action=dcsv&choicecodes=1&choicetext=1&submit=Download HTTP/1.1" 500 548 "http:// domain.co.uk/mod/questionnaire/report.php?instance=2&sid=2&action=dwnpg¤tgroupid=-1" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 2.0.50727; OfficeLiveConnector.1.3; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E)"
Error Log
[Tue Mar 20 11:51:33 2012] [error] [client ***.***.***.**] FastCGI: comm with (dynamic) server "/var/www/fcgi/php-cgi" aborted: (first read) idle timeout (30 sec)
[Tue Mar 20 11:51:33 2012] [error] [client ***.***.***.**] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/php-cgi"
[Tue Mar 20 11:51:38 2012] [error] [client ***.***.***.**] FastCGI: server "/var/www/fcgi/php-cgi" stderr: PHP Notice: Undefined property: stdClass::$footer in /home/fhlinux221/c/domain.co.uk/user/htdocs/blocks/moodleblock.class.php on line 352
Any further suggestions would be much appreciated.
Kind regards
Ian