Login to Your Account


Login using your Facebook account

Join the Mercury Community

Click on all the boats to prove you're human.


Recent Thread Activity

Suggestions
3 Posts - 329 d 22 h 59 min
Event module ideas / suggestions
1 Posts - 405 d 55 min
content too long on CMS pages
2 Posts - 799 d 3 h 38 min
CMS file name - needs error checking
2 Posts - 799 d 3 h 38 min
auto category image
2 Posts - 864 d 7 h 57 min
Group Forums Error on first post
1 Posts - 871 d 12 h 21 min
start new post - needs error checking
2 Posts - 878 d 10 h 46 min
Suggestions
3 Posts - 926 d 7 h 35 min
internal messaging needs editor
5 Posts - 926 d 7 h 43 min
Approve Friend Error
2 Posts - 926 d 7 h 47 min
problem with link
1 Posts - 935 d 2 h 3 min
Comments
2 Posts - 963 d 5 h 24 min
CAPTCHA updates
3 Posts - 982 d 13 h 2 min
Forums : profiles Thread: main photo > upload proble > too big, caused error started April 21, 2010, 11:34 am (Not Following)

petemaster5000
MESSAGE
APR 21 2010 11:04 AM

this is the photo that caused the error on the profile:  christina

screenshot beow, shows the images size:  I opened it in photoshop and nothing else seemed weird about it.  it was  a JPG and RGB.

 

Her profile page had a PHP error on it, causing nothign else but the error for her profile:

 

 

An error occured in script '/var/www/mercury/core/functions/imageResize.php' on line 46:
imagecreatefromjpeg() [
function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 2 extraneous bytes before marker 0xe1
Date/Time: 4-21-2010 18:31:03

Array
(
    [in] => Array
        (
            [dest_file] => /var/www/sites/friendsthatride.com/html/content/userfiles/2/9/0/290/profile.jpg
            [dpath] => /var/www/sites/friendsthatride.com/html/content/userfiles/2/9/0/290/thumbnail-175.jpg
            [maxd] => 175
            [square] => 1
        )

    [size] => 
    [mimeType] =>

)

FIX:   I logged in as her, and uploaded a new photo per Dans suggestion.  Fixed for now.

*** would like to have the image re-sizing bit looked at and made to be more user friendly, and/or allow bigger images to be uploaded.

 


dan
MESSAGE
JUL 23 2010 4:07 PM

with our move to the image magick library this should be resolved