That error is referring to eCart 6 code, but you say you have eCart 5?
did you have eCart 6 installed at one time?
try uninstalling eCart 5 from the extension manager then reinstalling it. also, Delete the Dreamweaver Cache file from the users configuration folder:
http://www.webassist.com/tutorials/Common-installation-issues