| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
module version "" does not match the core version ("5.3") | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
module version "" does not match the core version ("5.3")
Hello,
The Coinify's module to accept bitcoin payments on x-cart was working fine with 5.2, but apparently 5.3 is breaking backwards compatibility. (Source: https://github.com/CoinifySoftware/x-cart ) When I am trying to install it I have this error: PHP Code:
I have tried to fix it by looking at the documentation, but I still don't know what is wrong in the source code and what should be updated. Can anybody help me?
__________________
X-Cart 5.2 Coinify Bitcoin Module |
|||||||
#2
|
|||||||||
|
|||||||||
Re: module version "" does not match the core version ("5.3")
You should change the version returned by getMajorVersion() method:
https://github.com/CoinifySoftware/x-cart/blob/master/classes/XLite/Module/Coinify/Coinify/Main.php Also, the 5.3 version uses a different template engine, so you should adapt the template too: https://github.com/CoinifySoftware/x-cart/blob/master/skins/admin/en/modules/Coinify/Coinify/config.tpl Also, please check this article: http://devs.x-cart.com/en/migration_guides/updating_modules_from_5.2_to_5.3_branch.html
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
Re: module version "" does not match the core version ("5.3")
Quote:
I have tone all of them in the development branch https://github.com/CoinifySoftware/x-cart/blob/develop/classes/XLite/Module/Coinify/Coinify/Main.php But as you can see it is still not accepted... can anybody help? I am super confused by this change.
__________________
X-Cart 5.2 Coinify Bitcoin Module |
|||||||
#4
|
|||||||||
|
|||||||||
Re: module version "" does not match the core version ("5.3")
Your getMinorRequiredCoreVersion() method returns a wrong value: it should return the third digit of your module version, and at the moment it returns the first two digits.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#5
|
|||||||
|
|||||||
Re: module version "" does not match the core version ("5.3")
Quote:
Something like: PHP Code:
It still does not work!
__________________
X-Cart 5.2 Coinify Bitcoin Module |
|||||||
#6
|
|||||||||
|
|||||||||
Re: module version "" does not match the core version ("5.3")
It looks like XC5 has cached the value returned by this method.
Try to remove information about previous module versions from the database and redeploy the store to make XC5 re-read this data from your module: Code:
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#7
|
|||||||
|
|||||||
Re: module version "" does not match the core version ("5.3")
We have decided to drop x-cart support since nobody is using it anymore, and to waste time to update the module to 5.2 is not worth it.
Thanks anyway for your help.
__________________
X-Cart 5.2 Coinify Bitcoin Module |
|||||||
#8
|
|||||||||
|
|||||||||
Re: module version "" does not match the core version ("5.3")
It is sad that X-Cart users don't use your module.
Perhaps, it is because only a few were aware of it - I don't see the module listed on our marketplace website: https://market.x-cart.com/addons Anyway, we will be happy to see your module if you ever decide to return to the X-Cart community!
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|