Images garbled via virtual URL, OK via physical URL? (4 posts)

  1. dgilmour
    Posted 3 years ago #

    Have had a search, but can't find a match for this.

    Since yesterday, uploaded images are not displaying on the site, but the image files in the upload directories are fine.

    Browsing to the virtual URL of an uploaded image returns a garbled screen, looking like the encoding has gone wrong.
    Example: http://edubuzz.org/files/2010/09/edubuzz-whats-on-button.jpg

    Browsing to the same image using its physical URL works correctly.

    I raised a ticket with hosts, who suggested installing fresh WordPress code, which I did. I kept .htaccess, though, as normal. Am I right to think that the test above suggests a fault with Apache, or could WordPress be involved? Can't see how anything more than .htaccess rewrite rules are involved here.

    Have also tried:
    - temporarily renaming wp-content/plugins and wp-content/mu-plugins
    - completely deleting plugin updates done yesterday

    Other factors:
    - Had been trying http://wordpress.org/extend/plugins/resize-images-before-upload/ yesterday, but had removed it before noticing the issue. Cannot see how that could be affecting things, although it may have left DB tables behind...

  2. It's a PHP issue. Remember if it goes through http://edubuzz.org/files/2010/09/edubuzz-whats-on-button.jpg

    then it's really http://edubuzz.org/wp-includes/ms-files.php?file=/2010/09/edubuzz-whats-on-button.jpg

    Same problem. So yeah, PHP isn't acting right. I had this problem with ... Zenphoto? About 3 months ago, and it was one of my PHP settings that had been tweaked when I upgraded, but damned if I remember what!

  3. dgilmour
    Posted 3 years ago #

    I should have realised PHP was in that loop. Haven't been in there, so will ask hosts to take a look.

    Great to get past the brick wall, many thanks. :-)

  4. dgilmour
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic