close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

eCart Add to Cart - Error "At line 907...has no properties"

Thread began 11/30/2009 4:43 am by webassistdotcom261883 | Last modified 2/08/2010 11:04 am by webassistdotcom261883 | 5325 views | 11 replies

thetypehouse

eCart Add to Cart - Error "At line 907...has no properties"

Hello

PHP/MySQL server model
eCart 4.5.2 (uninstalled and reinstalled)
DW CS4 (on WinXP SP3)


I can successfully connect to my remote database.
I have added a Cart.
However, when I click the Add to Cart icon, and choose Look up item ID from recordset I get the error

"While executing onClick in WA eCart AddToCart.htm, the following JavaScript error(s) occurred:
At line 907 of file "C:\Program Files\Adobe\Adobe Dreamweaver CS4aConfiguration\Commands\WA eCart AddToCart.js":
document.generalWP.document.column.options[document.generalWP.document.column.selectedIndex] has no properties"


(A previous thread (showthread.php?p=27737&mode=linear&highlight=At+line+907#post27737) also mentioned this, but no solution was given.)

Incidentally, the path shown in the DW error message above is incorrect, as the AddToCart.js file mentioned is actually in
C:\Documents and Settings\user_name\Application Data\Adobe\Dreamweaver CS4\en_US\Configuration\Commands

I don't expect that this path error is helping much...

For info, line 907 in AddToCart.js reads
var ColumnName = document.generalWP.document.column.options[document.generalWP.document.column.selectedIndex].text;


Also, could you clarify for me if it's OK for the WA_eCart directory to be outside the webroot (although it's in the root of the local site, there is a webroot folder that forms the root of the remote site -- you can just see this in the site structure at the right-hand side of the attached file).

I have uninstalled and reinstalled the eCart 4.5.2 extension, and deleted the DW cache file (both of these were done while DW was closed).

I'd be really grateful for help. I've been tearing my hair out for days over this, and the project's running very late.

Many thanks
Alistair

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