![]() |
|
Filetype not supported (jpeg,png) - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Filetype not supported (jpeg,png) (/thread-10992.html) |
Filetype not supported (jpeg,png) - light645 - 2013-04-12 Hi, today I installed the newest version of Zenphoto on my Apache web server. When I try to upload a picture (jpg or png) jQuery uploader reports an error `Error: Filetype not allowed` The size of the picture is 100kb, so that shouldn't be a problem. Uploading with http gives the error: `You have attempted to upload one or more files which are not Zenphoto supported file types` After it shows the error, the page gets redirected to `Your files have been uploaded.` I'm using Firefox. IE shows the same error messages. I do not have GD installed. ImageMagick is installed, but I'm not sure it is working/configured. Do I need GD to upload jpegs and so on? I checked debug log, it's empty. The security log shows the following every time I open an album: `2013-04-12 13:44:02 My-Ip-Address Album-access admin MyName Blocked /zenphoto/zp-core/admin-edit.php?page=edit&subpage=1&tab=imageinfo&album=new-album&uploaded=1&albumimagesort=id_desc` The outcome in the security log shows only "success" when I login, when I access an album or upload photos it logs "blocked", but I don't get any other error message apart from the "Filetype not supported" one. I'm using https with a self-signed certificate. Is that maybe an issue? Filetype not supported (jpeg,png) - light645 - 2013-04-12 Problem solved. This topic can be closed. The problem was that I had not activated the GD library in PHP. I just removed the ';' in front of "extension=php_gd2.dll". Then restarted Apache and checked phpinfo(). It was loaded and then suddenly everything worked fine in Zenphoto. So far everything is solved
Filetype not supported (jpeg,png) - acrylian - 2013-04-12 Quote:I do not have GD installed. ImageMagick is installed, but I'm not sure it is working/configured.The problem was that did not have any graphics libary enabled Zenphoto supports. ImageMagick is only supported via the Imagick extension. But GD is generally fine. |