X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Upgrade to 5.3: my module is now missing Translation classes? (https://forum.x-cart.com/showthread.php?t=74946)

kirkbauer 01-31-2017 06:57 PM

Upgrade to 5.3: my module is now missing Translation classes?
 
When upgrading to 5.3 I have to update a custom module that I built. My module has some custom Models and now I'm getting an error during step 4 of redeploy because I'm missing a Translation model (my models don't use translation). I ended up creating some models to get past the error, but why are these now required and is there a way I can avoid them?

Error (code: 0): Class 'XLite\Module\KB\TDT\Model\InventoryLocationTransl ation' does not exist

I have a model called InventoryLocation.php but I never needed this translation file in the past.

totaltec 02-01-2017 09:32 AM

Re: Upgrade to 5.3: my module is now missing Translation classes?
 
Kirk,
So you have encountered one of the differences betweeen 5.2/5.3 and there are many.

Just need to add in your classes, and look at some other modules for examples.

-Mike


All times are GMT -8. The time now is 10:33 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.