Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: exif_read_data fatal error  (Read 6814 times)

0 Members and 1 Guest are viewing this topic.

Hanna.

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 227
  • webstar
exif_read_data fatal error
« on: November 30, 2017, 02:51:45 am »

I get this fatal error on exif_read_data when I try to upload images in Coppermine http://kristincavallaridaily.com/gallery,

I tried to find help, forums say "exif_read_data is a standard PHP function available form PHP 4 onwards. Please check with your host why this function is not available. "

Is there anything I can do myself to solve this?
Logged

Hanna.

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 227
  • webstar
Re: exif_read_data fatal error
« Reply #1 on: November 30, 2017, 05:33:25 am »

Update, my host says "addtional extensions can be only used by business customers with business SLA.
we dont offer extension installation for private customers and if its not related to our cloud service"

So then, what are my options to fix this on my own? I can't live without being able to upload images through my coppermine you guys! Help please!
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: exif_read_data fatal error
« Reply #2 on: November 30, 2017, 07:23:11 pm »

Seems the link you provide above is not working, or your server has crashed. Can you check and re-post

In addition, what version of PHP is your server using?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Hanna.

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 227
  • webstar
Re: Re: exif_read_data fatal error
« Reply #3 on: December 01, 2017, 12:00:00 am »

Seems the link you provide above is not working, or your server has crashed. Can you check and re-post

In addition, what version of PHP is your server using?

Oh apologies, https://kristincavallari.net/gallery/

And I recently updated it to 7 I believe? I have coppermine 1.6 now
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: exif_read_data fatal error
« Reply #4 on: December 01, 2017, 01:27:05 am »

Not a very friendly host ... I would consider looking for another.

Are you able to edit files?

In the CPG file include/picmgmt.inc.php, on line 51, change
Code: [Select]
if (isset($CONFIG['autorient']) && $CONFIG['autorient'] == 1) {to
Code: [Select]
if (false && isset($CONFIG['autorient']) && $CONFIG['autorient'] == 1) {See if that works for you. You will not get your uploaded files automatically oriented for you.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: exif_read_data fatal error
« Reply #5 on: December 01, 2017, 01:12:43 pm »

It would seem that your ISP is Netrouting Sweden. And I would assume that you are subscribed to their lowest cost VPS package. If that is the case, then the EXIF php extension should be installable by you (or a helper). It would seem that it is just that your ISP is not going to do it for you.
Logged

Hanna.

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 227
  • webstar
Re: Re: exif_read_data fatal error
« Reply #6 on: December 01, 2017, 08:09:26 pm »

Not a very friendly host ... I would consider looking for another.

Are you able to edit files?

In the CPG file include/picmgmt.inc.php, on line 51, change
Code: [Select]
if (isset($CONFIG['autorient']) && $CONFIG['autorient'] == 1) {to
Code: [Select]
if (false && isset($CONFIG['autorient']) && $CONFIG['autorient'] == 1) {See if that works for you. You will not get your uploaded files automatically oriented for you.

Wow! This one totally did the work! Check this out, YAY! https://kristincavallari.net/gallery/thumbnails.php?album=377

THANK YOU! Let me know if I need to note anything because of this change/etc.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: exif_read_data fatal error
« Reply #7 on: December 01, 2017, 11:16:56 pm »

Great! If you replace include/picmgmt.inc.php with this one, you should get the automatic image orientation function back. The change will become a part of new releases.
« Last Edit: December 01, 2017, 11:28:53 pm by ron4mac »
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.