-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello tinkerspy,
I'm trying to run your Machine editor on my Ubuntu (16) dev server with PHP 5.6 & nginx
It somewhats works, only .h and .cpp generated files complain about simplexml :
Fatal error: Call to undefined function simplexml_load_string() in /var/www/html/lib/libatm.php on line 510
/*
Automaton::ATML::begin - Automaton Markup Language
<?xml version="1.0" encoding="UTF-8"?>
<machines>
<machine name="Atm_machine">
<states>
</states>
<events>
</events>
<connectors>
</connectors>
<methods>
</methods>
</machine>
</machines>
Automaton::ATML::end
*/
At first, I did not have simplexml installed, and that yield to blank pages and error messages in nginx error.log. I have fixed that now and no more have errors in the log file.
Here is the error file, seams clean to me:
jy@dev-ubuntu:/var/www/html$ tail -f /var/log/nginx/error.log
2016/11/11 14:24:07 [error] 1345#1345: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Use of undefined constant states - assumed 'states' in /var/www/html/lib/libatm.php on line 522
PHP message: PHP Notice: Use of undefined constant states - assumed 'states' in /var/www/html/lib/libatm.php on line 531
PHP message: PHP Notice: Use of undefined constant events - assumed 'events' in /var/www/html/lib/libatm.php on line 551
PHP message: PHP Notice: Use of undefined constant events - assumed 'events' in /var/www/html/lib/libatm.php on line 560
PHP message: PHP Notice: Use of undefined constant states - assumed 'states' in /var/www/html/lib/libatm.php on line 564
PHP message: PHP Notice: Use of undefined constant connectors - assumed 'connectors' in /var/www/html/lib/libatm.php on line 569
PHP message: PHP Notice: Undefined index: create in /var/www/html/index.php on line 52
PHP message: PHP Notice: Undefined index: txt_rename in /var/www/html/index.php on line 61" while reading response header from upstream, client: 192.168.1.101, server: 192.168.1.30, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php5.6-fpm.sock:", host: "192.168.1.30", referrer: "http://192.168.1.30/cppheader.php"
2016/11/11 14:24:10 [error] 1345#1345: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Use of undefined constant states - assumed 'states' in /var/www/html/lib/libatm.php on line 522
PHP message: PHP Notice: Use of undefined constant states - assumed 'states' in /var/www/html/lib/libatm.php on line 531
PHP message: PHP Notice: Use of undefined constant events - assumed 'events' in /var/www/html/lib/libatm.php on line 551
PHP message: PHP Notice: Use of undefined constant events - assumed 'events' in /var/www/html/lib/libatm.php on line 560
PHP message: PHP Notice: Use of undefined constant states - assumed 'states' in /var/www/html/lib/libatm.php on line 564
PHP message: PHP Notice: Use of undefined constant connectors - assumed 'connectors' in /var/www/html/lib/libatm.php on line 569
PHP message: PHP Notice: Undefined index: txt_rename in /var/www/html/index.php on line 61" while reading response header from upstream, client: 192.168.1.101, server: 192.168.1.30, request: "POST /index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php5.6-fpm.sock:", host: "192.168.1.30", referrer: "http://192.168.1.30/index.php"
2016/11/11 14:24:13 [error] 1345#1345: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: coll in /var/www/html/navigation.php on line 11
PHP message: PHP Notice: Use of undefined constant states - assumed 'states' in /var/www/html/lib/libatm.php on line 522
PHP message: PHP Notice: Use of undefined constant states - assumed 'states' in /var/www/html/lib/libatm.php on line 531
PHP message: PHP Notice: Use of undefined constant events - assumed 'events' in /var/www/html/lib/libatm.php on line 551
PHP message: PHP Notice: Use of undefined constant events - assumed 'events' in /var/www/html/lib/libatm.php on line 560
PHP message: PHP Notice: Use of undefined constant states - assumed 'states' in /var/www/html/lib/libatm.php on line 564
PHP message: PHP Notice: Use of undefined constant connectors - assumed 'connectors' in /var/www/html/lib/libatm.php on line 569" while reading response header from upstream, client: 192.168.1.101, server: 192.168.1.30, request: "GET /cppcode.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php5.6-fpm.sock:", host: "192.168.1.30", referrer: "http://192.168.1.30/index.php"
I have spent several hours on that, but I'm stuck now.
Your help would be much appreciated.
jy :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels