I have followed all the steps of installation but I’m having a problem when starting playsms:
I get: " playsmsd has been started
schedule at pid
ratesmsd at pid
dlrssmsd at pid
recvsmsd at pid
sendsmsd at pid "
with empty pids
I have reviewed several times the steps but I couldn’t find the problem.
thank you for helping
I have gone through the installation of PlaySMS on Ubuntu 16.04. I followed your instructions directly and got the installation up and running (localhost/playsms). The client seems to run okay, however when you click on “Manage Gateway & SMSC” the screen shows up blank (http://localhost/playsms/index.php?app=main&inc=core_gateway&op=gateway_list). I have pasted the output from playsmsd check below. I have also posted the playsmsd.conf file below. Please help. Thanks.
I note that you had to edit the default config file for nginx. I have pasted my default apache config file below (/etc/apache2/sites-enabled/000-default.conf) without the commented out lines.
<VirtualHost *:80>
# - Comments here
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# - Comments here
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# - Comments here
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Hope this provides a better picture. Please advice. I am happy to edit files directly to get SMS Tools to work. I plan to use USB GSM modems (possibly in a dual modem configuration per machine). Any advice? Thanks in advance.
I did the install, several of them had already been installed with the initial install. In any event, I did the complete install and restarted the server. Still got a blank screen when I click on Gateway & SMSC. Shut down and started again, still the same thing.
Please let me know if you have any other thoughts on how to fix this. What is interesting is that all the other menu items and sub-menu items work. This is the only one that does not work. Thanks
I checked the apache error log file and there is a consistent error that is generated whenever an attempt is made to use that menu item. The error message is shown below. Hope this helps. Thanks.
[Mon Aug 01 12:29:30.583272 2016] [:error] [pid 3165] [client ::1:34674] PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /var/www/html/playsms/lib/fn_core.php:823\nStack trace:\n#0 /var/www/html/playsms/plugin/core/gateway/fn.php(197): core_xml_to_array(’<?xml version="…’)\n#1 /var/www/html/playsms/plugin/core/gateway/gateway.php(210): _gateway_display()\n#2 /var/www/html/playsms/inc/app/main.php(33): include_once(’/var/www/html/p…’)\n#3 /var/www/html/playsms/index.php(34): include(’/var/www/html/p…’)\n#4 {main}\n thrown in /var/www/html/playsms/lib/fn_core.php on line 823, referer: http://localhost/playsms/index.php?app=main&inc=core_welcome
[Mon Aug 01 12:33:25.748427 2016] [:error] [pid 3167] [client ::1:34678] PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /var/www/html/playsms/lib/fn_core.php:823\nStack trace:\n#0 /var/www/html/playsms/plugin/core/gateway/fn.php(197): core_xml_to_array(’<?xml version="…’)\n#1 /var/www/html/playsms/plugin/core/gateway/gateway.php(210): _gateway_display()\n#2 /var/www/html/playsms/inc/app/main.php(33): include_once(’/var/www/html/p…’)\n#3 /var/www/html/playsms/index.php(34): include(’/var/www/html/p…’)\n#4 {main}\n thrown in /var/www/html/playsms/lib/fn_core.php on line 823, referer: http://localhost/playsms/index.php?app=main&inc=feature_sms_autoreply&op=sms_autoreply_list
[Mon Aug 01 13:06:00.454679 2016] [:error] [pid 3165] [client ::1:34982] PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /var/www/html/playsms/lib/fn_core.php:823\nStack trace:\n#0 /var/www/html/playsms/plugin/core/gateway/fn.php(197): core_xml_to_array(’<?xml version="…’)\n#1 /var/www/html/playsms/plugin/core/gateway/gateway.php(210): _gateway_display()\n#2 /var/www/html/playsms/inc/app/main.php(33): include_once(’/var/www/html/p…’)\n#3 /var/www/html/playsms/index.php(34): include(’/var/www/html/p…’)\n#4 {main}\n thrown in /var/www/html/playsms/lib/fn_core.php on line 823, referer: http://localhost/playsms/index.php?app=main&inc=core_user&route=user_config&op=user_config
That did the trick. It’s working. Thanks for the help. By the way do you have a good reference on configuring SMS gateways (especially SMS Tools)? A good tutorial will be helpful to get the team going with the configuration and management of the settings on the software and also settings for USB GSM modems. I note that the online manual was not completed. Any tips will be helpful. Thanks for the help!