4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: khansahib on December 30, 2011, 05:45:41 AM
-
Hello,
I was checking the error_log file and I can see the following error message in that file.
[30-Dec-2011 08:35:19] PHP Warning: Division by zero in /home/site/public_html/gallery/includes/functions.php on line 315
whereas on line 315 in functions.php I can see the following:
$exif_array[$exif_match[$key]] = "1/".round((1/($ExposureTime[0]/$ExposureTime[1])),0)." sec(s)";
Please suggest how to resolve this.
Cordially,
Khansahib
-
What is your 4images version?
This has been fixed in 1.7.10
-
What is your 4images version?
This has been fixed in 1.7.10
Sir, 4images version is the updated one i.e. 1.7.10 I have posted the line which is pointed out by error_log file. Is there anything wrong with the posted php code?
Also I have attached my gallery's functions.php file
Please suggest.
-
This is strange, in theory no such errors should occur...can you provide the image that produces this error? I'd like to see what's in the EXIF of it.
-
Hello,
I have attached the error_log file, I hope you will review it.
-
I can still see the same error, can anybody please update me?
-
Hi!
I can still see the same error, can anybody please update me?
what for 4images version, and:
This is strange, in theory no such errors should occur...can you provide the image that produces this error? I'd like to see what's in the EXIF of it.
mfg Andi
-
Hi!
I can still see the same error, can anybody please update me?
what for 4images version, and:
This is strange, in theory no such errors should occur...can you provide the image that produces this error? I'd like to see what's in the EXIF of it.
mfg Andi
mfg,
there is not image details all I can see in error_log files is already attached, can you please guide me so I can follow those steps in-order to get EXIF of it.