View Single Post
  #1  
Old 05-09-2017, 04:31 AM
 
mm23456 mm23456 is offline
 

Member
  
Join Date: May 2017
Posts: 11
 

Default Class not found when creating new module

Hi,

I have recently started to use X-cart. I was following this tutorial: http://devs.x-cart.com/en/basics/understanding_models.html to create new Entity class for a new Module. However, I always get the following error:

An error occurred in your store.
ERROR: "0" (code N/A)
Class 'TestEntity' not found

I tried changing the path to the class when I try to instantiate it in test.php, but it still does not work. Also, the module is visible in Modules in admin part of the store, but the database table which should be automatically created according to the tutorial, is missing.

Do you have any suggestions?

Thank you!
__________________
X-cart 5.3.2.9
Multivendor
Reply With Quote