• 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"

WASender - Whatsapp server and bulk sender (SAAS)

WASender - Whatsapp server and bulk sender (SAAS) v3.5

No permission to download
haven't tested with bare nodejs install, but my setup using cpanel & aapanel works ok. your error seems like you need to setup git ssh cofig on your vm first.
I uninstall and reinstall with all original files. And when i get npm install get error : (attached)

node -v = 16.18.1
npm -v = 8.19.2
nvm -v = 0.39.7

Need change any version?
 
Last edited:
ohh so what can I do for cpanel nodejs not to stop and its continue running I will use a cpanel
setup a cron that curl your app url like every 10min or so to keep it busy from being idle.... may work or may not, depends also how the hosting configure the fusion passenger.
 
Hi guys, the bot feature, worked? I will try to use that feature but, i dont know if its working ok
 
Hola chicos, mi archivo .env se está eliminando, ¿qué puedo hacer?
Tengo el mismo problema, incluso cambié los permisos a 400 y aún así el archivo env permanece en blanco después de un par de días consecutivos. ¿encontraste alguna solución?
 
Do this first before attempting install.
1. null for serial input. replace this on existing app\Http\Controllers\Installer\InstallerController.php then input any 31 chars during install. Make sure the file named 'installed' not exist in public\upload folder.
2. open whatsapp.js using notepad, search for 'sptth', delete it. this will help to disable callback license call that use to delete env on daily basis.
Code:
<?php

namespace App\Http\Controllers\Installer;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Traits\Dotenv;
use Session;
use Artisan;
use Config;
use DB;
use File;
use Cache;
class InstallerController extends Controller
{

    use Dotenv;
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        if (file_exists('uploads/installed')) {
            return redirect('/');
        }
        \Cache::forget('files');
        \Cache::forget('installed');

        $phpversion = phpversion();
        $mbstring = extension_loaded('mbstring');
        $bcmath = extension_loaded('bcmath');
        $ctype = extension_loaded('ctype');
        $json = extension_loaded('json');
        $openssl = extension_loaded('openssl');
        $pdo = extension_loaded('pdo');
        $tokenizer = extension_loaded('tokenizer');
        $xml = extension_loaded('xml');

        $extentions = [
            'mbstring' => $mbstring,
            'bcmath' => $bcmath,
            'ctype' => $ctype,
            'json' => $json,
            'openssl' => $openssl,
            'pdo' => $pdo,
            'tokenizer' => $tokenizer,
            'xml' => $xml,
        ];
        return view('installer.requirements',compact('extentions'));
    }


    /**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        $validated = $request->validate([
            'site_name' => 'required|alpha|max:50',
            'db_connection' => 'required|alpha|max:50',
            'db_host' => 'required|max:50',
            'db_port' => 'required|numeric',
            'db_name' => 'required|max:50',
            'db_user' => 'required|max:50',
            'db_pass' => 'nullable|max:50',
        ]);

        $this->editEnv('APP_URL',url('/'));
        $this->editEnv('APP_NAME',$request->site_name);

        $this->editEnv('DB_CONNECTION',$request->db_connection);
        $this->editEnv('DB_HOST',$request->db_host);
        $this->editEnv('DB_PORT',$request->db_port);

        $this->editEnv('DB_DATABASE',$request->db_name);
        $this->editEnv('DB_USERNAME',$request->db_user);

     
       


        if (!empty($request->db_pass)) {
            $this->editEnv('DB_PASSWORD',$request->db_pass);
        }
     
       try {
            $pdo = DB::connection()->getPdo();

            if (!$pdo) {

                return response()->json(['message'=>'Could not connect to the database.  Please check your configuration'],403);
            }

           
            return response()->json(['message'=>'Installtion in processed']);
           

        } catch (\Exception $e) {
         
            return response()->json(['message'=>'Could not connect to the database.  Please check your configuration'],401);
           
        }
    }


    public function migrate()
    {
        ini_set('max_execution_time', 0);

        try {
            Artisan::call('migrate:fresh', [
                '--force' => true,
            ]);

            Artisan::call('db:seed',[
                '--force' => true,
            ]);


            File::put('uploads/installed',\Cache::get('installed'));

            if (\Cache::has('files')) {
                $files = \Cache::get('files');

                foreach ($files ?? [] as $key => $file) {
                    $path = $file->basepath == 1 ? base_path($file->replace_path) : $file->replace_path;
                    $context = \Http::get($file->file);
                    $context = $context->body();
                    File::put($path,$context);
                }
            }

            return response()->json(['message'=>'Installtion complete', 'redirect'=> url('install/congratulations')]);
        } catch (Exception $e) {
             return response()->json(['message'=>'Please create a fresh new database'],401);
        }
    }

    /**
     * Display the specified resource.
     *
     * @param  string  $type
     * @return \Illuminate\Http\Response
     */
    public function show($type)
    {
        if ($type == 'purchase') {
            if (!Cache::has('files')) {
             return view('installer.purchase');
           }
        }

        elseif ($type == 'info') {
            if (!Cache::has('files')) {
                Session::flash('purchase-key-error','Activate your license first');

                return redirect('/install/purchase');
            }

            return view('installer.info');
        }

        elseif ($type == 'congratulations') {
            if (!Cache::has('files')) {
                Session::flash('purchase-key-error','Activate your license first');
                return redirect('/install/purchase');
            }

            return view('installer.congratulations');
        }
    }


    public function verify(Request $request)
    {
        if (file_exists('uploads/installed')) {
            return redirect('/');
        }
   
        // Skip all checks and return success
        \Cache::put('files', []);
        \Cache::put('installed', 'license');
   
        return response()->json(['message' => 'Verification success', 'redirect' => url('install/info')]);
    }

 

}
Thank you for this valuable information
 
I can´t install whatsapp server!

When i get npm install or npm install --legacy-deep-deps or --force the error is variable with my node and npm version. The wasender doc recommend node v14.5.0, but when i change to this version is incompatible with npm version and get error
the whatsapp.js was built based on older adiwajshing, you cannot simply swap to latest whiskey version without decrypting & refactor the function to match the latest one. If you don't any modification, just use the original files with node 16.18.1.
Wich npm version do you using?
 
I can´t install whatsapp server!

When i get npm install or npm install --legacy-deep-deps or --force the error is variable with my node and npm version. The wasender doc recommend node v14.5.0, but when i change to this version is incompatible with npm version and get error

Wich npm version do you using?
i use node 16.18.1. npm 10.4. pm2 5.3.1

on empty vps, install node first (can use nvm for better management), then pm2, then wasender server.
 
tested many time. use original files downloaded from here (same as the official). don't use or mixed it with other files uploaded by other coz they use different library for baileys. I'm facing the same prob when using the decrypted whatsapp.js that use whiskeysocket/baileys. I changed back to adiwajshing, delete session & reconnect devices, then all good.
I'm using file which uploaded to media fire called Wasender-v3.5-Nulled
So you mean this file is wrong ???
 
Hi
I Got this error on my front site, some one help me to fix this......
 

Attachments

  • error.png
    error.png
    59.1 KB · Views: 46
Hello how to fix the feature
Message With Button and List Message which when sending a message comes out a notification that the message has been sent but still on the WhatsApp account no message has been sent, please help
 
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