[solved] HTTP ERROR 500 - Manage gateway and SMSC


(Vivek) #1

I installed playsms however when i login and click on settings-manage gateway and SMSC i get an http 500 error.

Log:
[Fri Jul 06 09:42:45.404196 2018] [php7:error] [pid 16387] [client 10.99.0.135:54202] PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /var/www/html/playsms/lib/fn_core.php:842\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 842, referer: http://10.99.0.153/playsms/index.php?app=main&inc=feature_playsmslog&op=playsmslog_list


(Anton Raharja) #2

you need php-xml

read this howto: https://playsms.org/2018/06/26/playsms-1-4-2-on-ubuntu-18-04/

anton


(Vivek) #3

Thank you. All working. Can you run a gsm router with Play sms? Or do you need additional software?