I'm running Moodle 1.6 as production server and Certificates have been working fine until this weekend. On Sunday I added the Certificate module and Activity Locking to what I hope to become my new production version of Moodle running 1.9.4.
I did not work yesterday (Monday) but when I arrived today I find that the 1.6 site was down yesterday. The config.php file had a trashed top line. The people on duty restored a backup version of config.php and restored Moodle to operation.
Now the issue is the Certificates no longer work. When I try to view a certificate I get the message:
Notice: "Undefined index:p in /srv/www/htdocs/moodle/config.php on line 1"
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/moodle/config.php:l) in /srv/www/htdocs/moodle/lib/fpdf/fpdf.php on line 1022
FPDF error: Some data has already been output to browser, can't send PDF file
I know someone out there must know what the issue is. Please help me since my job is on the line.
Thanks,
Bill