This is due to a system command of the form:
system("cd c:\www\moodle/filter/algebra & algebra2tex.pl");
failing due to the mixed forward and backslashes in the directory path. It works in some versions of PHP on Windows (e.g. EasyPHP) but not in other versions. I will post a bug fix when the Sourceforge CVS is back up.
Just for the records, I only use it on my laptop for testing, we run Linux..
TeX works fine under PHPeasy1.7/windows2000
Algebra not:
Notice: Undefined variable: cmd in c:\easyphp17\www\moodle\filter\algebra\algebradebug.php on line 229
Notice: Undefined variable: cmd in c:\easyphp17\www\moodle\filter\algebra\algebradebug.php on line 231
Notice: Undefined variable: status in c:\easyphp17\www\moodle\filter\algebra\algebradebug.php on line 231
Ang: Re: Algebra filter problems on Windows servers
Heureka!
Thanks Zbigniew - Now algebra runs like dream.
Best regards
Morten
Re: Ang: Re: Algebra filter problems on Windows servers
Works, yes !!! only with a warning. It passes multilang? (If I switch multilang filter off, then also no warning
(in 1.3final):
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in c:\easyphp17\www\moodle13final\filter\multilang\filter.php on line 116
(in 1.4 beta):
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in c:\easyphp17\www\moodle\filter\multilang\filter.php on line 231
Re: Ang: Re: Algebra filter problems on Windows servers
Re: Ang: Re: Algebra filter problems on Windows servers
I logged in as admin, sorry. (Nice feature I will compare the versions!)
Thanks, now everything is working on my demo-laptop
Re: Algebra filter problems on Windows servers
hi Zbigniew
I tried your fix but still