| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Did anyone notice PHP CLI xcart script | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Did anyone notice PHP CLI xcart script
As it says in the title - did anyone notice "xcart" script in root of their XC installation?
I wonder if this again is one of this scripts we are not supposed to see and it was added to the stock package by mistake (just like the Modules.php one) Modules.php was not supposed to be in the installation pack but it was there for many versions and taken out in 5.3.3.4 "xcart" one was never in the package but it is in 5.3.3.4 It works only from command line and it seems to perform internal tasks as well as some of what used to be in the SDK. Seems pretty easy / straightforward to use Run it from command line in the XC installation directory as Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#2
|
|||||||
|
|||||||
Re: Did anyone notice PHP CLI xcart script
Quote:
PHP Code:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Did anyone notice PHP CLI xcart script
http://devs.x-cart.com/en/misc/command_line_tool.html
The only thing is that in earlier versions of X-Cart the script is named "xcart", not "xc5"
__________________
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 |
|||||||||
|
#4
|
|||||||
|
|||||||
Re: Did anyone notice PHP CLI xcart script
Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Did anyone notice PHP CLI xcart script
I believe one of release announcements mentioned the tool.
Anyway, this tool is still being tested, plus it is aimed at developers, not end users. I guess this might be the reason it wasn't included into changelogs.
__________________
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 |
|||||||||
|
#6
|
|||||||
|
|||||||
Re: Did anyone notice PHP CLI xcart script
Quote:
In addition and FWIW, on the subject of releasing developer tools to all store owners that are still "not finished" This was covered in another thread about the inconsistent workings / failings of the "Consistency Check" tool. This was in the changelog (!) but again, had no documentation. Consistency? Not XC5's finest hour... We use command line (and it's vast range of tools) via SSH every day on our own server, but this access and usage are also in a different release / access segment than than normal end users. Current confidence levels of XC5 upgrades and their immediate usability, verified effectiveness, bug free status etc are still low, so whilst positively welcoming them, we ourselves would avoid using any tools like this on XC5, until XC actually give this area the attention it urgently needs and deserves.
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#7
|
|||||||
|
|||||||
Re: Did anyone notice PHP CLI xcart script
this tool is fully tested and ready to use for developers. We have plans to improve it in the future, so it is not the final version. This tool replaces the legacy SDK
The full documentation is presented in kb here - http://devs.x-cart.com/misc/command_line_tool.html and in the utility help as well: PHP Code:
About the security. It could be used only if you have access to the server. So, if a hacker has an access to the server, he doesn't need this utility to harm your store. However, we will implement the ability deny updating this file during the upgrade procedure. As a result, you will be able to remove this file forever. We decided to include into the default package since it is more flexible for the developers, webmasters and our support team to use this toll instead downloading it separately.
__________________
Sincerely yours, Max Vydrin |
|||||||
|
#8
|
|||||||
|
|||||||
Re: Did anyone notice PHP CLI xcart script
Quote:
Quote:
Quote:
Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#9
|
|||||||||
|
|||||||||
Re: Did anyone notice PHP CLI xcart script
Quote:
I haven't received a reply from the XC5 dev team by that time, so it was my guess. My bad
__________________
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
|