close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Not found [CFN #0005] error

Thread begun 4/29/2016 8:54 am by tmcbinc99963 | Last modified 5/09/2016 11:51 am by Ray Borduin | 9725 views | 10 replies |

tmcbinc99963

Not found [CFN #0005] error

I have a DataAssist results page that submits form data to an eCart 'request for quote' page. I'm getting the error above, along with a blank page, on submit. Haven't found any info on web or in forums about this particular error. When testing on local server I get a different error:

'The requested URL /websitename.com/RequestforQuote.php1' was not found on this server.

Files attached with live link.

Sign in to reply to this post

Ray BorduinWebAssist

Your form action is set to:
action="RequestforQuote.php<?php echo $row_WADAProd['ID']; ?>"

I think your form action should probably be blank.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

With no form action at all I get the following error:

from localhost:
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/websitename.com/Connections/ProductsDb.php:9) in /Applications/MAMP/htdocs/websitename.com/Prod_results.php on line 226

from Remote server:
The cart is empty

Files attached.

Also tried deleting only the php, but both local and remote servers showed: The cart is empty.

Sign in to reply to this post

Ray BorduinWebAssist

This implies that you have a blank line of code or error on line 9 of Connections/ProductsDb.php. Can I see a copy of that page?

The cart is empty because you have the quantity set to get the value from a form element named: eCart1_1_Quantity_Add and that form element isn't on the page. You could set that value to 1 in the add to cart interface and it should start adding the selected items to the cart.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

This post has been deleted.

tmcbinc99963

The quantity error was fixed using the 'eCart Get from Recordset' behavior and replacing the Quantity value with '1'.

Although this shows the items with a quantity in the cart, it also shows all the records without a quantity as well.

In addition, RequestforQuote.php doesn't show results from the select list. I get the following errors listed in PM.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you also have your weight column bound to a field: "eCart1_1_Weight_Add" which doesn't exist. You probably want to get that from your database instead.

The second error is as a result of this one.

If you want to get the quantity from the input field on the page, you would want to name it uniquely for each row so that it can be identified like:

name="quantity_<?php echo $row_ProdSizeSelectList['ID']?>"

and then you could bind it to that value by updating line 153 to:
$ATC_itemQuantity = "".$_POST["quantity_".$row_WADAProd['ID']] ."";// column binding

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

All I get now is a blank page at Prod_results.php. both at local and remote servers. The changes that have been made are:

Prod_results.php -
<input name=" textfield"> is changed to <input name="quantity_<?php echo $row_ProdSizeSelectList['ID']?>"
php at top of page has been changed to: $ATC_itemQuantity = "".$_POST["quantity_".$row_WADAProd['ID']] ."";// column binding
eCart Get from Recordset Server Behavior Quantity value is now: <?php echo $eCart1->DisplayInfo("Quantity"); ?>

Also, in eCart Get from Recordset Server Behavior, the weight has been changed to a Db value:
<?php echo $row_WADAProd['ContSize']; ?>

There is also a syntax error I can't get rid of at:

<?php
mysql_free_result($WADAProd);
mysql_free_result($ProdSizeSelectList);
?>

Sign in to reply to this post

Ray BorduinWebAssist

If you can give me FTP access I can debug what is going on.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

FTP Credentials in Private Message.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...