• Hi,

    In wp-admin/post-new.php, I can’t upload an image using the flash or browser uploader.

    If I create the post without an image, and then go and edit the post, I can upload an image with no problems using either flash or browser uploader.

    If I make a post with posterous, the image is added with no problem.

    I’ve tried disabling plugins, using the default theme and reuploading the wp-admin folder.

    I’ve tried with multiple browsers on multiple OS’s with a whole range of images.

    Now, to get more specific about my install. My initial install was with WordPress 2.7.x, no updates have managed to fix it so far and I’m now on 2.8.4

    I’m using: ‘Microsoft Windows Server 2003 R2, Standard Edition, Service Pack 2’ as a server. PHP 5.2.9 & MySQL 5.?.?

    Using fiddler2, and google chrome 7 the flash uploader, i get a 500 error, this is what is being returned:

    HTTP/1.1 500 Internal Server Error
    Date: Thu, 03 Sep 2009 23:42:41 GMT
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET
    X-Powered-By: PHP/5.2.9-1
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Last-Modified: Thu, 03 Sep 2009 23:42:41 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Content-Type: text/html; charset=utf-8
    Content-Length: 1318
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	<title>WordPress Failure Notice</title>
    	<link rel="stylesheet" href="https://blog.mettroserver.com/wp-admin/css/install.css" type="text/css" />
    </head>
    <body id="error-page">
    	<p>Are you sure you want to do this?</p><p><a href='https://blog.mettroserver.com/wp-admin/media-upload.php?type=image&tab=type&post_id=-1252021310'>Please try again.</a></p></body>
    <!-- Ticket #8942, IE bug fix: always pad the error page with enough characters such that it is greater than 512 bytes, even after gzip compression abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz11223344556677889900abacbcbdcdcededfefegfgfhghgihihjijikjkjlklkmlmlnmnmononpopoqpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx1yyz2z113223434455666777889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jkj5lkl6kml7mln8mnm9ono -->
    </html>

    Using the browser uploader I get a 200 response, but still no image.. the repsonse is a whole heap of garbled characters which I assume is the jpg.

    I’m absolutely stumped. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you ever completely reinstalled WordPress aside from your wp-contents folder, or just the wp-admin folder?

    In theory WordPress runs just dandy on a Windows server, but to be honest I’d at least try to test a copy of your site on a Linux server. I wouldn’t be at all surprised if it worked fine on Linux ??

    Thread Starter jamesz

    (@jamesz)

    I haven’t tried reinstalling it and I was hoping not to have to go that far.

    I wish it was on Linux, but unfortunately I’m stuck with a windows server.

    I’ve just installed another fresh site with 2.8.4 and have the same problem, so I assume it’s related to some server setting.

    :'(

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with adding image’ is closed to new replies.