php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77142 exif_read_data
Submitted: 2018-11-12 18:06 UTC Modified: 2018-11-12 18:27 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: alerinpoland at gmail dot com Assigned:
Status: Open Package: EXIF related
PHP Version: 7.2.12 OS: Ubuntu
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-11-12 18:06 UTC] alerinpoland at gmail dot com
Description:
------------
Hello,
There is a problem with the exif_read_data function with photos from huwaei p20.
GPS location does not work
Warning: exif_read_data (IMG_20181112_151619.jpg): Process tag (x010D = DocumentNam): Illegal components (0) in /home/www/test.php on line 11

Test script:
---------------
exif_read_data('IMG_20181112_151619.jpg', 'EXIF', true);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-12 18:12 UTC] alerinpoland at gmail dot com
File:
https://www111.zippyshare.com/v/E3xIm8ju/file.html
View:
https://www.pic2map.com/lfays.html
 [2018-11-12 18:27 UTC] cmb@php.net
-Package: Unknown/Other Function +Package: EXIF related
 [2018-11-20 08:39 UTC] gunnar dot sakariassen at impreso dot no
I have the same problem. Seems that the EXIF array from the image taken with Huawei model RNE-L21 breaks or gets corrupted. No GPS data is present. I can see the location of the image in windows, so I know it is there. Works with Samsung images on same script. Error: Process tag (x010D = DocumentNam): Illegal components (0)
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Dec 11 22:01:26 2018 UTC