1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Broken Images

Discussion in 'Resolved Bug Reports' started by Edrondol, Oct 12, 2010.

  1. Edrondol

    Edrondol Well-Known Member

    When I attempt to upload a picture file I get an error. I can do a thumbnail, but when trying to do a full upload all it does is prints "attachFull#". When you click on it it tells you the image is broken.

    It does not do that here.

    What setting have I messed up? :)
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    What is the error message? Anything specific?
     
  3. Edrondol

    Edrondol Well-Known Member

    When I upload the picture it only posts the "attachFull#" but no picture and no error. Sometimes it only puts in the file name but no link or anything like that. If you try and edit the post it shows up as "".

    OCCASIONALLY, it will give a link that you can click on and that link tells you the image is broken. I'm trying to get you a screen shot, but it's only putting up the file name now.

    Oh, and I'm using the latest Firefox and the "Upload a file" button. I was able to duplicate in IE.
     
  4. Blandt

    Blandt Well-Known Member

    GD limitation I'm afraid
     
  5. Edrondol

    Edrondol Well-Known Member

    You're right, it IS a G-D limitation!! But what can I do? Is this something only my host can fix?

    ;)
     
  6. Mike

    Mike XenForo Developer Staff Member

    Can you upload the image here without a problem?
     
  7. Edrondol

    Edrondol Well-Known Member

    Yes. Pictures here are fine.

    I'm recompiling Apache with GD on my site right now. Hopefully that will work, although it had GD checked before.
     
  8. Edrondol

    Edrondol Well-Known Member

    This may be a dumb question, but right now we're running PHP 5.2.14. Is this the latest stable version? I recall seeing 5.3.3 available. Would it be worth it to compile & update to that?
     
  9. Blandt

    Blandt Well-Known Member

    It will be nice to have 5.3.3 for other things but not for this particular problem
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    My server is using PHP 5.2.14 and I don't have any issues so it's probably not worth the work to upgrade.
     
  11. Blandt

    Blandt Well-Known Member

    The only good thing to have 5.3.3 is that fpm comes packaged ;)
     
  12. Mike

    Mike XenForo Developer Staff Member

    GD should only be for thumbnailing. (Well, unless the image is bigger than your allowed dimensions in the attachment settings, then it'll be shrunk.) What are the dimensions of the image?

    Can you save the broken image that's downloaded, zip up the file, and attach it here?
     
  13. Edrondol

    Edrondol Well-Known Member

    Nope. Right now all it's doing is putting the "attachFull#" placeholder in the thread. The example picture I just tried is 250x154. I just tried one that was 112x168 and it failed, too.

    Again, no error message at this time.
     
  14. Blandt

    Blandt Well-Known Member

    I think this has to do with your permissions .... double check that your server can read your upload folder ...
     
  15. Edrondol

    Edrondol Well-Known Member

    /xenforo/data is at 777, as is all subfolders under that, including /data/attachments/0/ and all .jpg files inside.
     
  16. Blandt

    Blandt Well-Known Member

    Can you post your .htaccess ? and your server conf (how it handles static files)
     
  17. Edrondol

    Edrondol Well-Known Member

    Blandt has gone above and beyond to help me but we've run upon a weird error. He can see images posted on my board but neither I nor a number of my test users can. I've cleared my browser cache (ctrl-f5) several times and even installed Chrome to test on a fresh browser. He sees the images but all we get is broken links when we view.

    Ideas?
     
  18. David Thomas

    David Thomas Active Member

    Can I get a link?
     
  19. Edrondol

    Edrondol Well-Known Member

    http://www.halforums.com/xenforo/

    Login: DaveTest
    Password: ironwood

    Unless you want to register, which will be erased when I update to Beta 2 and above. If you figure it out I'll send you a cookie in the mail.

    Note that in a couple of minutes from this writing my host is pulling my site for 15-20 minutes to upgrade our HDs. So if you can't get in that's why.
     
  20. z3r010

    z3r010 Member

    I'm having the same problem with B1 & B2 on IIS7.5 PHP5.3.3
     

Share This Page