I have installed phpmyadmin and apache2 but the playsms can not be installed.
I faced the following problem.
(upload://drZpLN4zHca0Yh6YNitJe1ZSXgJ.png)
I wonder if you help me in solving this issue!
I have installed phpmyadmin and apache2 but the playsms can not be installed.
I faced the following problem.
(upload://drZpLN4zHca0Yh6YNitJe1ZSXgJ.png)
I wonder if you help me in solving this issue!
please follow install.md in playsms directory.
What is error ?
Check playsms.org theres manual on how to install playSMS 1.4.3 on Ubuntu in the cloud or Ubuntu in VirtualBox (which should work for local server/pc too).
anton
Cannot create cache directory /home/nm/.composer/cache/repo/https—repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/nm/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Updating dependencies (including require-dev)
Cannot create cache directory /home/nm/.composer/cache/repo/https—repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/nm/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
sh: 1: git: not found
)
Would you like to try reinstalling the package instead [yes]?
I suggest you follow this manual to learn how to install playSMS:
Perhaps you can then see what mistakes you did previously.
anton
I followed the steps you send me even I did not change komodo. but at the end, the result of command, ./install-playsms.sh
is as follows.
Getting composer from https://getcomposer.com
Please wait while the install script downloading composer
ERROR: unable to get composer from https://getcomposer.com
Your server unable to connect to getcomposer.org and get composer’s installer script.
Check if you can ping getcomposer.org (not dot-com).
Do not continue with next step until this step is done properly.
anton
I can ping but I am with the same error.
well the error clearly about not able to download composer installer from that website
just curious, have you followed the article step by step, install php, apache and stuff before installing playSMS, and just do what the article ask you too
which article did you follow ?
anton
I have followed this Article, but I have skipped ssh and https enable.
here are what I have done.
1.I have installed apache2, I can access it from localhost
2. I have installed both php 7.2 and phpmyadmin, and I can access localhost/test.php and localhost/phpmyadmin
3. I have tried to install play sms, I faced this problem
It is annoying, I have wasted my week, almost no progress at all, pleas help me.
Composer has been installed and packages has been updated
Start…cp: cannot remove ‘/home/komodo/public_html/playsms/config-dist.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/inc/app/index.html’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/inc/app/main.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/inc/app/webservices.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/inc/index.html’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/index.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/init.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/fn_billing.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/fn_core.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/fn_dlr.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/fn_keyword.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/fn_phonebook.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/fn_rate.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/fn_shortcuts.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/fn_webservices.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/function.php’: Permission denied
cp: cannot remove ‘/home/komodo/public_html/playsms/lib/index.html’: Permission
make sure you run the script as user who owns /home/komodo (if you follow the article, run as user komodo, login as user komodo and follow the article step by step)
anton
I did not get it still
Hello!
As you can see below,Composer and packages are updated
but it go to install playsms?
Pleas wait while composer getting and updating required packages
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
Composer has been installed and packages has been updated
Start…komodo@komodo-TECRA-R840:~/src/playSMS$
hello;
I get it.
I have not created database user correctly. that was the problem.
now it works fine.
would you mind sending me a manual for kannel to configure it as gateway for playsms.
try this:
anton
hello dude;
I have uploaded my issue.
As you can see , from my upload I have filled the configuration but, I can not see the smpp on the operational page, I wonder if you help me to do so.
is kannel running properly, and running in ports as configured, and configured with correct admin access ? see this again: [howto] Testing playSMS with Kannel
run: netstat -lnptu
confirm if kannel running on configured ports
anton
I have configured kannel as a root sudo/etc/kannel/kannel.conf
and the configuration, I used is as follows: both my kannel and playsms are on the same computer.
group = core
admin-password = kannelsms
status-password = kannellbulksmstest
admin-port = 13000
#admin-deny-ip = ...
admin-allow-ip = 127.0.0.1
smsbox-interface = 127.0.0.1
smsbox-port = 13001
box-deny-ip = ...
box-allow-ip = 127.0.0.1
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100
group = smsbox
smsbox-id = smsbox1
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-interface = 127.0.0.1
sendsms-port = 13131
sendsms-chars = "0123456789+ "
log-file = /var/log/kannel/smsbox1.log
log-level = 0
access-log = /var/log/kannel/access.log
group = smsc
smsc-id = smpp1
smsc = smpp
host = 10.190.10.16
port = 8313
transceiver-mode = yes
smsc-username = 005810
smsc-password =symbol12
system-type = “VMA”
log-file = /var/log/kannel/smsc-smpp1.log
log-level = 0
group = smsbox-route
smsbox-id = smsbox1
smsc-id = smpp1
group = sendsms-user
default-smsc = none
username = playsms
password = jkjknkmsmsnk
max-messages = 100
concatenation = true
group = sms-service
keyword = default
omit-empty = true
max-messages = 0
get-url = “https://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q&smsc=%i”
Netstat result is as follows
I can see the bearerbox is on those ports but in listening state. what else be the problem?
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:13000 0.0.0.0:* LISTEN 3673/bearerbox
tcp 0 0 127.0.0.1:13001 0.0.0.0:* LISTEN 3673/bearerbox
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1209/mysqld
tcp 0 0 127.0.0.1:13131 0.0.0.0:* LISTEN 3682/smsbox