• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

zCart - Multi-Vendor eCommerce Marketplace

zCart - Multi-Vendor eCommerce Marketplace 2.14.0

No permission to download
Apparently in that packageinstaller path is where you have to override

[2022-07-13 03:09:14] production.INFO: Installing package wallet


update: I have decoded PackageInstaller
But it inly remains to null it so that it receives the value so that it can proceed with the installation, and add the funcion app/Services/preparePackageInstallation.php in vendor/helper_functions.php to send the parameter
On line 32 of the preparePackageInstallation
Download
How did you decode this file?
 
Please help, how to solve:
1- CSS not working
2- installing zCart module... Many error
Here is decoded file of package installer, if anyone can null this to bypass addon purchase key?

PHP:
<?php
/*
* Copyright (C) Incevio Systems, Inc - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Munna Khan <[email protected]>, September 2018
*/
 namespace App\Http\Controllers\Admin; use App\Models\Package; use App\Http\Controllers\Controller; use App\Http\Requests\Validations\PackageInstallationRequest; use App\Services\PackageInstaller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\DB; class PackagesController extends Controller { public function index() { $installables = $this->scanPackages(); $installs = Package::all(); return view("admin.packages.index", compact("installables", "installs")); } public function upload() { return view("admin.packages._upload"); } public function save(Request $request) { echo "<pre>"; print_r($request->all()); echo "<pre>"; exit("end!"); } public function initiate(Request $request, $package) { if (!(config("app.demo") == true && config("app.debug") !== true)) { goto Zrkk2; } return back()->with("warning", trans("messages.demo_restriction")); Zrkk2: $installable = $this->scanPackages($package); if (!($installable && Package::where("slug", $installable["slug"])->first())) { goto vVLXB; } return back()->with("error", trans("messages.package_installed_already", ["package" => $package])); vVLXB: return view("admin.packages._initiate", compact("installable")); } public function upgrade(Request $request, $package) { if (!(config("app.demo") == true && config("app.debug") !== true)) { goto FtKqM; } return back()->with("warning", trans("messages.demo_restriction")); FtKqM: $installable = $this->scanPackages($package); if ($installable) { goto aAYZP; } return back()->with("error", trans("messages.package_not_found", ["package" => $package])); aAYZP: try { $installer = new PackageInstaller($request, $installable); $installer->migrate(); } catch (\Exception $e) { Log::error($e); return back()->with("error", $e->getMessage()); } return back()->with("success", trans("messages.package_upgraded_success", ["package" => $package])); } public function install(PackageInstallationRequest $request, $package) { if (!(config("app.demo") == true && config("app.debug") !== true)) { goto NDiPA; } return back()->with("warning", trans("messages.demo_restriction")); NDiPA: $installable = $this->scanPackages($package); if ($installable) { goto ni3DM; } return back()->with("error", trans("messages.package_not_found", ["package" => $package])); ni3DM: try { $installer = new PackageInstaller($request, $installable); $installer->install(); } catch (\Exception $e) { Log::error($e); $installer->uninstall(); $registered = Package::where("slug", $package)->first(); if (!$registered) { goto SQ0mg; } $registered->delete(); SQ0mg: return back()->with("error", $e->getMessage()); } Artisan::call("cache:clear"); Artisan::call("route:clear"); return back()->with("success", trans("messages.package_installed_success", ["package" => $package])); } public function uninstall(Request $request, $package) { if (!(config("app.demo") == true && config("app.debug") !== true)) { goto kPNSx; } return back()->with("warning", trans("messages.demo_restriction")); kPNSx: $registered = Package::where("slug", $package)->firstOrFail(); $uninstallable = $this->scanPackages($package); try { $installer = new PackageInstaller($request, $uninstallable); if (!$installer->uninstall()) { goto hXhMF; } Artisan::call("cache:clear"); Artisan::call("route:clear"); if (!$registered->delete()) { goto gLttM; } return back()->with("success", trans("messages.package_uninstalled_success", ["package" => $package])); gLttM: hXhMF: } catch (\Exception $e) { Log::error($e); return back()->with("error", $e->getMessage()); } return back()->with("error", trans("messages.failed")); } public function activation(Request $request, $slug) { if (!(config("app.demo") == true && config("app.debug") !== true)) { goto vV6R3; } return response("error", 444); vV6R3: if (!($registered = Package::where("slug", $slug)->first())) { goto Yp7Ko; } $registered->active = !$registered->active; $registered->save(); Artisan::call("cache:clear"); return response("success", 200); Yp7Ko: if (!($unregistered = $this->scanPackages($slug))) { goto SXmmL; } $registered = Package::create($unregistered); SXmmL: return response("success", 200); } public function updateConfig(Request $request) { if (!updateOptionTable($request)) { goto l0J1B; } Artisan::call("cache:clear"); return back()->with("success", trans("messages.package_settings_updated")); l0J1B: return back()->with("error", trans("messages.failed")); } public function toggleConfig(Request $request, $option) { if (!(config("app.demo") == true && config("app.debug") !== true)) { goto G9SbE; } return response("error", 444); G9SbE: $updated = DB::table("options")->where("option_name", $option)->update(["option_value" => DB::raw("NOT option_value")]); if (!$updated) { goto CP6qf; } Artisan::call("cache:clear"); return response("success", 200); CP6qf: return response("error", 405); } private function scanPackages($slug = null) { $packages = []; foreach (glob(base_path("packages/*"), GLOB_ONLYDIR) as $dir) { if (!file_exists($manifest = $dir . "/manifest.json")) { goto umnvo; } $json = file_get_contents($manifest); if (!($json !== '')) { goto XfEGC; } $data = json_decode($json, true); if (!($data === null)) { goto KR2ZF; } throw new \Exception("Invalid manifest.json file at [{$dir}]"); KR2ZF: $data["path"] = $dir; if (!($slug && $data["slug"] == $slug)) { goto rOx1O; } return $data; rOx1O: $packages[] = $data; XfEGC: umnvo: PuXVp: } z2IVs: usort($packages, function ($x, $y) { return strnatcmp($x["name"], $y["name"]); }); return $packages; } } ?>
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock