Update.
Tried with previous version of ecart, no joy, then found the problem was due to a syntax error in my sql connection, all is well. Back on latest version without issues.
For those people having javascript errors with ecart, I strongly suggest clearing the dreamweaver cache file before flagging up faults, this is often the cause.