I am running Moodle 1.4.2 on PHP4.3.9 on Solaris8. I downloaded Mimetex source and compiled it. Tex is now working fine but Algebradebug.php continues to give error. I have downloaded the latest source of algebradebug.php from CVS and added the following lines too under the switch(PHP_OS)
case "SunOS":
$commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.sunos";
$cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.sunos\" -e \"$pathname\" ". escapeshellarg($texexp);
break;
My error messages are :
Notice: Undefined variable: cmd in /usr/local/apache2/htdocs/moodle/filter/algebra/algebradebug.php on line 246
Notice: Undefined variable: cmd in /usr/local/apache2/htdocs/moodle/filter/algebra/algebradebug.php on line 248
Notice: Undefined variable: status in /usr/local/apache2/htdocs/moodle/filter/algebra/algebradebug.php on line 248
The shell command
returned status =
Notice: Undefined variable: status in /usr/local/apache2/htdocs/moodle/filter/algebra/algebradebug.php on line 249
Notice: Undefined variable: status in /usr/local/apache2/htdocs/moodle/filter/algebra/algebradebug.php on line 251
Notice: Undefined variable: status in /usr/local/apache2/htdocs/moodle/filter/algebra/algebradebug.php on line 253
Notice: Undefined variable: commandpath in /usr/local/apache2/htdocs/moodle/filter/algebra/algebradebug.php on line 256
Notice: Undefined variable: commandpath in /usr/local/apache2/htdocs/moodle/filter/algebra/algebradebug.php on line 268
mimetex executable not found!
Image not found!
Please help !
Tia,
sujit