Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Re: Image error "File is not an image." TW9.2

posts: 72 United States

I just found this discussion thread about file type recognition and PHP fileinfo extension, and setting 'Validate upload file content' under security.

I'm running PHP Version 5.3.10. I checked my PHP files and I have the fileinfo extension: "C:\Program Files (x86)\PHP\v5.3\ext\php_fileinfo.dll"

I looked through my Admin home and did not see any options for 'Validate upload file content'.

When I run /tiki-check.php it shows fileinfo as "bad","not available","This fileinfo extension is needed for the 'Validate upload file content' preferance."

Any ideas why Tiki doesn't think I have the extension? Could this be why my filetypes are not recognized? How do I enable "Validate uploaded file content" in the security panel?

Based on the discussion linked above, I'm guessing I'm not the only one with this issue.

posts: 20 United States

For what it is worth, I have the same problem. I can upload a zip file in the gallery, but I get that error message and it can't display it.

I can circumvent this by editing the page as wiki text and then replacing "img" with "file"

That fixes it, so it seems to me that the file gallery is broken, doesn't detect the mime type even though the server does.

I'm using 11.1