Form Stopped Submitting

  • We built a very in depth form that was working great. Now all of a sudden it has decided to not submit (just white screen)


    Form Code:


    view-source:https://trishkaufmann.com/orderform




    Debug message on form (will not show anything on submission screen just blank white):


    _get_content(): "> [3] SELECT regionKey, regionHTML FROM perch3_content_regions WHERE regionPage='/orderform.php' OR regionPage='*' ORDER BY regionPage DESC
  • jonathanhazelwood

    Changed the title of the thread from “Form Stop Submitting” to “Form Stopped Submitting”.
  • drewm

    Approved the thread.
  • Errors in Apache:


    2019-02-02 19:56:23 Error 98.252.23.188 500 POST /orderform.php HTTP/1.0 https://trishkaufmann.com/orderform Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0 449 Apache SSL/TLS access
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: PHP Fatal error: Uncaught DivisionByZeroError: Modulo by zero in /var/www/vhosts/trishkaufmann.com/httpdocs/masonry/core/lib/api/PerchAPI_SubmittedForm.class.php:160, referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: Stack trace:, referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: #0 /var/www/vhosts/trishkaufmann.com/httpdocs/masonry/addons/apps/perch_forms/runtime.php(13): PerchAPI_SubmittedForm->validate(), referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: #1 /var/www/vhosts/trishkaufmann.com/httpdocs/masonry/core/lib/Perch.class.php(131): perch_forms_form_handler(Object(PerchAPI_SubmittedForm)), referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: #2 /var/www/vhosts/trishkaufmann.com/httpdocs/masonry/core/inc/forms.php(9): Perch->dispatch_form('paymentForm:per...', Array, Array), referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: #3 /var/www/vhosts/trishkaufmann.com/httpdocs/masonry/core/inc/forms.php(26): perch_find_posted_forms(), referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: #4 /var/www/vhosts/trishkaufmann.com/httpdocs/masonry/core/runtime/runtime.php(17): include('/var/www/vhosts...'), referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: #5 /var/www/vhosts/trishkaufmann.com/httpdocs/masonry/runtime.php(2): include('/var/www/vhosts...'), referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: #6 /var/www/vhosts/trishkaufmann.com/httpdocs/orderform.php(1): include('/var/www/vhosts...'), referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: #7 {main}, referer: https://trishkaufmann.com/orderform Apache error
    2019-02-02 19:56:23 Warning 98.252.23.188 mod_fcgid: stderr: thrown in /var/www/vhosts/trishkaufmann.com/httpdocs/masonry/core/lib/api/PerchAPI_SubmittedForm.class.php on line 160, referer: https://trishkaufmann.com/orderform Apache error
  • Part of code with step attributes:


    <div class="row">

    <div class="col-md-12">

    <h4 class="formHeader">Order Details</h4>

    </div>

    </div>


    <br>

    <div class="row">

    <div class="col-md-12">

    <div class="form-group">

    <perch:label for="dateOrdered">Order Date <span class="red">*</span></perch:label>

    <perch:input id="dateOrdered" name="dateOrdered" type="date" required="required" data-error="Order Date is required.">

    </div>

    </div>

    </div>


    <br>

    <div class="row">

    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="price">Price <span class="red">*</span></perch:label>

    <perch:input id="price" name="price" type="number" data-input="price" min="0" step="0.01" placeholder="$0.00" class="form-control price" required="required" data-error="Price is required.">

    <p><small class="text-muted passwordHelpInline">Price for item.</small></p>

    </div>

    </div>


    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="itemNumber">Item # <span class="red">*</span></perch:label>

    <perch:input id="itemNumber" name="itemNumber" type="text" class="form-control" required="required" data-error="Item Number is required.">

    </div>

    </div>


    <div class="col-md-6">

    <div class="form-group">

    <perch:label for="desciption">Brief Description <span class="red">*</span></perch:label>

    <perch:input id="desciption" name="desciption" type="text" class="form-control" required="required" data-error="Item Desciption is required.">

    <p><small class="text-muted passwordHelpInline">Please give a brief description to ensure accuracy.</small></p>

    </div>

    </div>

    </div>


    <br>

    <div class="row">

    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="price2">Price</perch:label>

    <perch:input id="price2" name="price2" type="number" data-input="price" min="0" step="0.01" placeholder="$0.00" class="form-control price">

    <p><small class="text-muted passwordHelpInline">Price for item.</small></p>

    </div>

    </div>


    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="itemNumber2">Item #</perch:label>

    <perch:input id="itemNumber2" name="itemNumber2" type="text" class="form-control">

    </div>

    </div>


    <div class="col-md-6">

    <div class="form-group">

    <perch:label for="desciption2">Brief Description</perch:label>

    <perch:input id="desciption2" name="desciption2" type="text" class="form-control">

    <p><small class="text-muted passwordHelpInline">Please give a brief description to ensure accuracy.</small></p>

    </div>

    </div>

    </div>


    <br>

    <div class="row">

    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="price3">Price</perch:label>

    <perch:input id="price3" name="price3" type="number" data-input="price" min="0" step="0.01" placeholder="$0.00" class="form-control price">

    <p><small class="text-muted passwordHelpInline">Price for item.</small></p>

    </div>

    </div>


    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="itemNumber3">Item #</perch:label>

    <perch:input id="itemNumber3" name="itemNumber3" type="text" class="form-control">

    </div>

    </div>


    <div class="col-md-6">

    <div class="form-group">

    <perch:label for="desciption3">Brief Description</perch:label>

    <perch:input id="desciption3" name="desciption3" type="text" class="form-control">

    <p><small class="text-muted passwordHelpInline">Please give a brief description to ensure accuracy.</small></p>

    </div>

    </div>

    </div>


    <br>

    <div class="row">

    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="price4">Price</perch:label>

    <perch:input id="price4" name="price4" type="number" data-input="price" min="0" step="0.01" placeholder="$0.00" class="form-control price">

    <p><small class="text-muted passwordHelpInline">Price for item.</small></p>

    </div>

    </div>


    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="itemNumber4">Item #</perch:label>

    <perch:input id="itemNumber4" name="itemNumber4" type="text" class="form-control">

    </div>

    </div>


    <div class="col-md-6">

    <div class="form-group">

    <perch:label for="desciption4">Brief Description</perch:label>

    <perch:input id="desciption4" name="desciption4" type="text" class="form-control">

    <p><small class="text-muted passwordHelpInline">Please give a brief description to ensure accuracy.</small></p>

    </div>

    </div>

    </div>


    <br>

    <div class="row">

    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="price5">Price</perch:label>

    <perch:input id="price5" name="price5" type="number" data-input="price" min="0" step="0.01" placeholder="$0.00" class="form-control price">

    <p><small class="text-muted passwordHelpInline">Price for item.</small></p>

    </div>

    </div>


    <div class="col-md-3">

    <div class="form-group">

    <perch:label for="itemNumber5">Item #</perch:label>

    <perch:input id="itemNumber5" name="itemNumber5" type="text" class="form-control">

    </div>

    </div>


    <div class="col-md-6">

    <div class="form-group">

    <perch:label for="desciption5">Brief Description</perch:label>

    <perch:input id="desciption5" name="desciption5" type="text" class="form-control">

    <p><small class="text-muted passwordHelpInline">Please give a brief description to ensure accuracy.</small></p>

    </div>

    </div>

    </div>


    <br>

    <div class="row">

    <div class="col-md-12">

    <h4 class="formHeader">Membership & References</h4>

    </div>

    </div>

    <br>

    <div class="row">

    <div class="col-md-6">

    <div class="form-group">

    <label for="yesCheck">CSA Member?</label>

    <p>Yes <input id="yesCheck" type="radio" onclick="yesnoCheck(event);applyDiscount(event);" name="yesno"></p>

    <p>No <input id="noCheck" type="radio" onclick="yesnoCheck(event);noDiscountAlert(event);removeDiscount(event);" name="yesno"></p>

    </div>

    </div>

    <div class="col-md-6">

    <div class="form-group">

    <div id="ifYes" style="visibility:hidden">

    <perch:label for="csaMemberNumber">CSA Member # <span class="red">*</span></perch:label>

    <perch:input id="csaMemberNumber" name="csaMemberNumber" type="text" class="form-control">

    <p><small class="text-muted passwordHelpInline">As a member you receive an instant 10% off your Sub-Total.</small><p>

    </div>

    </div>

    </div>

    </div>


    <div class="row">

    <div class="col-md-6">

    <div class="form-group">

    <perch:label for="apsMember">APS Member #</perch:label>

    <perch:input id="apsMember" name="apsMember" type="text" class="form-control">

    </div>

    <div class="form-group">

    <perch:label for="uspcsMember">USPCS Member #</perch:label>

    <perch:input id="uspcsMember" name="uspcsMember" type="text" class="form-control">

    </div>

    </div>


    <div class="col-md-6">

    <div class="form-group">

    <perch:label for="references">References</perch:label>

    <perch:input id="references" name="references" type="text" class="form-control">

    <p><small class="text-muted passwordHelpInline">If unknown to me and paying by check, please provide references: preferably a nationally known dealer or auction house. If references are not nationally known, please provide their contact information.</small><p>

    </div>

    </div>

    </div>


    <br>

    <div class="shader">

    <div class="row">

    <div class="col-md-4">

    <div class="form-group">

    <perch:label for="subTotal">Sub-Total</perch:label>

    <perch:input id="subTotal" name="subTotal" type="number" data-input="subtotal" min="0.01" step="0.01" placeholder="0" class="form-control total">

    <div id="Discount">

    <p><small class="alert-success">CSA 10% Discount Applied</small></p>

    </div>

    </div>

    </div>

    </div>


    <br>

    <div class="row">

    <div class="col-md-4">

    <div class="form-group">

    <perch:label for="shippingTotal">Shipping & Handling <span class="red">*</span></perch:label>

    <perch:input id="shippingTotal" name="shippingTotal" type="number" data-input="shippingtotal" min="0.00" step="0.01" class="form-control" required="required" data-error="Shipping & Handling is required.">

    <p><small class="shippingTotal text-muted passwordHelpInline">See Ordering and Sales Polices under Terms & Conditions below. Please input appropiate shipping charge from Order Policies guidelines.</small></p>

    </div>

    </div>

    </div>


    <br>

    <div class="row">

    <div class="col-md-4">

    <div class="form-group">

    <perch:label for="Total">Total <span class="red">*</span></perch:label>

    <perch:input id="Total" name="Total" type="number" data-input="total" min="0.00" step="0.01" class="form-control" required="required" data-error="Total is required.">

    <p><small class="Total text-muted passwordHelpInline">Delaware has no sales tax.</small></p>

    </div>

    </div>

    </div>