View Single Post
  #14  
Old 05-13-2019, 01:05 AM
 
mvs mvs is offline
 

X-Cart team
  
Join Date: Nov 2018
Posts: 118
 

Default Re: X-Cart 5.4.0 Public Beta is out

Quote:
Originally Posted by cflsystems
Max FYI
It looks like the new XC5 pack is not .tar anymore but .tgz
I can't re-install any package packed from admin. Error message was something like unknown format or similar.

Am I missing something here or is this another bug in the XC 5.4.x beta?
The problem is that you cannot upload the module for X-Cart 5.3.6.x on X-Cart 5.4.0.x. And tar/tgz/tar.gz formats are acceptable.

To adapt your module you need to manually unpack the version for 5.3.6.x in root X-Cart 5.4.0.x and make the necessary changes:
- Main.php -> main.yaml (possible to generate via command: php xc5 utils:generateMainYaml XC/Example)
- Change module version to 5.4.0.0
- Rebuild the cache
- Enable the module
- Fix bugs if any

More details in the technical blog post: https://devs.x-cart.com/what_is_new/5_4_0_technology_preview_release.html

Thanks!
__________________
Max Slepuhov
X-Cart
Reply With Quote