• I have WordPress 2.8 installed on Windows Server 2008 (IIS). Everything works apart from uploading images with xmlrpc (it uploads ok), but then returns 500.

    Any ideas? Permissions look ok.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 500 is a “Not Found” error, right? Does the directory exist for where you want your images to get uploaded to? FTP to the server and verify that the directory/folder exists.

    I had to manually create mine (weird server permission issue) and then tell WP where to look for the upload directory in the Settings | Miscellaneous section (first section that reads “Store uploads in this folder” on that page).

    Good luck!

    Thread Starter geoffdegeoff

    (@geoffdegeoff)

    Thanks for the reply.

    It is a 500 Not Found error. However this is why it is confusing, because I have verified the folder exists AND that the file is uploaded successfully. Whatever goes wrong, must be once the file has been written to the folder.

    I have given the IUSR and Everyone full control of the upload folder and its children. No joy.

    Running out of ideas.

    I’m having this exact same issue. Same conditions. Uploading from the web admin interface works flawlessly, and uploading via XMLRPC posts the file properly (even sets the permissions I’m expecting), but I’m using Live Writer, and it’s halting the post publishing because of this error.

    The only thing obvious is the following error in the log file for Live Writer:

    WordPress database error Out of range value adjusted for column ‘post_parent’ at row 1 for query INSERT INTO wp_posts (post_author,post_date,post_date_gmt,post_content,post_content_filtered,post_title,post_excerpt,post_status,post_type,comment_status,ping_status,post_password,post_name,to_ping,pinged,post_modified,post_modified_gmt,post_parent,menu_order,post_mime_type,guid) VALUES (‘1′,’2009-07-08 12:16:30′,’2009-07-08 17:16:30′,”,”,’proshopteam.jpg’,”,’inherit’,’attachment’,’closed’,’closed’,”,’proshopteam-jpg’,”,”,’2009-07-08 12:16:30′,’2009-07-08 17:16:30′,’-1′,’0′,’image/jpeg’,’https://localhost/wordpress/wp-content/uploads/proshopteam.jpg’) made by wp_xmlrpc_server->wp_xmlrpc_server, IXR_Server->IXR_Server, IXR_Server->serve, IXR_Server->call, wp_xmlrpc_server->mw_newMediaObject, wp_insert_attachment”,””

    PS– as an FYI, 500 is an “Internal Server Error” not a “Not Found” error. It’s usually the result of a bad script command being attempted.

    No ideas or feedback from the community?

    I was getting the 500 Internal Server Error due to the data type of the post_parent column in the wp_posts table. Here are the details and how I fixed it:

    https://ardentdev.com/fix-for-wordpress-xmlrpc-500-internal-server-error/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot upload images properly via xmlrpc’ is closed to new replies.