Images not displaying correctly - Error 500

0
Hi There,

We are component developers ourselves, but figured why re-code something that looks like it works.

Uploading of album art works fine - the photo is uploaded (and thumbnailed) but the display using the /helpers/image.php does not work and throws an error 500.

Case in point:

http://www.soundsofspain.com/components/com_muscol/helpers/image.php?file=/home/soundsof/public_html/images/albums/Amsterdam010.jpg&width=40&height=

Where as you can see the photo here:

http://www.soundsofspain.com/images/albums/amsterdam010.jpg
Responses (4)
  • Accepted Answer

    Tuesday, December 21 2010, 04:42 PM - #Permalink
    0
    this can be a problem of the GD library, maybe.
    can you check that your PHP server has the graphic libraries active?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, December 21 2010, 05:04 PM - #Permalink
    0
    GD is enabled. Here is the info:

    GD Support enabled
    GD Version bundled (2.0.34 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    FreeType Version 2.2.1
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XPM Support enabled
    XBM Support enabled
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, December 21 2010, 05:07 PM - #Permalink
    0
    then I have no clue on what can this be. the file cannot even be reached, even if you try to access http://www.soundsofspain.com/components/com_muscol/helpers/image.php

    you can open this file and try to make some debuggin, but looks like the problem is "previous" to the execution of this file. it's like if your server has blocked this file, or something like that, for some reason.

    talk to your hosting provider... he'll have the Apache Error Log and he'll see what is exactly going on
    The reply is currently minimized Show
  • Accepted Answer

    Mike
    Mike
    Offline
    Tuesday, June 07 2011, 08:13 AM - #Permalink
    0
    A late one i know but for everyone who's having the same issue. The problem is apache indeed. Probably your server who handles php files as FastCGI.

    This requires a strict setting of rights. Dirs; 755 and files; 644 that should solve it. If it not works your host can do it from the shell root.
    The reply is currently minimized Show
Your Reply