7 hours ago7 hr Author How to Install Whatsapp Gateway | Multi Device 11.5.1 (MPWA) on Cpanel (Shared Hosting)
7 hours ago7 hr 1 hour ago, Magd Almuntaser said:Your nodejs is down, this problem is common in shared hosting, it keeps going down so try restarting nodejs and try againThe problem with shared hosting is that you have thousands of websites on the same server, and they all consume the server’s resources, which causes many outages.I personally use Cloudflare for my website.Because it protects me from attacks and makes websites faster.The most important thing is to forget about the tunnel thing, as this is basically only used by those who own localhost (your personal computer), not websites on the internet.So if you're going to use aapanel, you must use Apache, not Nginx, because Nginx is a reverse connection, so you won't need to use SSL, so the script won't work. Therefore, you must use Apache and use Cloudflare's SSL, not Let's Encrypt, but Cloudflare Client SSL Origin.You must also set your website to FULL SSL in Cloudflare.You must edit the web.php and server.js files.Use only port 8443.=================If you have aapanel and are connected to your website that uses Cloudflare, please provide me with your login details, and I'll install the version and make a video. I don't have aapanel.Saya kira tidak krn nodejsnya, karena untuk kirim gambar atau media dapat bekerja dengan baik
7 hours ago7 hr 17 minutes ago, Azhar Azziz Afifi said:Saya kira tidak krn nodejsnya, karena untuk kirim gambar atau media dapat bekerja dengan baikItu masalahnya di format gambar. Untuk kirim stiker pastikan ekstensinya .webp .Jika menggunakan format PNG atau jpg pasti gagal. Jadi baiknya di convert dulu filenya ke webp.
5 hours ago5 hr 1 hour ago, dentos said:Itu masalahnya di format gambar. Untuk kirim stiker pastikan ekstensinya .webp .Jika menggunakan format PNG atau jpg pasti gagal. Jadi baiknya di convert dulu filenya ke webp.Terima kasiiiih gan,Sekarang yang autoreply sticker tidak bisa bekerja. Saya trigger untuk yang media mau. Kenapa ya? Edited 5 hours ago5 hr by Azhar Azziz Afifi
4 hours ago4 hr 1 hour ago, Azhar Azziz Afifi said:Terima kasiiiih gan,Sekarang yang autoreply sticker tidak bisa bekerja. Saya trigger untuk yang media mau. Kenapa ya?Oh iya bener. Untuk stiker format apapun tidak berfungsi di autoreplay maupun blast. Hanya berfungsi di uji pesan dengan format.webp. saya juga kurang tau
4 hours ago4 hr 8 minutes ago, dentos said:Oh iya bener. Untuk stiker format apapun tidak berfungsi di autoreplay maupun blast. Hanya berfungsi di uji pesan dengan format.webp. saya juga kurang tauMohon bantuannya @Magd AlmuntaserLog pm2 nya seperti ini0|mpwa-nod | ReferenceError: __dirname is not defined0|mpwa-nod | at _jQJ37K (eval at <anonymous> (/var/www/mpwa/server/controllers/incomingMessage.js:1:1), <anonymous>:3:208710)0|mpwa-nod | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Edited 3 hours ago3 hr by Azhar Azziz Afifi
3 hours ago3 hr Author 55 minutes ago, Azhar Azziz Afifi said:Mohon bantuannya @Magd AlmuntaserLog pm2 nya seperti ini0|mpwa-nod | ReferenceError: __dirname is not defined0|mpwa-nod | at _jQJ37K (eval at <anonymous> (/var/www/mpwa/server/controllers/incomingMessage.js:1:1), <anonymous>:3:208710)0|mpwa-nod | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)Oh, your problem is that it doesn't recognize the image path.There are two reasons.The first reason might be that the hosting provider has blocked the use of full paths, so mpwa can't recognize the image path.The second reason might be that your storage folder isn't a shortcut, but rather a folder.I have one solution now: Go to the troubleshoot page and send me the link to the log that will appear so I can see which storage folder is being used.
2 hours ago2 hr 30 minutes ago, Magd Almuntaser said:Oh, your problem is that it doesn't recognize the image path.There are two reasons.The first reason might be that the hosting provider has blocked the use of full paths, so mpwa can't recognize the image path.The second reason might be that your storage folder isn't a shortcut, but rather a folder.I have one solution now: Go to the troubleshoot page and send me the link to the log that will appear so I can see which storage folder is being used.i can't drop link, here the non link urlhttps://pastebin[dot]com/HbwqUmGe
1 hour ago1 hr Author 57 minutes ago, Azhar Azziz Afifi said:i can't drop link, here the non link urlhttps://pastebin[dot]com/HbwqUmGeOkay, your problem is clear. How did you not notice it?Don't you see here:Checking server type...Apache detected.And here:Checking origin SSL certificate...Cloudflare origin certificate not found. Please install Cloudflare origin SSL: https://www.onexgen.com/mpwa/short/ssl-cloudflareAnd here:Checking Node server configuration...WA_URL_SERVER must include port for other/local.==========How do you want your site to run with these errors?We were just talking about Cloudflare.Guys, Cloudflare only allows you to use a limited number of ports, as explained on their website:https://developers.cloudflare.com/fundamentals/reference/network-ports/This means you must use port 8443 only.Second, since you're using Apache, you must add Cloudflare's SSL. Cloudflare doesn't recognize NodeJS without its own SSL, which you can obtain through your Cloudflare control panel. Alternatively, you can try using Let's Encrypt, although I prefer using Cloudflare Origin SSL because it gives you 30 years of free access.Try reviewing the guide on page 40================And don't forget that after you're done, you should go back to the troubleshoot page to see your mistakes. This entire page should be green. Watch my video above to see how the entire page should be green.
1 hour ago1 hr Author 5 minutes ago, Shaaz Sha said:@Magd Almuntaseri tried and find the issue you application const genAI = require('@google/genai'); missing and once install getting error again becuase /server/controllers/incomingMessage.js this file encrypted and i think need to change to this const genAI = require('@google/generative-ai');please check and let me know becuase the error log showing completly related geminiAI issue Unfortunately, you're using completely messed up files. You're now using old files from 11.4.0 mixed with files from 11.5.1. You can't use them this way. You must delete all the files and upload the 11.5.1 file as is.Secondly, installing the library is npm install @google/genai, not as you did npm install @google/generative-aiBut even if you install the library and the script works, it won't work properly, and you'll find yourself in a very, very long maze.
1 hour ago1 hr Author 4 minutes ago, Shaaz Sha said:@Magd Almuntaser can you make a video with cloudpanel pleasebro i told you before i don't use cloudpanel before ..
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.