Fatal Error: Constant X already defined...Cannot redeclare X

Re: Fatal Error: Constant X already defined...Cannot redeclare X

by Martin Dougiamas -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
OK, great.  Problem is now fixed.

It seems to be something to do with the chroot going on there in that account ... for some reason there are problems when including a file using a relative path like ../mod/label/lib.php.   I changed it to use absolute names then rebuilt the modinfo cache and all is well now.

This fix will be in 1.2 too.  smile