• I’ve got wordpress up and running on a Windows IIS server (I know, I know, sorry – employers choice).

    Everything seems OK except for file upload, if I write a post and select to upload a file it just seems to process the upload but not act on it. The files are being loaded to the uploads directory but there is no next step at all.

    I’ve created a test account so you can see what I mean The URL is

    https://www.wheresciencesucceeds.co.uk/review/wp-admin/

    Username support, password support

    Any help would be much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Weird – I uploaded an image called 3glass3.jpg
    Did it upload? And the expected behaviour did not happen …. all the files have uploaded correctly? Anything in an error log?

    Thread Starter northernmonkee

    (@northernmonkee)

    The file has uploaded but did it show you the options after uploading or did it just disappear off screen?

    I tried uploading a .bmp file from a Windows machine and got this error

    WordPress database error: [Field 'post_content_filtered' doesn't have a default value]
    INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt, post_status, 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 ('2', '2006-04-13 12:48:40', '2006-04-13 11:48:40', '', 'main.bmp', '', 'attachment', 'open', 'open', '', 'mainbmp', '', '', '2006-04-13 12:48:40', '2006-04-13 11:48:40', '-1144928907', '0', 'image/bmp', 'https://www.wheresciencesucceeds.co.uk/review/wp-content/uploads/2006/04/main.bmp')

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
    SELECT category_id FROM wp_post2cat WHERE post_id =

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1)' at line 2]
    INSERT INTO wp_post2cat (post_id, category_id) VALUES (, 1)

    WordPress database error: [Out of range value adjusted for column 'post_id' at row 1]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES ('','_wp_attached_file','D:\inetpub\wwwroot\wheresciencesucceeds\review/wp-content/uploads/2006/04/main.bmp')

    WordPress database error: [Out of range value adjusted for column 'post_id' at row 1]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES ('','_wp_attachment_metadata','a:4:{s:5:\"width\";i:215;s:6:\"height\";i:166;s:14:\"hwstring_small\";s:23:\"height=\'96\' width=\'124\'\";s:4:\"file\";s:82:\"D:\\inetpub\\wwwroot\\wheresciencesucceeds\\review/wp-content/uploads/2006/04/main.bmp\";}')

    Is this a WordPress thing? Or something I need to look at on my server?

    Thread Starter northernmonkee

    (@northernmonkee)

    Does anyone have any suggestions on this?

    Thanks
    Andy

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘File Upload Weirdness’ is closed to new replies.