Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Upgrade to 5.3: my module is now missing Translation classes?

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 01-31-2017, 06:57 PM
 
kirkbauer kirkbauer is offline
 

Member
  
Join Date: Dec 2015
Posts: 26
 

Default 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.
__________________
X-Cart Business 5.3.6.8
Reply With Quote
  #2  
Old 02-01-2017, 09:32 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:33 PM.

   

 
X-Cart forums © 2001-2020