Wa Gateway | Multi device BETA | MPWA MD

Wa Gateway | Multi device BETA | MPWA MD v8.0.0 ( Extended License )

No permission to download

dammah

New member
May 6, 2022
18
7
3
could someone help me to decrypt the kernel.php file
thanks
PHP:
<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @return void
     */
    protected $commands = [
        Commands\ScheduleCron::class
    ];
    protected function schedule(Schedule $schedule)
    {
        $schedule->command('schedule:cron')->everyMinute();
        $schedule->command('subscription:check')->daily();
        $schedule->command('start:blast')->everyMinute();
      //  $schedule->command('schedule:blast')->everyMinute();
    }

    /**
     * Register the commands for the application.
     *
     * @return void
     */
    protected function commands()
    {
        $this->load(__DIR__.'/Commands');

        require base_path('routes/console.php');
    }
}
 
Last edited:
  • Like
Reactions: mdavila

mdavila

New member
May 7, 2022
21
9
3
PHP:
<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @return void
     */
    protected $commands = [
        Commands\ScheduleCron::class
    ];
    protected function schedule(Schedule $schedule)
    {
        $schedule->command('schedule:cron')->everyMinute();
        $schedule->command('subscription:check')->daily();
        $schedule->command('start:blast')->everyMinute();
      //  $schedule->command('schedule:blast')->everyMinute();
    }

    /**
     * Register the commands for the application.
     *
     * @return void
     */
    protected function commands()
    {
        $this->load(__DIR__.'/Commands');

        require base_path('routes/console.php');
    }
}
thank you very much for your help
 

mdavila

New member
May 7, 2022
21
9
3
PHP:
<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @return void
     */
    protected $commands = [
        Commands\ScheduleCron::class
    ];
    protected function schedule(Schedule $schedule)
    {
        $schedule->command('schedule:cron')->everyMinute();
        $schedule->command('subscription:check')->daily();
        $schedule->command('start:blast')->everyMinute();
      //  $schedule->command('schedule:blast')->everyMinute();
    }

    /**
     * Register the commands for the application.
     *
     * @return void
     */
    protected function commands()
    {
        $this->load(__DIR__.'/Commands');

        require base_path('routes/console.php');
    }
}
I get error 500 when I change the code in the kernel.php file
 

blackaligator

New member
Oct 3, 2022
7
1
3
I get error "Fatal error: Uncaught ReflectionException: Class App\Http\Kernel does not exist in /www/wwwroot/...." after I change the code in the kernel.php file
Version 4.3.2
 

dammah

New member
May 6, 2022
18
7
3
I get error "Fatal error: Uncaught ReflectionException: Class App\Http\Kernel does not exist in /www/wwwroot/...." after I change the code in the kernel.php file
Version 4.3.2
PHP:
<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @return void
     */
    protected $commands = [
        Commands\ScheduleCron::class
    ];
    protected function schedule(Schedule $schedule)
    {
        $schedule->command('schedule:cron')->everyMinute();
        $schedule->command('subscription:check')->daily();
        $schedule->command('start:blast')->everyMinute();
      //  $schedule->command('schedule:blast')->everyMinute();
    }

    /**
     * Register the commands for the application.
     *
     * @return void
     */
    protected function commands()
    {
        $this->load(__DIR__.'/Commands');

        require base_path('routes/console.php');
    }
}
this is kernel file in the directory app/Console/
 

bvrsrg

New member
May 5, 2022
24
7
3
Hi All.. I have a strange problem with the "Wa Gateway | Multi device BETA | V4.3.2 MPWA MD v4.3.2", it works properly but not sure after few hours (seen always on next day) the site throws an error as shown in the screenshot.

And when i asked for the logs from the hosting provider they gave me these logs and they even not sure why it happens. And they asked to me to restore to the previous version and it used to work. Then again on the next day the same problem repeats. Can any one help me with this. due to this I'm unable to work further.

Here are the logs which were given by the service provider and a screenshot is added to the attachment.
Note: the source code is added in sub domain.

