Mathfilter breaks in Drupal 6.11

Mgccl - May 9, 2009 - 05:41
Project:Mathematics Filter
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

After I upgraded to Drupal 6.11, any node uses mathematical filter will not load.

#1

Mgccl - May 9, 2009 - 13:14
Priority:critical» normal

ok, it seems to be a problem not directly caused by mathfilter.
For some reason, due to upgrade to Druapl 6.11,

file_exists(file_create_url($formula_image_file))

evaluate as false even when the image does exist. It might be because some of the server settings.

It wouldn't be a problem, except this made the script request the remote server for a new file every time, thus getting my ip banned due to over usage. Then this script will take a long time running and make the page seems like it doesn't load.

So now the problem is fixed, I did it by replace

if (!file_exists(file_create_url($formula_image_file))) {

by
if (!file_exists($formula_image_file)) {

Do you think this modification should be added to the module?

#2

dwees - May 10, 2009 - 23:09

Well if it's causing serious problems, then yes of course! I'm not really actively maintaining my modules right now though as you can see. I'm working full time in another field + taking courses for my Masters + helping raise a 2 year old. If someone else wants to take over maintenance of this module, that would be helpful.

Dave

 
 

Drupal is a registered trademark of Dries Buytaert.