Jump to content

Recommended Posts

11 minutes ago, mantapin said:

I have run cronjob witjh this curl "https://YOURWEB.com/schedule-run" >/dev/null 2>&1 every one minute

For the cronjob i use this every one minutes:

cd /YOURHOMEE/artisan schedule:run 1 >/dev/null 2>&1

curl "https://yourweb.com/schedule-run" >/dev/null 2>&1

13 hours ago, Magd Almuntaser said:

Finally, I've completed designing a theme for
(Whatsapp Gateway | Multi Device script Version 5.5.0)

You can download the theme from the following link, but please note that the theme is only compatible with version ((5.5.0)).

I'll update it later for the latest version if you like the theme.

 

I am waiting for 6.50. Thanks in advance

  • Like 1

@Renato Oliveira Fotografia

4 hours ago, Renato Oliveira Fotografia said:

Can anyone share a tutorial on how to install version 6.5.0 on a Linux VPS?

What problem do you have with the installation on the VPS, I recommend that you use Ubuntu on it, install node.js, php with its prerequisites, apache or ngix, the mysql or wave database of your choice. Anything write to me privately

Cual problema tienes con la instalación en el VPS, te recomiendo usas ubuntu en el mismo, instala node.js, php con sus pre-requisitos, apache o ngix, la base de datos mysql ola de tu preferencia. Cualquier cosa escribeme al privado

  • Like 1
5 hours ago, Renato Oliveira Fotografia said:

Can anyone share a tutorial on how to install version 6.5.0 on a Linux VPS?

it's easy .. install in your vps (nodejs 16) if almalinex 8:

curl -fsSL  https://rpm.nodesource.com/setup_18.x | sudo -E bash -
yum install -y nsolid

if ubuntu:

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
apt-get install -y nodejs

upload script files and run this in SSH and go to your script root and run:
 

node .

don't close SSH window .. and this link in browser:
 

http://youtsite.com/install
5 hours ago, Renato Oliveira Fotografia said:

Can anyone share a tutorial on how to install version 6.5.0 on a Linux VPS?

it's easy .. install in your vps (nodejs 16) if almalinex 8:

curl -fsSL  https://rpm.nodesource.com/setup_18.x | sudo -E bash -
yum install -y nsolid

if ubuntu:

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
apt-get install -y nodejs

upload script files and run this in SSH and go to your script root and run:
 

node .

don't close SSH window .. and this link in browser:
 

http://youtsite.com/install
21 minutes ago, Ninu said:

Hello bang, my website is not showing QR Code as well 😞 can you help ?image.png.4a7e9d885b5c3361c0dfe0876fe7d97d.png


becouse your whatsapp server not working
you can search in google for (port check) i think the website called yougetsignal and put your website and your whatsapp port 3100 if is not ON you should run this command in SSH in root script if using VPS:
 

node .

if shared hosting you can check nodejs from cpanel if working

para usar en SSL, modifique el server.js asi: 

"use strict";

const wa = require("./server/whatsapp");
const fs = require("fs");
require("dotenv").config();
const lib = require("./server/lib");
global.log = lib.log;

const express = require("express");
const app = express();
const https = require("https");
const serverOptions = {
  cert: fs.readFileSync("C:/Certbot/live/phat_ssl/fullchain.pem"),
  key: fs.readFileSync("C:/Certbot/live/phat_ssl/privkey.pem"),
};
const server = https.createServer(serverOptions, app);

const { Server } = require("socket.io");
const io = new Server(server);
const port = process.env.PORT_NODE;

app.use((req, res, next) => {
  res.set("Cache-Control", "no-store");
  req.io = io;
  next();
});

const bodyParser = require("body-parser");

app.use(
  bodyParser.urlencoded({
    extended: false,
    limit: "50mb",
    parameterLimit: 100000,
  })
);
app.use(bodyParser.json());
app.use(express.static("src/public"));
app.use(require("./server/router"));

io.on("connection", (socket) => {
  socket.on("StartConnection", (data) => {
    wa.connectToWhatsApp(data, io);
  });
  socket.on("ConnectViaCode", (data) => {
    wa.connectToWhatsApp(data, io, true);
  });
  socket.on("LogoutDevice", (device) => {
    wa.deleteCredentials(device, io);
  });
});

server.listen(port, console.log(`Server running and listening on port: ${port}`));

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...