• Hello Mark
    Thank you so much for making this great plugin and for letting it out free of charge. The plugin works great all for the upload widget.
    I am able to post (text) with no problem. I have the current plugin ver. 0.13.7 (B54)

    I wanted to ask for you some assistance:
    PLEASE HELP, I AM LOOSING MY MIND. I have spent 3 days on this and I finally have to ask for help.

    I think I have read every post at TDO and WP which is realted to TDO/Upload/Can’t move file.
    I have tried everything the posts have suggested and some other things as well.

    I have reset my WP. I have turned off all other plugins. I have started a new TDOMF with no Hacks. I have reset the TDOMF Plugin. I am now testing with a form that just has the upload widget and a submit button.

    I am running on a GoDaddy, Windows Server, IIS6/7.
    I have Ajex turned off (I have tried it on) I have all Error reporting on. I have tried $_SESSION vs database; Session seems to be the one which works for me.

    I got it to the point where it will upload the file to the tmp location; however this is after I went in and created the tmp location because it would not create one. So this is still a problem because it only works for my username.
    The path it was is: ../wp-content/uploads/tmp/1/username

    Path to store uploads (should not be publically accessible):
    D:\Hosting\#######\html\folder/\wp-content\uploads\tdomf

    Do not use TDOMF handler for URL of download
    URL of uploaded file area:
    D:\Hosting\########\html\folder/\wp-content\uploads\tdomf

    I get this error when I try to upload and no user is logged in:

    Notice: Undefined offset: 0 in D:\Hosting\5325423\html\wp-content\plugins\tdo-mini-forms\tdomf-upload-inline.php on line 146

    LOG:
    [76.95.121.49][26-01-10(20:56:25)] D:\Hosting\5325423\html\folder/\wp-content\uploads\tdomf\tmp\4\76.95.121.49 does not exist. Creating it.
    [76.95.121.49][26-01-10(20:56:25)] Looking at D:
    [76.95.121.49][26-01-10(20:56:25)] Attempting to create directory D:\Hosting
    [76.95.121.49][26-01-10(20:56:26)] Error when attempting to create D:\Hosting!
    [76.95.121.49][26-01-10(20:56:26)] Saving uploaded file to \IMG_1318.jpg
    [76.95.121.49][26-01-10(20:56:26)] move_uploaded_file failed!
    [barney5][26-01-10(20:56:54)] Inline Upload Form: No form id found!
    ———————————————————————

    If I am logged in as Admin, I am able to upload the file to TMP but when I click Send:
    “Failed to move uploaded file from temporary location!”
    LOG:
    [barney5][26-01-10(20:59:11)] Someone is attempting to submit something
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget: Widget upload-files already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget_control: Widget upload-files already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] Preview widget upload-files already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] Widget upload-files already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget_post: Widget upload-files already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget_adminemail: Widget upload-files already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget: Widget 1qcaptcha already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget_hack: Widget 1qcaptcha already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget_control: Widget 1qcaptcha already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] Widget 1qcaptcha already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget: Widget append-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget_control: Widget append-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget_post: Widget append-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget: Widget customfields-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget_hack: Widget customfields-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] tdomf_register_form_widget_control: Widget customfields-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] Preview widget customfields-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:11)] Widget customfields-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:12)] tdomf_register_form_widget_post: Widget customfields-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:12)] tdomf_register_form_widget_adminemail: Widget customfields-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:12)] Admin Error widget customfields-1 already exists. Overwriting…
    [barney5][26-01-10(20:59:12)] tdomf_register_form_widget: Widget text1 already exists. Overwriting…
    [barney5][26-01-10(20:59:12)] tdomf_register_form_widget_hack: Widget text1 already exists. Overwriting…
    [barney5][26-01-10(20:59:12)] tdomf_register_form_widget_control: Widget text1 already exists. Overwriting…
    [barney5][26-01-10(20:59:12)] Attempting to create a post based on submission
    [barney5][26-01-10(12:59:12)] Post with id 197 (and default title 26-01-10(20:59:12)) created as draft.
    [barney5][26-01-10(12:59:14)] Logging default submitter info (user 1) for this post 197
    [barney5][26-01-10(12:59:14)] Logging default ip 76.95.121.49 for this post 197
    [barney5][26-01-10(12:59:15)] Let the widgets do their work on newly created 197
    [barney5][26-01-10(12:59:16)] Looking at D:
    [barney5][26-01-10(12:59:16)] Attempting to create directory D:\Hosting
    [barney5][26-01-10(12:59:16)] Error when attempting to create D:\Hosting!
    [barney5][26-01-10(12:59:16)] Failed to move DSC_0239.jpg!
    [barney5][26-01-10(12:59:16)] Post widgets report error! Attempting to delete 197 post…

    Sorry for the long post, I wanted to make sure to give all the needed information in one post instead of going back and forth ( I am sure I am still missing some vital data.)

    Thanks for taking the time to read it.
    If there is anyone else out there who had the same issue, please feel free to post any suggestions.
    Best regards
    Jay

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter carguyjay

    (@carguyjay)

    I have no once again reinstalled WP.
    I now have the default install of WP and of TDOMF and no other plugins or config changes.

    This is the error I get now; when I am logged in as admin and try to upload.

    Warning: move_uploaded_file(\DSC_0239.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in D:\Hosting\5325423\html\wp-content\plugins\tdo-mini-forms\tdomf-upload-inline.php on line 191

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘D:\Temp\php\php20B9.tmp’ to ‘\DSC_0239.jpg’ in D:\Hosting\5325423\html\wp-content\plugins\tdo-mini-forms\tdomf-upload-inline.php on line 191
    Could not move uploaded file DSC_0239.jpg to storage area!

    So how do we make this work?

    Thank you.
    Jay

    Two sollutions:

    1) The hard way…

    Lookup your database using phpmyadmin or something like that… TDO Mini Forms stores the “absolute paths” when the plugin stores “file upload widgets” in a form. In the table called “wp_tdomf_table_widgets” (depending on your wordpress setup, with another prefix, so: “???tdomf_table_widgets”) you’ll find what you’re looking for… the “widget_key” column. There, every “tdomf_upload_widget?” holds the absolute path. You’ll have to change it according to your server’s path setup.

    2) The easier way…

    Another, shorter sollution is to open all forms you use and which contain file upload widgets. Simply do the following for each file upload widget: RemoveFileUploadWidget -> Save -> AddFileUploadWidget -> Save. Done!

    That will do it. 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: TDO Mini Forms] Upload Widget (Failed to move file)’ is closed to new replies.