exif_read_data fatal error exif_read_data fatal error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

exif_read_data fatal error

Started by Hanna., November 30, 2017, 02:51:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hanna.

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?

Hanna.

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!

phill104

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?
It is a mistake to think you can solve any major problems just with potatoes.

Hanna.

Quote from: Phill Luckhurst 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?

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

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

ron4mac

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
if (isset($CONFIG['autorient']) && $CONFIG['autorient'] == 1) {
to
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.

ron4mac

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.

Hanna.

Quote from: ron4mac 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
if (isset($CONFIG['autorient']) && $CONFIG['autorient'] == 1) {
to
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.

ron4mac

#7
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.