Loading...
 
Architecture / Installation

Architecture / Installation


EXIF Data in Photo Causing "Internal Server Error" Upon Unload

posts: 74 United States

I have resolved my file size limit issues. Now when I try to upload a photo from my DSLR camera to the filesystem using Tiki, I get "Internal Server Error". I have discovered that if I remove the EXIF data from the photo, I have no problems uploading the photo. However, I do not have any problems uploading photos taken with my iPhone with EXIF data.

I'm using Ubuntu, Tiki 20, PHP, MariaDB.

EXIF data, causes Internal Server Error.
https://www.dropbox.com/s/c75qfq272g8k3ln/IMG_4875%20EXIF.JPG?dl=0

No EXIF data, uploads with no problem.
https://www.dropbox.com/s/zlgp0m7nhsm6la6/IMG_4875%20no%20EXIF.JPG?dl=0

posts: 8633 Israel

Hello Jeffrey,

I kindly suggest to check if the issue has been reported at https://dev.tiki.org/Wishlist
If yes please post an update here.

If you can’t find a ticket on our wishlist, please open a ticket at https://dev.tiki.org/Make-a-wish and eventually create an instance and paste the link to the item here. The more details you give (and make it easy for a developer to reproduce) more are the chances someone will fix the issue.

If it is critical for your project and you need this to be fix quickly you can hire a consultant that will fix and improve the functionalities for you : https://tiki.org/consultants

posts: 74 United States

Bernard, thank you for taking the time to review my question. After further testing, just the removal of the "Camera Maker" from the EXIF data will allow for a successful upload. I'm not sure what the root cause of the error is yet but I at least know what is making it happen.

Fails to uploads with Camera Maker set to "Canon"
Meta Data

Successfully uploads with Camera Maker set to " " or "Cano" or "anon". But will not upload if set to "Canon" even if deleted and manually entered.
Removed Make

Bernard Sfez / Tiki Specialist wrote:

Hello Jeffrey,

I kindly suggest to check if the issue has been reported at https://dev.tiki.org/Wishlist
If yes please post an update here.

If you can’t find a ticket on our wishlist, please open a ticket at https://dev.tiki.org/Make-a-wish and eventually create an instance and paste the link to the item here. The more details you give (and make it easy for a developer to reproduce) more are the chances someone will fix the issue.

If it is critical for your project and you need this to be fix quickly you can hire a consultant that will fix and improve the functionalities for you : https://tiki.org/consultants

posts: 8633 Israel
Jeffrey Frady wrote:

Bernard, thank you for taking the time to review my question. After further testing, just the removal of the "Camera Maker" from the EXIF data will allow for a successful upload. I'm not sure what the root cause of the error is yet but I at least know what is making it happen.

Fails to uploads with Camera Maker set to "Canon"


Great you could find the issue !
Please add a ticket in the Tiki wishlist : https://dev.tiki.org/Make-a-wish


posts: 74 United States

I see that this bug is not longer present in Tiki 21.0RC1. Tiki might be handling images differently now, images are no longer rotating properly. I should be able to fix this on the backend.

Jeffrey Frady wrote:

I have resolved my file size limit issues. Now when I try to upload a photo from my DSLR camera to the filesystem using Tiki, I get "Internal Server Error". I have discovered that if I remove the EXIF data from the photo, I have no problems uploading the photo. However, I do not have any problems uploading photos taken with my iPhone with EXIF data.

I'm using Ubuntu, Tiki 20, PHP, MariaDB.

EXIF data, causes Internal Server Error.
https://www.dropbox.com/s/c75qfq272g8k3ln/IMG_4875%20EXIF.JPG?dl=0

No EXIF data, uploads with no problem.
https://www.dropbox.com/s/zlgp0m7nhsm6la6/IMG_4875%20no%20EXIF.JPG?dl=0


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting