PasteShr - Text Hosting & Sharing Scripts

PasteShr - Text Hosting & Sharing Scripts v3.2.5

No permission to download

gatosan

New member
Oct 26, 2020
14
9
3
México
Hi, tell please why enter purchase code need every day?
Try replacing the code as shown below
Replace all code along the path \vendor\ied3vil\language-switcher\src\ied3vil\LanguageSwitcher\Providers\LanguageSwitcherProvider.php with
PHP:
<?php

namespace ied3vil\LanguageSwitcher\Providers;

use ied3vil\LanguageSwitcher\LanguageSwitcher;
use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\ServiceProvider;

class LanguageSwitcherProvider extends ServiceProvider
{
    public function register()
    {
        AliasLoader::getInstance()->alias(base64_decode('TGFuZ3VhZ2VTd2l0Y2hlcg=='), \ied3vil\LanguageSwitcher\Facades\LanguageSwitcher::class);
        App::bind(base64_decode('TGFuZ3VhZ2VTd2l0Y2hlcg=='), function () {
            return new LanguageSwitcher();
        });
    }

    public function boot()
    {
        $this->publishes([
            __DIR__ . base64_decode('Ly4uL2NvbmZpZy9sYW5ndWFnZXN3aXRjaGVyLnBocA==') => config_path(base64_decode('bGFuZ3VhZ2Vzd2l0Y2hlci5waHA=')),
        ]);
        if (!App::routesAreCached()) {
            require __DIR__ . base64_decode('Ly4uL3JvdXRlcy5waHA=');
        }
      
        if (empty(config(base64_decode('c2V0dGluZ3MucGM='))) && request()->path() != base64_decode('c2l0ZS92ZXJpZmljYXRpb24=')) {
            redirect(base64_decode('c2l0ZS92ZXJpZmljYXRpb24='))->send();
        }

    }
}
 

mczhan

New member
Sep 9, 2022
0
0
0
It asks for the purchase code all the time, replacing the code in the vendor file, that a user suggested to do doesn't work and for some reason my admin dashboard doesn't have a "settings" tab
 

vasco

New member
Dec 22, 2019
2
0
1
It asks for the purchase code all the time, replacing the code in the vendor file, that a user suggested to do doesn't work and for some reason my admin dashboard doesn't have a "settings" tab
same here
after replacing the code in the vendor file, my website blank

anyone can help me ?
 

MaxLevel

New member
Babiato Lover
Trusted Uploader
Mar 14, 2021
25
16
3
Paradise
piracy.wiki
Need to replace the file code along the path \vendor\ied3vil\language-switcher\src\ied3vil\LanguageSwitcher\Providers\LanguageSwitcherProvider.php to


PHP:
<?php
namespace ied3vil\LanguageSwitcher\Providers;
use ied3vil\LanguageSwitcher\LanguageSwitcher;
use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\ServiceProvider;
class LanguageSwitcherProvider extends ServiceProvider
{ public function register() { AliasLoader::getInstance()->alias(base64_decode('TGFuZ3VhZ2VTd2l0Y2hlcg=='), \ied3vil\LanguageSwitcher\Facades\LanguageSwitcher::class); App::bind(base64_decode('TGFuZ3VhZ2VTd2l0Y2hlcg=='), function () { return new LanguageSwitcher(); }); } public function boot() { $this->publishes([ __DIR__ . base64_decode('Ly4uL2NvbmZpZy9sYW5ndWFnZXN3aXRjaGVyLnBocA==') => config_path(base64_decode('bGFuZ3VhZ2Vzd2l0Y2hlci5waHA=')), ]); if (!App::routesAreCached()) { require __DIR__ . base64_decode('Ly4uL3JvdXRlcy5waHA='); } if (empty(config(base64_decode('c2V0dGluZ3MucGM='))) && request()->path() != base64_decode('c2l0ZS92ZXJpZmljYXRpb24=')) { redirect(base64_decode('c2l0ZS92ZXJpZmljYXRpb24='))->send(); } }
}
can you help me with the code? I tried latest version from babiato but not working for me. 500 error as well old version
I am using cyberpanel > litespeed
 

gatosan

New member
Oct 26, 2020
14
9
3
México
can you help me with the code? I tried latest version from babiato but not working for me. 500 error as well old version
I am using cyberpanel > litespeed
I use the same code and it works fine with litespeed.
Are you using the 'normal' version or the subdir version?
 
  • Like
Reactions: MaxLevel

gatosan

New member
Oct 26, 2020
14
9
3
México
Perhaps it is a problem with the .htaccess file, because the normal version requires the configuration of a virtual host as indicated in the documentation.
The 'subdir version' doesn't need anything else, you just install it inside the PUBLIC_HTML folder, its .htaccess file is already configured to work that way.
 
  • Like
Reactions: MaxLevel

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu