Closed (won't fix)
Project:
Mathematics Filter
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2008 at 00:54 UTC
Updated:
10 Nov 2008 at 01:35 UTC
is the cached image supposed to be in files/mathfilter ? I could not find any after enabling the option. Thanks!
Comments
Comment #1
dwees commentedIt should be, however it requires curl support on your server so it may be silently failing. I think I found a work around using fopen and fclose, etc... but haven't included it yet. Can you confirm that you have the curl extension for php enabled on your server (it almost always is).
Dave
Comment #2
xjs commentedI am on a shared hosting, and just checked /lib and /usr/lib/php/extensions, there's no curl stuff. I am not a php person, so let me know if I should look at something else. Thanks.
Comment #3
dwees commentedIt is possible to replace the curl stuff using fopen and fclose. I'll look into it if I ever get a chance. However this isn't something I can work on immediately (but I know the solution is really simple).
Basically idea is to fopen the url (for read only) that we currently curl, then make sure to close the file after we are done.
Dave
Comment #4
dwees commentedIt turns out that on some servers, fopen and fclose are disabled for external files, so I'm going to have to mark this as "won't fix" since I won't be able to come up with a caching solution that works for everyone. However, I will remember that I should add a message so that the curl option doesn't 'silently' fail.