Welcome to Geeklog Sunday, December 05 2021 @ 02:07 am EST

Geeklog Forums

Division by zero MG 1.5.1

Status: offline


Forum User
Regular Poster
Registered: 19/02/03
Posts: 111
The answer is probably right in front of me...

I have installed GL 1.5.2rc.1 with MG 1.5.1. It all installed smoothly and everything is working well. Except, one user is receiving an error when trying to upload images to her album. I can upload images to her album in both FF and IE6 & 7. I suspect her problem stems from the fact that the images she is trying to upload are from her cellphone. The error is as follows;

2 - Division by zero @ /home/xxxx/public_html/mediagallery/exif.php line 363

line 363 in exif.php (unless I counted wrong) is

PHP Formatted Code
else  $top = hexdec(substr($data,0,8));                         //motorola stores them top-bottom

Any ideas on how to deal with this?

All times are EST. The time is now 02:07 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content