Support » Plugin: MimeTypes Link Icons » [Plugin: MimeTypes Link Icons] Error: Anonymous Function

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi more info on this problem.

    Links that I have uploaded using the WordPress uploader seem to display fine with an Icon and filesize.

    Files that I link to manually on my server throw and error. (http://www.example.com/files/doc.pdf) Links like this will error and show:

    Warning: filesize() [function.filesize]: stat failed for http://www.iccs-isac.org/members/board/docs/minutes/ICCS%20Board%20Record%20of%20Decision%20Sept%2028_05.pdf in /hermes/bosoraweb004/b2818/nf.iccs-isac/public_html/iccs-isac.org/wp/wp-content/plugins/mimetypes-link-icons/mime_type_link_images.php on line 451

    Any idea what might cause this? Please help. I checked the permissions of the folder and set them to 777 but it still throws the same error. And it’s only when I turn on “show filesize”. If I turn it off everything is okay. But I would like to turn it on.

    Thanks!

    Plugin Author eagerterrier

    (@eagerterrier)

    @kevillar

    sorry for late response.

    I can’t get through to your iccschannel.net site to have a look. Is there any way of seeing your work so far?

    @kevillar

    I have had this same issue – it was a poorly formed PDF file causing the issue. If the code cant gather the correct filesize, it throws this error, hence it disappears when the “show filesize” setting is disbaled.

    Try re-authoring the PDF..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: MimeTypes Link Icons] Error: Anonymous Function’ is closed to new replies.