Difficulties with photos not showing

Hello,

I am having problems with getting Tidypics to work on my server.  When uploading images everything seems to work fine - no error messages.  However, the only thing showing up is the default question mark icon.  My Tidypics server anlysis shows the following:

PHP version 5.1.6  
GD Enabled Elgg requires the GD extension to be loaded
ImageMagick PHP Disabled  
exec() Enabled Required for ImageMagick command line
Memory Available to PHP 64MB Change memory_limit to increase
Memory Used to Load This Page   This is approximately the minimum per page
Max File Upload Size 5.00 MB Max size of an uploaded image
Max Post Size 8.00 MB Max post size = sum of images + html form
Max Input Time 60 s Time script waits for upload to finish
Max Execution Time 30 s Max time a script will run
GD imagejpeg Enabled  
GD imagepng Enabled  
GD imagegif Enabled  
EXIF Enabled

 

Is there something I am missing in the setup?  The plugin setting show GD Image Library is selected.

Thanks!  I appreciate it!

Brent

  • Brent, are you able to upload a photo using the file plugin and get it to show up?

  • Good question - nothing shows up when uploading a file with the photo plugin either.  Interestingly, when I upload a photo through the file plugin everything appears to work okay.  When I try to download that same file, it appears it is not there - the link returns a file with 0 bytes.  Same with non-image files - 0 bytes.  Could it be a file permissions problem?  Sorry to be such a newb, but I don't know where to look.

  • Yes, I think you have a permissions problem with your data directory. I'll try to put some extra code in the next release that tries to catch this error rather than fail silently.

  • Thanks - I think that's it, but I can't seem to fix it.  I modified my data directory to 777.  When uploading a photo the newly created "/a" directory has permissions of 700 and I can't do a CHMOD through my FTP (just thought I would check to see if that corrected anything).  When trying to upload, the file seems to go through okay, but now I get a blank for the image (no question mark placeholder).  I realize these problems aren't particular to Tidypics and sure appreciate your help!

  • The user that Apache is running under would have read,write,execute permissions to the "/a" directory so I think it should work. It does mean that you cannot even check whether the file is there or not. I guess your hosting service really has things locked down.

    Are profile icons working?

  • @Brent

    DataDir == 777 is OK

    All SubDirs under that == 700 is OK
    because the owner usually "apache or your own ID will be executing the code and has read / write/delete to all SubDirs, nobody else can screw with the SubDirs.

    0 bytes !! aha !!!
    you **definitely have *file *upload *size problem ;-(
    go read the php.ini / htaccess working solutions on other TidyPics beta vers posts.

     

  • The profile icon and group icon images work okay - they upload, resize and display without problems.  I can contact the host, but I'm not sure what I need to ask...it's kind of weird, I've never had these problems before.

  • usted muy loco dumkopf LOLZ ;-)

    e.g.  php.ini code =
    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;
    file_uploads = On
    max_execution_time = 300   
    upload_max_filesize = 20M
    max_input_time = 600
    memory_limit = 128M     
    post_max_size = 8M

    ... enjoy ;-)

  • Too early to contact your host.

    If profile icons work, it cannot be a permissions issue.

    Did you say that you *cannot* upload an image using the file plugin? I wasn't sure from what you said. Try some very small images and see if they work.

  • Hi - Sorry for the delay in response, but I have been out of town.

    I tried the php.ini setting changes suggested by Dhrup (thanks!) - this corrected the file upload problem through the file plugin.  I can now upload files fine using through the file plugin and everything works as expected.

    I now have a new set of issues with both Tidypics and the Photo plugins - I'm assuming it has something to do with GD.  When I upload an image, it goes through the process fine accept no thumbnail shows up - just the text link "Thumbnail".  When I click on the link within the album, the detail page comes up with a small blank box where the image should be.  However when I click on the blank box, the full-size image now appears.  So, I assume it is something having to do with the resizing process, but I am not sure how to troubleshoot.  The Tidypics server anlysis shows GD as enabled.

    Thanks for any help!

    Brent