• Resolved gregglowrimore

    (@gregglowrimore)


    I’m using the latest WordPress version coupled with the latest cFormsII plugin. I am testing a Reservations form I have been using for 6-7 years, but suddenly today, after reactivating the Reservations Page on my Crystalskishop.com site, the test submission process just evaluates the form and posts “Please fill out all required fields” and I can guarantee All Required fields have been filled out.

    Also, where can I view the logs to help determine what field it “thinks” is not being filled out. Please help!

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author bgermann

    (@bgermann)

    The log place depends on whether you are using AJAX forms or not. In both cases it is the standard PHP log, which depends on your configuration. Check out https://codex.wordpress.org/Debugging_in_WordPress. For AJAX forms there may be warnings/errors showing up in your browser’s console.

    Plugin Author bgermann

    (@bgermann)

    Is it an automated or manual process?

    Thread Starter gregglowrimore

    (@gregglowrimore)

    Automated or manual process for what?

    CFormsII is a form plugin for WordPress sites (you know that) and when I fill out the form while testing and press submit, it thinks for a few seconds and then returns with “Please fill out all required fields.” and I know 100% the “required” fields are filled in.

    Thread Starter gregglowrimore

    (@gregglowrimore)

    I’m reading the debug.log file that PHP debugging writes to inside the wp-content folder of WordPress. I’m seeing this pattern for every fieldset in my form:

    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: Reservation-Primary-Contact-Person in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: Primary-Contact in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: Name-(First-and-Last) in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: Email in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: Address in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: City in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: State in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: ZIP in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: Phone in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: Local-Lodging-and-Special-Requests-or-Comments in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: Pickup-Date-(48-hours-in-advance-minimum) in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557
    [21-Dec-2016 02:45:49] PHP Notice: Undefined index: Return-Date in /var/www/vhosts/74/239802/webspace/httpdocs/crystalskishop.com/wp-content/plugins/cforms2/cforms.php on line 557

    Why is this? This form, as is, used to work just fine. Was there some CFormsII change recently that I missed what to do to conform to the new format?

    Plugin Author bgermann

    (@bgermann)

    You wrote about a “test submission process”, which you now identified as manual with “when I fill out the form while testing and press submit”. This could also be done by a program, which would then be a automated test submission process.

    When I look at your form page there is a section in the HTML head that is introduced by the comment “Start Of Script Generated By cforms v13.1 [Oliver Seidel | http://www.deliciousdays.com]”.
    This was generated by the old cformsII which my version was forked from. Why is this generated on your page, whereas you seem to have a current version of my fork installed?

    Then there is a link “cforms contact form by delicious:days” in the form’s bottom area, which also should not be there anymore.

    Also the CAPTCHA is not in a functional state, which also seems to originate from the old version being implemented in some manual way.

    I suggest you fix your setup and then check again, if the fields are checked correctly.

    Thread Starter gregglowrimore

    (@gregglowrimore)

    OK, suggestions taken. I’ve removed the cforms2 plugin and re-installed completely. I also took the upgrade route thinking that there might be old data in the DB tables, so I installed the 14.6.0.5 release, saved all my settings and my reservation form. deactivated it and installed the latest release for CForms2 and re-saved my settings and reservation form.

    I still get “Please fill out all required fields.” every time I manually submit a reservation form.

    How are you able to view the form’s source? Are you hitting the crystalskishop.com/reservations page? I’d like to see if I still have the “Oliver Seidel” references as well as cForms 13.1 references as I couldn’t have cleaned the plugins folder out any more than I did – basically installing CForms2 from scratch.

    Should I send you via email, my reservation form? Or what?

    Thread Starter gregglowrimore

    (@gregglowrimore)

    I also cleaned out my cforms-custom folder that sits beside my wp-content/plugins/cforms2 folder. (One thing I’ve noticed too, my reservation form is sitting in this cforms-custom folder and I’ve saved changes to it, but the date/timestamp on this formconfig.txt file remains “Dec 29, 2011” — where is the physical file saved/stored? Inside mysql database? Or ???

    Plugin Author bgermann

    (@bgermann)

    Yes, I had a look at crystalskishop.com/reservations. But now I get a 404 error loading it.

    formconfig.txt is just a backup file of your form. The real form is stored in your database. Is there something more in cforms-custom directoy? If there is a php file, this could be the reason for the modification.

    To view HTML code, just use your browser’s code view. In Chrome and Firefox the shortcut is Ctrl+U.

    Thread Starter gregglowrimore

    (@gregglowrimore)

    Is there a way to surgically insert this backup file into the DB?

    Plugin Author bgermann

    (@bgermann)

    You can import it via the backup feature that you used to export it.

    Thread Starter gregglowrimore

    (@gregglowrimore)

    Thanks, but that doesn’t seem to be working now. I’ve tried importing over and over and nothing seems to “stick”

    Plugin Author bgermann

    (@bgermann)

    I had a closer look at the file and figured out it is in a really old backup format (version 8.7 or older). I installed 8.7 and imported it and updated to 14.6.0.5, which asked for upgrading the forms, and then updated to 14.12.1. I am experiencing the issue you explained, too.

    As you are such a faithful cformsII user and it is Christmas, I will investigate this issue and will provide you with something you can import and maybe a new version if this is not an issue introduced by so many conversions.

    Plugin Author bgermann

    (@bgermann)

    Okay, the bug has to do with activating “Use custom input field NAMES & ID’s”, but you do not actually use this, so deativating it works just fine.

    I sent you the form with instruction to your reserve@… email address.

    Thread Starter gregglowrimore

    (@gregglowrimore)

    Awesome! Great news.

    Can I trouble you to forward the form to gregg at lowrimore dot com too?

    Merry Christmas and Happy New Year! Keep up the excellent work here too!!

    Plugin Author bgermann

    (@bgermann)

    You can. I just sent it. Merry Christmas.

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

The topic ‘Required Fields’ is closed to new replies.