Warning: include(/home/domainname/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: No such file or directory in /home/domainname/public_html/vendor/composer/ClassLoader.php on line 571

Warning: include(/home/domainname/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: No such file or directory in /home/domainname/public_html/vendor/composer/ClassLoader.php on line 571

Warning: include(): Failed opening '/home/domainname/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/domainname/public_html/vendor/composer/ClassLoader.php on line 571

Fatal error: Uncaught ReflectionException: Class App\Http\Kernel does not exist in /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:877 Stack trace: #0 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(877): ReflectionClass->__construct('App\\Http\\Kernel') #1 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(758): Illuminate\Container\Container->build('App\\Http\\Kernel') #2 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(851): Illuminate\Container\Container->resolve('App\\Http\\Kernel', Array, false) #3 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(296): Illuminate\Foundation\Application->resolve('App\\Http\\Kernel', Array, false) #4 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}( in /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 879
Hi All .. no one is facing this kind of issue? Please suggest? Is it problem with hosting then?
 

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
This script's every features are working fine.
There are so issues.
 

DarkWave

Active member
Babiato Lover
Trusted Uploader
Nov 19, 2019
83
127
33
the kernel in the app/console is already decoded from the download package. which has not been decoded is in app/Http

Here u go:
PHP:
<?php

namespace App\Http;

use Illuminate\Foundation\Http\Kernel as HttpKernel;

class Kernel extends HttpKernel
{
 /**
 * The application's global HTTP middleware stack.
 *
 * These middleware are run during every request to your application.
 *
 * @var array<int, class-string|string>
 */
 protected $middleware = [
 // \App\Http\Middleware\TrustHosts::class,
 \App\Http\Middleware\TrustProxies::class,
 \Fruitcake\Cors\HandleCors::class,
 \App\Http\Middleware\PreventRequestsDuringMaintenance::class,
 \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
 \App\Http\Middleware\TrimStrings::class,
 \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
 ];


 /**
 * The application's route middleware groups.
 *
 * @var array<string, array<int, class-string|string>>
 */
 protected $middlewareGroups = [
 'web' => [
 \App\Http\Middleware\EncryptCookies::class,
 \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
 \Illuminate\Session\Middleware\StartSession::class,
 // \Illuminate\Session\Middleware\AuthenticateSession::class,
 \Illuminate\View\Middleware\ShareErrorsFromSession::class,
 \App\Http\Middleware\VerifyCsrfToken::class,
 \Illuminate\Routing\Middleware\SubstituteBindings::class,
 ],

 'api' => [
 // \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
 'throttle:api',
 \Illuminate\Routing\Middleware\SubstituteBindings::class,

 ],
 ];


 /**
 * The application's route middleware.
 *
 * These middleware may be assigned to groups or used individually.
 *
 * @var array<string, class-string|string>
 */
 protected $routeMiddleware = [
 'auth' => \App\Http\Middleware\Authenticate::class,
 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
 'can' => \Illuminate\Auth\Middleware\Authorize::class,
 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
 'isVerifiedLicense' => \App\Http\Middleware\isVerifiedLicense::class,
 'installed.app' => \App\Http\Middleware\appInstalled::class,
 'checkApiKey' => \App\Http\Middleware\CheckApiKey::class,
 'admin' => \App\Http\Middleware\AdminMiddleware::class,
 ];

}
 

blackaligator

New member
Oct 3, 2022
7
1
3
Here u go:
PHP:
<?php

namespace App\Http;

use Illuminate\Foundation\Http\Kernel as HttpKernel;

class Kernel extends HttpKernel
{
 /**
 * The application's global HTTP middleware stack.
 *
 * These middleware are run during every request to your application.
 *
 * @var array<int, class-string|string>
 */
 protected $middleware = [
 // \App\Http\Middleware\TrustHosts::class,
 \App\Http\Middleware\TrustProxies::class,
 \Fruitcake\Cors\HandleCors::class,
 \App\Http\Middleware\PreventRequestsDuringMaintenance::class,
 \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
 \App\Http\Middleware\TrimStrings::class,
 \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
 ];


 /**
 * The application's route middleware groups.
 *
 * @var array<string, array<int, class-string|string>>
 */
 protected $middlewareGroups = [
 'web' => [
 \App\Http\Middleware\EncryptCookies::class,
 \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
 \Illuminate\Session\Middleware\StartSession::class,
 // \Illuminate\Session\Middleware\AuthenticateSession::class,
 \Illuminate\View\Middleware\ShareErrorsFromSession::class,
 \App\Http\Middleware\VerifyCsrfToken::class,
 \Illuminate\Routing\Middleware\SubstituteBindings::class,
 ],

 'api' => [
 // \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
 'throttle:api',
 \Illuminate\Routing\Middleware\SubstituteBindings::class,

 ],
 ];


 /**
 * The application's route middleware.
 *
 * These middleware may be assigned to groups or used individually.
 *
 * @var array<string, class-string|string>
 */
 protected $routeMiddleware = [
 'auth' => \App\Http\Middleware\Authenticate::class,
 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
 'can' => \Illuminate\Auth\Middleware\Authorize::class,
 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
 'isVerifiedLicense' => \App\Http\Middleware\isVerifiedLicense::class,
 'installed.app' => \App\Http\Middleware\appInstalled::class,
 'checkApiKey' => \App\Http\Middleware\CheckApiKey::class,
 'admin' => \App\Http\Middleware\AdminMiddleware::class,
 ];

}
work, thanks you
 

paijoojiap

New member
Nov 4, 2022
12
0
1
Nganjuk Jatim
sorry if repost ask , I have a problem on auto reconnect.
how can it work auto reconnect on shared hosting ?
I am use cron job but can't reconnected .
Cron update every 30 minutes , i try sent cURL domain cron / schedule but not work.
thanks
 

Anomali

New member
Dec 1, 2018
24
10
3
sorry if repost ask , I have a problem on auto reconnect.
how can it work auto reconnect on shared hosting ?
I am use cron job but can't reconnected .
Cron update every 30 minutes , i try sent cURL domain cron / schedule but not work.
thanks
i also use shared hosting and cronjob working
1667980566801.png
 

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