"Failed to load given url" from a plugin moddata dir (1.9)

"Failed to load given url" from a plugin moddata dir (1.9)

by Itamar Tzadok -
အကြောင်းပြန်မှု အရေအတွက်: 2

I'm working on an activity module plugin which allows uploading and storing images in moodledata...moddata... but the stored images do not show up on the page and firebug states "Failed to load given url" (with urls such as http://localhost/file.php/3/moddata/newmodule/1/2/1/image.gif). If I change the url to some image in moddata of a standard module, that image shows up. Permissions of the images look the same. Any suggestion appreciated. ပြုံး

ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
Itamar Tzadok ထံသို့ အကြောင်းပြန်ရာတွင်

Resolved - Re: "Failed to load given url" from a plugin moddata dir (1.9)

by Itamar Tzadok -

It was a BOM that sent a header which prevented file.php from doing its job. ပြုံး

Itamar Tzadok ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Resolved - Re: "Failed to load given url" from a plugin moddata dir (1.9)

by Nigel Singleton -

Hi. Seem to have a similar problem. Can you be a bit clearer what you did to rectify the problem? Thanks.