close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Warning: Missing argument 7 for eCart1_ItemDefinition

Thread began 5/29/2013 9:53 am by Informa | Last modified 8/01/2013 1:03 am by Informa | 2080 views | 10 replies |

Informa

Warning: Missing argument 7 for eCart1_ItemDefinition

Warning: Missing argument 7 for eCart1_ItemDefinition::eCart1_ItemDefinition(), called in WA_eCart_Definition_PHP.php(477) : eval()'d code on line 1 and defined in eCart1_PHP.php on line 257

Hi, my name is Mario,

This error happens when I view the cart after adding more than one product in the cart.
http://www.cativegrama.com/html/produtosResultPesq.php?pesquisa=espanador&button=OK

Someone can help me on this problem?

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the eCart1_PHP.php page

Sign in to reply to this post

Informa

eCart1_PHP.php

Sign in to reply to this post

Jason ByrnesWebAssist

i am not able to reproduce the problem on that page.

I have added about 10 items to the cart without reproducing the error.

Sign in to reply to this post

Informa

the problem is random

Jason, the problem does not always appear. I've been testing and it happened after 4 products added, the problem is random. You can test as many times as you need to. No problem

Sorry if my English is not correct, I am Portuguese.

I am very grateful if you solve this problem

Sign in to reply to this post

Jason ByrnesWebAssist

I have now added 15 items to the cart with out reproducing the problem.

does it happen with a specific product?

Sign in to reply to this post

Informa

Warning: Missing argument 7 for eCart1_ItemDefinition

Hi Jason,

Yes, this problem happen with some product, but I have analyzed the products causing the problem and can not identify the problem in the database.
Here has a product that causes the problem, "order" and then "view cart"

http://www.cativegrama.com/html/produtosIDFamSubFam.php?selectFamilia=20&selectSubFamilia=80&button2=OK

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Informa

I think these are the elements that you want, see the private message section

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

in the add to art code, i change:

$ATC_itemName = "".$row_rcsProdutos['nomPrd'] ."";// column binding

to use htmlentites:
$ATC_itemName = "".htmlentities($row_rcsProdutos['nomPrd']) ."";// column binding

which corrected the error.

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...