Welcome to Geeklog, Anonymous Wednesday, March 29 2023 @ 11:34 am EDT

Geeklog Forums

Division by zero MG 1.5.1

Status: offline


Forum User
Regular Poster
Registered: 02/19/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

Text 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 EDT. The time is now 11:34 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