mikee17
Expert
Just Getting Started
Member Likes (0)
Hi
We run WPMU 2.9.1.
We just came across a very weird issue ...
We uploaded some files(tried jpg, png & zip) though the Media section and also the Add media section of Post/Page.
The files get uploaded well and we see them good when we FTP the server to the uploaded path(eg: /blog.dir/100/files/2010/03) ... after downloading them via FTP to our hard-disk also they are good(both image and zip open).
But, we are unable to see the images, the zip files get downloaded corrupted through our WPMU installation. I.e when we open the uploaded images/file through the "File URL" wordpress provides we get error ... This seems to be a new issue, it was working fine before.
What might have gone wrong ?
Thanks & Regards

Responses (5)
Keeper of the Dark Chocolate (joined July 2007) Likes (0)
How have you activated zip support? That's not one of the default extensions. Also check your your host as they may not have zip support on that server.
Can you provide a link to where an uploaded image is not showing up?
And when you say you;re getting an error, what is the specific error you are receiving?
And a check of the webserver's error logs of course.
Erstwhile founder (joined May 2007) Likes (0)
Have you made any changes or added any plugin since the last time you know for sure the files we're loading correctly?
Thanks,
Andrew
Member (joined February 2009) Likes (0)
drmike:
In Options, under Upload File Types, we have "jpg jpeg png gif mp3 midi mid pdf zip"
We did try just making it "jpg" and uploaded a new file, but same thing happened.
Should we use comma delimited?
Here's an example http://toyotacars.topsiteblog.com/files/2010/03/my.jpg
but if I FTP the file back locally, it loads fine, so I don't think it's corrupted.
Andrew:
Hmmm.... We have installed one or more plugins. Do you think that would be a strong possibility?
Thanks,
..Mikee17
Erstwhile founder (joined May 2007) Likes (0)
Something changed ;)
Thanks,
Andrew
Member (joined February 2009) Likes (0)
Hi,
Figured out the issue ... last week while updating the /wp-config.php, noticed that at the end of the file there is NO closing(?>) php tag and so added it and by mistake added couple of extra lines below it ... i.e there was some extra blank space after the closing php "?>" tag in the /wp-config.php file, which was preventing the uploaded files from being viewed or downloaded through wordpress url...must be some header and server specific issue ?
Now, I have cleared all blank space after the closing php "?>" tag and everything seems to be back to normal. View >> http://toyotacars.topsiteblog.com/files/2010/03/my.jpg works now, similarly the zip files too get downloaded without getting corrupted.
Thanks for all your help!
Become a member