close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

2 eCart errors: Dynamically-related files error and Syntax error

Thread began 5/13/2012 6:17 am by robvoigt9434728 | Last modified 5/15/2012 10:08 am by robvoigt9434728 | 1421 views | 4 replies |

robvoigt9434728

2 eCart errors: Dynamically-related files error and Syntax error

Hello, I have two eCart errors after creating my cart and add to cart buttons. The eCart object, cart and buttons have product options.

First error is the Dynamically-related files error. Can this forum take a look at that issue?

Second error is the syntax error on line 19 of the page: eCart1_PHP.php. Here is line 19 code: if ((strcmp($this->Items[$n]->ID, $itemID) === 0) AND (strcmp($this->Items[$n]->Name, $itemName) === 0) AND (strcmp($this->Items[$n]->Description, $itemDescription) === 0) AND (strcmp($this->Items[$n]->Thumbnail, $itemThumbnail) === 0) AND (strcmp($this->Items[$n]->Handle Color, $itemHandleColor) === 0) AND (strcmp($this->Items[$n]->End Cap Color, $itemEndCapColor) === 0) AND (strcmp($this->Items[$n]->Rope Length, $itemRopeLength) === 0)) {

Can you help with this?

Sign in to reply to this post

Jason ByrnesWebAssist

the Dynamically-related files error is a dreamweaver warning and not really an error, it only means that dreamweaver is having a problem locating some include files. it is not really a problem to be concerned with unless you are getting an error that files cannot be found at run time.


for the second issue It looks like you have column names in your cart object that have spaces in the names. You should not use spaces in the eCart column names.

Sign in to reply to this post

robvoigt9434728

OptionID is displaying, not the OptionName

Thanks that helped clear up the Syntax errors.

I have another question for you so thanks for taking a look at this:

When viewing my cart, the OptionID is displaying, not the OptionName.

Could you tell me which server behavior or other code I need to edit?

Sign in to reply to this post

Jason ByrnesWebAssist

do your options effect price?


If the options do not effect price, edit the select lists. in the select lists, set the value to use the option name column instead of the option id column.

Sign in to reply to this post

robvoigt9434728

No price increments and thanks that was it!

Getting close to done with this but I might have a couple other quick questions so thanks in advance for your replies.

Sign in to reply to this post

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