Is this a known issue: Code: Fatal error: SourceGuardian Incompatible loader version. This protected script was encoded with a newer version of SourceGuardian. Please download and install the <A HREF="https://www.sourceguardian.com/loaders/">latest loaders</A>. Error code [19] in /root/ISPProtect/ispp_scan.php on line 2
We switched to a new version of SourceGuardian some time ago for PHP 8.2 support, so there has been no change recently. I was unaware that a new loader version is required, at least on my systems. It worked with the newly encoded version out of the box. I'll test it here again.
I'm not able to reproduce this here, but I also have another customer that reported the same issue. I guess the most easy fix is to remove the file in the 'loader' subdirectory. The ispp_scan command will download a new loader when you run it the next time.
Advice by @till worked, scanner got updated. I had this issue on all three servers where I run ISPProtect, all running Debian 10. I read old reports, seems update did work 10th July, but failed 24th July. So something happened between those dates, hope that helps if this issue is under investigation.
Thanks for the info, I will further investigate what might have caused this and how ew can implement an automatic update of the loaders in that case.
Same issue for me, but deleting loader files doesn't help: Code: Fatal error: SourceGuardian Loader - This protected script was not encoded for version 8.3.12 of PHP. Please re-encode or contact the author of the script regarding this problem. Error code [07] in /usr/local/ispprotect/ispp_scan.php on line 2
Strange, we'll look into that. Which OS are you using, Ubuntu 24.04? And did you try to download ISPProtect again from our website? Maybe your version is not up to date: https://ispprotect.com/
I've just installed an Ubuntu 22.04 system to test ISPProtect there and the current version works without issues. Please try to delete the SourceGuardian loader file, if you installed ISPProtect in /usr/local/ispprotect/ folder, then you can remove the loader with this command: Code: rm -f /usr/local/ispprotect/loader/*.so Then run ISPProtect again, it will download a copy of the most recent SourceGuardian loader into your system automatically.
Code: root@hosting:/home/ubuntu# rm -f /usr/local/ispprotect/loader/*.so root@hosting:/home/ubuntu# /usr/local/ispprotect/ispp_scan _____ _____ _____ _____ _ _ |_ _|/ ____| __ \| __ \ | | | | | | | (___ | |__) | |__) | __ ___ | |_ ___ ___| |_ | | \___ \| ___/| ___/ '__/ _ \| __/ _ \/ __| __| _| |_ ____) | | | | | | | (_) | || __/ (__| |_ |_____|_____/|_| |_| |_| \___/ \__\___|\___|\__| __ __ _ _____ \ \ / / | | / ____| \ \ /\ / /__| |__ | (___ ___ __ _ _ __ _ __ ___ _ __ \ \/ \/ / _ \ '_ \ \___ \ / __/ _` | '_ \| '_ \ / _ \ '__| \ /\ / __/ |_) | ____) | (_| (_| | | | | | | | __/ | \/ \/ \___|_.__/ |_____/ \___\__,_|_| |_|_| |_|\___|_| Version 2.1.10 (c) 2015-2024 by ISPConfig UG all rights reserved Fatal error: SourceGuardian Loader - This protected script was not encoded for version 8.3.12 of PHP. Please re-encode or contact the author of the script regarding this problem. Error code [07] in /usr/local/ispprotect/ispp_scan.php on line 2
I see the problem now; I tested with an ISPConfig system on 22.04, where the PHP version is set to default, while you seem to have set the system PP to a third-party PHP package and version. It looks as if you set your system's PHP version to a different version; for Ubuntu 22.04, the version should be PHP 8.1 on an ISPConfig system. You can set the system PHP back to the correct PHP version like this: Code: update-alternatives --config php and then select PHP 8.1 as system PHP. I will also look into why the loader does not seem to like the latest PHP 8.3 minor release and update our encoder.
thanks, now I get a different error: Code: Please enter scan key (or TRIAL if you have none, yet): Please enter path to scan: /var/www Fatal error: Uncaught Error: Call to undefined function curl_init() in /usr/local/ispprotect/includes/class.request.inc.php:35 Stack trace: #0 /usr/local/ispprotect/includes/class.request.inc.php(136): APIRequest::prepareRequest('https://license...', 'GET', Array, 1) #1 /usr/local/ispprotect/includes/class.api.inc.php(114): APIRequest::requestGET('https://license...', Array, 1) #2 /usr/local/ispprotect/includes/isppscan.inc.php(1405): ISPPAPI::send('license/ispprot...') #3 /usr/local/ispprotect/ispp_scan.php(50): ISPProtectScanner->run() #4 /usr/local/ispprotect/ispp_scan.php(2): sg_load('CC84A6354CDFFE0...') #5 {main} thrown in /usr/local/ispprotect/includes/class.request.inc.php on line 35
It seems as if your system PHP is not fully installed so modules are missing. Try this to install the missing PHP module: Code: sudo apt install php8.1-curl
Just to be sure, please run the following command once: /usr/local/ispconfig/server/server.sh as ISPConfig runs under the system PHP version to. This is just to check that you do not get an error for another missing PHP module in ISPConfig now.