Filter Problem

Filter Problem

av Jacob Romeyn -
Antall svar: 4

I still  have the same fiter problem, can anyone help?

Fatal error: Cannot redeclare mediaplugin_filter() in /home/jromeyn1/public_html/moodle/filter/mediaplugin/filter.php on line 28

Gjennomsnittlig vurdering: -
Som svar til Jacob Romeyn

Re: Filter Problem

av Zbigniew Fiedorowicz -
It could be the same problem as http://moodle.org/mod/forum/discuss.php?d=9069

You might try the solution that Haller found.
Som svar til Zbigniew Fiedorowicz

Re: Filter Problem

av Eloy Lafuente (stronk7) -
Bilde av Core developers Bilde av Documentation writers Bilde av Moodle HQ Bilde av Peer reviewers Bilde av Plugin developers Bilde av Testers
Or perhaps you have any PHP accelerator installed in your server?

I had similar problems testing accelerators some time ago. Only IonCube PHP Accelerator seemed to work fine with filters (not absolute sure about this!). If somebody is using another alternative...

Ciao smiler

PS: Haller problem (http://moodle.org/mod/forum/discuss.php?d=9069) was solved by deactivating his PHP accelerator. He posted the same question in the "Moodle en Español" course.
Som svar til Eloy Lafuente (stronk7)

Re: Filter Problem

av Zbigniew Fiedorowicz -
Perhaps the filter architecture should be changed to deal with this conflict?  For example:
http://moodle.org/mod/forum/discuss.php?d=9069#44071
Som svar til Zbigniew Fiedorowicz

Re: Filter Problem

av Martin Dougiamas -
Bilde av Core developers Bilde av Documentation writers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av Testers
Should definitely be done.

The problem is that the function names are variables (to allow for more flexibility).

The only way I can think of is to make the filter function names something predictable like tex_filter, mediaplugin_filter etc.