close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error in WA_Store_Cart_Definition

Thread began 12/06/2011 1:07 pm by glozinski107205 | Last modified 8/29/2012 2:04 pm by glozinski107205 | 2595 views | 10 replies |

glozinski107205

Error in WA_Store_Cart_Definition

[06-Dec-2011 14:18:22] PHP Warning: Missing argument 19 for WA_Store_Cart_Definition::AddToCart(), called in /home/silk2pl/public_html/webassist/plugins/shopping_cart/add_to_cart.php on line 203 and defined in /home/silk2pl/public_html/WA_eCart/WA_Store_Cart_PHP.php on line 34
[06-Dec-2011 14:18:23] PHP Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/silk2pl/public_html/webassist/plugins/shopping_cart/cart_editable.php on line 135
[06-Dec-2011 14:18:26] PHP Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/silk2pl/public_html/webassist/plugins/shopping_cart/cart_editable.php on line 135

how does one correc this thank you in advance

Sign in to reply to this post

Jason ByrnesWebAssist

this error indicates that you added or removed columns from the cart object, but have not updated the add to cart behavior.

Sign in to reply to this post

glozinski107205

how does one go about doing this thank you in advance.

Sign in to reply to this post

Jason ByrnesWebAssist

you need to edit the add to cart button behaviors too have the code regenerated based on the new collection of columns

Sign in to reply to this post

glozinski107205

without making a mess when it is blank should i have it now looking like
<?php echo $WA_Store_Cart->DisplayInfo("Name"); ?> and other rows that are blank
<?php echo $WA_Store_Cart->DisplayInfo("Price"); ?>
<?php echo $WA_Store_Cart->DisplayInfo("Height"); ?>
DiscountApplied =0
etc....
which ones need to be filled in?
Thank you
ps ...i was not the one that altered the ecart columns....this is why i do not which ones to change....thank you in advance

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

glozinski107205

Error in Cart Editable

[20-Aug-2012 16:17:31] PHP Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home6/silkpla1/public_html/webassist/plugins/shopping_cart/cart_editable.php on line 135
This is happening again. Thank you in advance.

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the webassist/plugins/shopping_cart/cart_editable.php so i can investigate the code.

Sign in to reply to this post

glozinski107205

Error in Cart Editable

Thank you in advance

Attached Files
cart_editable.zip
Sign in to reply to this post

Jason ByrnesWebAssist

change line 135:

php:
mysql_free_result($Taxes);



to:

php:
if(is_resource($Taxes)) mysql_free_result($Taxes);
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...