• I love this plugin, it’s seriously cool and I’d be lost without it…
    As soon as I monetize my (nearly new) blog you’ll be getting a donation.

    Meanwhile (lol) I just upgraded to version 0.12.3 and on my submissions form under %%WIDGET:upload-files%% / <!-- 1qcaptcha start --> I see an error message (on the submissions form) which says “Notice: Undefined index: tdomf_upload_key_1 in root/website/wp-content/plugins/tdo-mini-forms/tdomf-upload-inline.php on line 71”

    Line 71 reads: if(!wp_verify_nonce($_POST['tdomf_upload_key_'.$form_id],'tdomf-form-upload-'.$form_id)) {

    I have noooo idea what it means!
    Can you help please?

    https://www.ads-software.com/extend/plugins/tdo-mini-forms/

Viewing 10 replies - 1 through 10 (of 10 total)
  • I’m not completely sure why you’re seeing that error message. You shouldn’t be. But to get rid of it, just modify the line like this:

    if(!isset($_POST['tdomf_upload_key_'.$form_id]) && !wp_verify_nonce($_POST['tdomf_upload_key_'.$form_id],'tdomf-form-upload-'.$form_id)) {

    This will get rid of the error. If this resolves all your issues, please tell me and I’ll make sure the code gets into the plugin! ??

    Thread Starter ClickyB

    (@clickyb)

    Hi TDO,

    Thanks for the fast response.

    I changed the line as you recommended but am seeing the exact same error message!
    So I saved the “Form Manager & Options” page and the “Form Widgets” page and then refreshed the submissions page… but I still see it!

    I could have mentioned before (incase it’s relevant), the rest of the “upload files” widget is displayed after the message, but the message is there!

    Whats the error message?

    Thread Starter ClickyB

    (@clickyb)

    “Notice: Undefined index: tdomf_upload_key_1 in root/website/wp-content/plugins/tdo-mini-forms/tdomf-upload-inline.php on line 71”

    Thread Starter ClickyB

    (@clickyb)

    In addition to the above problem I notice that every time I save the “Form Widgets” page (after editing) a weird thing happens:
    For every url entered in a text widget backslashes seem to be added in multiple places… So:
    <a href="https://domain.co.uk/folder/" title="mytitle" target="_blank">
    Becomes:
    <a href=\\\https://domain.co.uk/folder/\\\"title=\\\"mytitle\\\" target=\\\_blank\\\">
    I only added 3 in each spot but the form seems to add a random number!
    I tried to add the “I agree” widget and there were well over 1,000 backslashes in each spot (I counted the lines and number per line – sad huh)!
    As you know, it’s not possible to “block select” in the widget-edit field so – after an hour of deleting – I lost my patience and gave up!
    I looked in the plug-in folder to see if I could find a place to delete them “en-masse” (expecting them to be saved somewhere) but I couldn’t find it!
    Any idea what might be causing this and/or how to remove them quickly?

    [Note: These backslashes don’t seem to show up in the form itself (nor in the form hacker) they are only visible in the widget edit window! Although this means they have no effect, it makes editing widget text a nightmare and – each time – the form widgets page seems to take ages to save!]

    Sorry to string another error into the same thread but – for all I know – they may be related!

    The backslashes is probably related to the magic quote settings. I’m surprised they appear on the widget screen but not on the form hacker screen. How odd.

    As for the unresolved index… I can put more error checking code in there, but I’m not sure what the root cause of the problem is.

    Thread Starter ClickyB

    (@clickyb)

    “magic quote settings”??

    What does that mean? (I can’t see any reference to them anywhere)!

    Yeah, the fact that they don’t appear in the formhacker is what makes them such a pain to fix ??

    My form was imported into the latest version. Would it help if I removed it and started again?

    From the PHP manual: Magic Quotes

    I’ll try and have a gander at it again today.

    I am having the same problem :

    Notice: Undefined index: tdomf_upload_key_1 in root/website/wp-content/plugins/tdo-mini-forms/tdomf-upload-inline.php on line 71

    is there any way to solve this issuse?

    could you reply back asap?

    Its on my batch of bugs to look at right now. I haven’t got any resolution for you yet.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: TDO Mini Forms] Error Message (Upload Images) version 0.12.3’ is closed to new replies.