Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Friday, May 24 2013 @ 03:18 PM EDT


 Forum Index > Support > Plugin Support New Topic Post Reply
 Division by zero MG 1.5.1
   
scroff
 02/20/09 11:31AM (Read 728 times)  
++++-
Regular Poster

Status: offline


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

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


Any ideas on how to deal with this?

 
Profile Email
 Quote
Content generated in: 0.36 seconds
New Topic Post Reply

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