Certificate moduel error on Moodle 1.9.14+ (Build: 20111019)
Number of replies: 6http://download.moodle.org/download.php/plugins19/mod/certificate.zip
My Moodle version is Moodle 1.9.14+ (Build: 20111019)
XAMPP latest version + Apache 2.2.21; + MySQL 5.5.16 (Community Server)
+ PHP 5.3.8 (VC9 X86 32bit thread safe) + PEAR
After installing and Adding it to course I got the below error (If I enable debugging option/Without debugging showing blank screen after clicking from course page):
-------------------------------------------------------------------------------------------------------------------
Notice: Constant FPDF_VERSION already defined in D:\xampp\php\PEAR\fpdf.php on line 10
Fatal error: Cannot redeclare class FPDF in D:\xampp\php\PEAR\fpdf.php on line 13
--------------------------------------------------------------------------------------------
Can somebody please help me on this how I can work with the Certificate module?
Previous moodle version Moodle 1.9.9+ (Build: 20101020), It was working.
Re: Certificate moduel error on Moodle 1.9.14+ (Build: 20111019)
Re: Certificate moduel error on Moodle 1.9.14+ (Build: 20111019)
Re: Certificate moduel error on Moodle 1.9.14+ (Build: 20111019)
Hello,
Judging by the error messageyou posted you have a problem with 2 copies of PEAR installed on your server : one outside of Moodle in D:\xampp\php\PEAR\ and one in moodle/lib so the 2 copies of the fpdf libraries are creating a conflict.
Why do you need D:\xampp\php\PEAR\ ?
Re: Certificate moduel error on Moodle 1.9.14+ (Build: 20111019)
Its installed automatically when I install XAMPP 1.7.7 and moodle (with lib).
What can be the solution of this problem? can you kindly let me know?Will I delete either one or deletion create problems to running website?Please advise me.
Re: Certificate moduel error on Moodle 1.9.14+ (Build: 20111019)
Well the problem is that I don't use XAMPP so I can't really give you a "ready to use" solution.
But I am quite sure that Moodle don't need nor use the PEAR package that is in D:\xampp\php\PEAR\
so the solution would be to inactivate, or unistall this PEAR package
I did a quick web search and this page seems to explain how to do it : http://davehiren.blogspot.com/2011/04/how-to-install-or-uninstall-pear.html
But be warned that I have not tested the advices given on that page so proceed with caution and make a complete backup before trying anything.