| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Can't get a custom page to load | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Hello, I was having this same issue following the documentation and downloading the example module used in the Knowledge Base (Tony-Page-Demo...).
In my case, none of the solutions above worked. It was even simpler. The problem was that the version used for the tutorial is 5.1 and I installed 5.2. So, I downloaded the test module, unpacked and changed the following code: - phar/.metadata.bin - line 2 - "VersionMajor";s:3:"5.1" for "VersionMajor";s:3:"5.2" - classes/XLite/Module/Tony/PageDemo/Main.php - line 74 (inside getMajorVersion function) - "return '5.1';" for "return '5.2';" Then I compressed the module again and uploaded it without a problem and worked flawlessly. I know this fix might be obvious for a lot of people but for a beginner trying to understand module development in version 5.2, this could be a setback. Also, I used macros as described in docs and didn't work correctly either. Definitely the next-sdk isn't up-to-date to this version of X-Cart. Hope it helps.
__________________
xcart v5.3.3.4 [linux] |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|