Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author tameroski

    (@tameroski)

    That’s a strange behavior …
    The spinning wheel is managed by CF7, and i don’t see any reason for my plugin to prevent it from submitting the form.
    Does it work when disabling my plugin ?
    Do you have error logs in the javascript console or web server ?
    That’s the first things i’d check to try identifying the problem

    Thread Starter clittle3200

    (@clittle3200)

    Thank you for the quick reply. The success message and redirect work properly when I disable the signature plug in. This is the error I found when checking the error log:

    PHP Warning: strrpos() expects parameter 1 to be string, array given in …/wp-content/plugins/contact-form-7-signature-addon/signature.php on line 215

    I am not a coder so unfortunately I can’t do much troubleshooting on my own. If you have any suggestions it would be greatly appreciated.

    Plugin Author tameroski

    (@tameroski)

    I see .. That’s some bad coding of my own …
    Unfortunately, i won’t be able to take much care of it for the next days.

    Do you have the possibility to edit the signature.php file ?
    If so try to replace that line :
    if (strrpos($data, “data:image/png;base64”, -strlen($data)) !== FALSE){
    by this one :
    if (is_string($data) && strrpos($data, “data:image/png;base64”, -strlen($data)) !== FALSE){

    That should do the trick (i hope).

    Anyway, i’ll take a look at that in a couple of days and will fix it.

    Thanks

    Thread Starter clittle3200

    (@clittle3200)

    That did it! You are the man!!! Thank you for the quick relies and resolving the problem.

    I have one other small issue… I am trying to add a border around the signature box as my website background is white so users can’t see where to sign. I’ve edited the signature.css file adding a dark border but it didn’t work. I also tried adding the code to my theme css file but I can’t get a border to show. What am I missing?

    I know you are busy and I appreciate your time.

    Plugin Author tameroski

    (@tameroski)

    Good news !

    For the border : just get the id of the canvas element of the signature field (should look like “#wpcf7_FIELDNAME_signature”) and add it a border. Do that in your theme’s css, or it will be overridden in the next plugin update.

    Thread Starter clittle3200

    (@clittle3200)

    Perfect, everything is working and looking great. Thanks again!

    Plugin Author tameroski

    (@tameroski)

    v2.2 released and include this fix.
    Thank you for finding this bug out !

    wfastenow

    (@wfastenow)

    I’m having these exact issues still on 2.2. I get the spinning wheel and the form never submits. If I disable, or remove the signature field, I’m good to go again and the form submits and sends as it should. Any thoughts?

    wfastenow

    (@wfastenow)

    Update: The form also submits if I clear out or don’t sign in the field…

    Plugin Author tameroski

    (@tameroski)

    hi wfastenow,
    Any error log that could help me fix this ?
    What’s the configuration of your form (field types/names, mandatories, etc.) ?

    And i’ve figured it out about the form submission when field is cleared, i’ll fix it in the next release.

    Thanks

    wfastenow

    (@wfastenow)

    Hello,
    Thanks for the quick response.
    The form is live here: http://park-boulevard.com/contract/
    It’s a really basic form at the moment meant for testing. It has:

    Name*
    Company
    Email*
    File Upload 1*
    File Upload 2
    Read-only text area
    Acceptance Checkbox*
    Signature
    Submit

    I don’t have an error log at the moment… it seems it just doesn’t submit if there’s any input in the Signature box. If I either don’t include the signature field, don’t manipulate it, or clear it out the form will submit, otherwise, it will not.

    Any ideas?

    Thanks,
    Willie

    Plugin Author tameroski

    (@tameroski)

    I’m not able to reproduce that bug 🙁
    Please check a few things for me :
    – There’s a /signatures directory created and with write permissions in the wp-content/uploads directory of your WP installation
    – look at your server error logs to see if there is something wrong happening when you submit the form (there must be)

    Thanks

    wfastenow

    (@wfastenow)

    I don’t see anything in the error log (actually I don’t see anything in it…

    But, perhaps this uncovers the issue: there is no /signatures directory in the wp-content/uploads directory of your WP installation…

    wfastenow

    (@wfastenow)

    There is a “wpcf7_uploads” folder…
    I also re-installed the plugin incase the original installation had an error, and nothing changed.

    Plugin Author tameroski

    (@tameroski)

    That’s definitely a folder creation issue, which is weird as it’s working fine for CF7 …

    Can you try with the development version (available here) and tell me if it’s better? I tried something different for file storage.

    Thanks

Viewing 15 replies - 1 through 15 (of 23 total)

The topic ‘Spinning Wheel’ is closed to new replies.