I'm posting this url:
http://localhost/emoncms/input/post.json?apikey=72xxxxxxxxxxxxxxxxxxxx683ea8&node=23&json={Sw_Bomba:0,Sw_Bomba_P:0,Sw_Agua:0,Sw_Calor:0,Sw_Frio:0,Alrm:0,Alrm_l:0,Agua:0,R_1:0,
R_2:0,R_3:0,R_4:0,R_5:0,R_6:0,R_7:0,R_8:0,28FF40873D04000B:26.56,28FF60D23C040001:26.50,
28FF0DCD3C04005E:27.5}
Problem is with last values:
28FF40873D04000B:26.56,28FF60D23C040001:26.50,28FF0DCD3C04005E:27.5
i get server message of server error, i think was 401 (im not sure)
But values is going, but of this 3 values only get first.
This problem is with Mysql method and FIWA.
It's for sure a bug, because this not fail with emoncms.org
I tried in my local and emoncms with pasting url in browser, fail is in 9RC2 and this 3 values.
If i change order, always get and refresh first of them.
My php log say:
PHP Fatal error: Call to a member function fetch_array() on boolean in /var/www/html/emoncms-9.0/Modules/event/event_model.php on line 160
PHP Stack trace:
1. {main}() /var/www/html/emoncms-9.0/index.php:0
2. controller() /var/www/html/emoncms-9.0/index.php:122
3. input_controller() /var/www/html/emoncms-9.0/core.php:64
4. Process->input() /var/www/html/emoncms-9.0/Modules/input/input_controller.php:280
5. Process->log_to_feed() /var/www/html/emoncms-9.0/Modules/process/process_model.php:87
6. Process->__call() /var/www/html/emoncms-9.0/Modules/process/process_model.php:87
7. call_user_func_array:{/var/www/html/emoncms-9.0/Modules/process/process_model.php:47}() /var/www/html/emoncms-9.0/Modules/process/process_model.php:47
Is good point to review and fix
Edit - munged APIkey and wrapped long lines - Moderator, BT
Emoncms RC2 json problem (obviously bug)
Submitted by apachebcn on Wed, 21/10/2015 - 19:12I'm posting this url:
http://localhost/emoncms/input/post.json?apikey=72xxxxxxxxxxxxxxxxxxxx683ea8&node=23&json={Sw_Bomba:0,Sw_Bomba_P:0,Sw_Agua:0,Sw_Calor:0,Sw_Frio:0,Alrm:0,Alrm_l:0,Agua:0,R_1:0,
R_2:0,R_3:0,R_4:0,R_5:0,R_6:0,R_7:0,R_8:0,28FF40873D04000B:26.56,28FF60D23C040001:26.50,
28FF0DCD3C04005E:27.5}
Problem is with last values:
28FF40873D04000B:26.56,28FF60D23C040001:26.50,28FF0DCD3C04005E:27.5
i get server message of server error, i think was 401 (im not sure)
But values is going, but of this 3 values only get first.
This problem is with Mysql method and FIWA.
It's for sure a bug, because this not fail with emoncms.org
I tried in my local and emoncms with pasting url in browser, fail is in 9RC2 and this 3 values.
If i change order, always get and refresh first of them.
My php log say:
PHP Fatal error: Call to a member function fetch_array() on boolean in /var/www/html/emoncms-9.0/Modules/event/event_model.php on line 160
PHP Stack trace:
1. {main}() /var/www/html/emoncms-9.0/index.php:0
2. controller() /var/www/html/emoncms-9.0/index.php:122
3. input_controller() /var/www/html/emoncms-9.0/core.php:64
4. Process->input() /var/www/html/emoncms-9.0/Modules/input/input_controller.php:280
5. Process->log_to_feed() /var/www/html/emoncms-9.0/Modules/process/process_model.php:87
6. Process->__call() /var/www/html/emoncms-9.0/Modules/process/process_model.php:87
7. call_user_func_array:{/var/www/html/emoncms-9.0/Modules/process/process_model.php:47}() /var/www/html/emoncms-9.0/Modules/process/process_model.php:47
Is good point to review and fix
Edit - munged APIkey and wrapped long lines - Moderator, BT