zCart Multi-Vendor eCommerce Marketplace incevio NULLED

Скачать zCart Multi-Vendor eCommerce Marketplace incevio NULLED
Недавно искали:

  • Автор темы
  • Администратор
  • Модер.
  • Команда форума
  • #22
To activate license, put in form any value, (example. xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
в первом посте написано
пробовал. связывается с сервером проверки лицензии. пишет что код не верен.
можете предыдущую версию которая нулл заново залить?
 
Последнее редактирование:
Поделитесь рабочей нулл версией у кого есть, пожалуйста, комрады
 
  • Автор темы
  • Администратор
  • Модер.
  • Команда форума
  • #25
Поделитесь рабочей нулл версией у кого есть, пожалуйста, комрады
update -- App/Services/PackageInstaller.php Code with this Below Code
PHP:
<?php

namespace App\Services;

use Carbon\Carbon;
use App\Models\Package;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\MessageBag;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\Artisan;

class PackageInstaller {
    public $package;
    public $slug;
    public $namespace;
    public $path;
    public $migrations;

    public function __construct(Request $request, array $installable) {
        $this->package = array_merge($installable, $request->all());
        $this->slug = $installable["slug"];
        $this->namespace = "\\Incevio\\Package\\" . Str::studly(Str::replace("-", "_", $this->slug));
        $this->path = $installable["path"];
        $this->migrations = str_replace(base_path(), '', $this->path . "/database/migrations");
    }

    public function install() {
        Log::info("Installing package " . $this->slug);
        try {
            //$package_data = array_merge($this->package, preparePackageInstallation($this->package));
            $package_data = $this->package;
            Package::create($package_data);
            $this->migrate()->seed();
        } catch (\Exception $exception) {
            Log::info("Package installation failed " . $this->slug);
            Log::error(get_exception_message($exception));
            throw new \Exception("Package Installation Failed " . $this->slug);
        }
        Log::info("Successfully installed package " . $this->slug);
        return true;
    }

    public function upgrade() {
        Log::info("Upgrading package " . $this->slug);
        try {
            //$package_data = array_merge($this->package, preparePackageInstallation($this->package));
            $package_data = $this->package;
            Package::where("slug", $this->slug)->update([
                "name" => $package_data["name"],
                "description" => $package_data["description"],
                "compatible" => $package_data["compatible"],
                "version" => $package_data["version"],
                "icon" => $package_data["icon"],
                "dependency" => $package_data["dependency"],
                "updated_at" => Carbon::Now()
            ]);
            $this->migrate();
        } catch (\Exception $exception) {
            Log::info("Package upgrade failed " . $this->slug);
            Log::error(get_exception_message($exception));
            throw new \Exception("Package upgrade failed " . $this->slug);
        }
        Log::info("Successfully upgraded package " . $this->slug);
        return true;
    }

    public function migrate() {
        Log::info("Migration started for " . $this->slug);
        Artisan::call("migrate", ["--path" => $this->migrations, "--force" => true]);
        Log::info(Artisan::output());
        return $this;
    }

    private function seed() {
        Log::info("Seeding package data for " . $this->slug);
        foreach (glob($this->path . "/database/seeds/*.php") as $filename) {
            $classes = get_declared_classes();
            include $filename;
            $temp = array_diff(get_declared_classes(), $classes);
            $migration = Arr::last($temp, function ($value, $key) {
                return $value !== "Illuminate\\Database\\Seeder";
            });
            Artisan::call("db:seed", ["--class" => $migration, "--force" => true]);
            Log::info(Artisan::output());
        }
        return $this;
    }

    public function uninstall() {
        Log::info("Uninstalling Package: " . $this->slug);
        $file = $this->path . "/src/Uninstaller.php";
        if (!file_exists($file)) {
            throw new \Exception("Uninstaller not found for the package " . $this->slug);
        }
        include $file;
        $class = $this->namespace . "\\Uninstaller";
        if (class_exists($class)) {
            try {
                (new $class())->cleanDatabase();
                $this->rollback();
            } catch (\Exception $e) {
                Log::info("Package uninstallation failed: " . $this->slug);
                Log::error($e);
                throw new \Exception("Uninstallation failed: " . $this->slug);
            }
        }
        Log::info("Successfully uninstalled package " . $this->slug);
        return $this;
    }

    private function rollback() {
        Log::info("Roll back called...");
        $migrations = array_reverse(glob($this->path . "/database/migrations/*_*.php"));
        if (empty($migrations)) {
            Log::info("No migration to roll back for package " . $this->slug);
            return $this;
        }
        Schema::disableForeignKeyConstraints();
        DB::statement("SET FOREIGN_KEY_CHECKS = 0");
        foreach ($migrations as $filename) {
            $migration = str_replace('.php', '', basename($filename));
            Log::info("Rolling back: " . $migration);
            $row = DB::table("migrations")->where("migration", $migration);
            if ($row->first()) {
                $class = Str::studly(implode("_", array_slice(explode("_", $migration), 4)));
                if (!class_exists($class)) {
                    include $filename;
                }
                (new $class())->down();
                if (!$row->delete()) {
                    Log::info("Rollback FAILED: " . $migration);
                    throw new \Exception("Migration rollback failed: " . $this->slug);
                }
                Log::info("Rolled back: " . $migration);
            }
        }
        Schema::enableForeignKeyConstraints();
        DB::statement("SET FOREIGN_KEY_CHECKS = 1");
        Log::info("All migrations have been rolled back for package " . $this->slug);
        return $this;
    }
}

Then

in App/Rules/Licence.php

Just Replace that below code with This and when install Plugin when asking Key just use anything like 12345 or anything
PHP:
public function passes($attribute, $value)

{

    return true;

}

нашёл на просторах интернета
 
на версии 2.17.1 не работает такой способ. других нет . проверить не смогу
 
Назад
Сверху Снизу