Update Multiple Records server behavior not working
Everything was visible on my page in a browser until I applied the update multiple records server behavior. Now, my page is completely blank when I view it. I am attaching it for you. Thank you.
Everything was visible on my page in a browser until I applied the update multiple records server behavior. Now, my page is completely blank when I view it. I am attaching it for you. Thank you.
a blank page means that a php error is occurring but error reporting is turned off.
to turn error reporting on, add the following code at line 1:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
once we know what the error is, we will be able to troubleshoot the cause.
Thanks, Jason. There was an included file missing, and now it's showing up on screen again, but it's not saving changes.
if you view the source of the page, it is returning an error:
<input type="hidden" name="WADA_RepeatID_product_id_13" id="WADA_RepeatID_product_id_13" value="
Notice: Undefined index: product_id in D:\Inetpub\theartofsergio\admin\update-sort-order.php on line 118
">
This is the hidden element that passes the product id of the record to update. The error is occurring because the recordset used to populate the element does not return the product id column in the select statement:
SELECT cw_categories_primary.category_id, cw_categories_primary.category_name, cw_products.product_name, cw_products.product_sort FROM.......
you need to update the recordset to return the product id column.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.