Closed GoogleCodeExporter closed 9 years ago
Please try to call the functions from the start page directly and see if there
is any error:
http://192.168.1.6/php/measureit_functions.php?do=navigation_main
http://192.168.1.6/php/measureit_functions.php?do=lng_get
http://192.168.1.6/php/measureit_functions.php?do=summary_start
Original comment by lalelu...@gmail.com
on 12 Nov 2012 at 5:52
Hi, I tried to call the 3 functions but in all cases nothing appears in web
browser.
I can see blank page only...
Original comment by paolo.pi...@gmail.com
on 12 Nov 2012 at 9:10
The error reporting can be off in your php.ini. There must be a error or you
should see data :)
Please try it again with this line in the beginning ( inside the php tags ) of
the measureit_functions.php
error_reporting( E_ALL );
If this not help you had to search for the error reporting settings in your php
config
Original comment by lalelu...@gmail.com
on 13 Nov 2012 at 6:55
Hi, thanks a lot for your support...
I inserted the following line in measureit_functions.php to enable error
reporting on your script:
ini_set('display_errors',1);
error_reporting( E_ALL );
And then I try to call the 3 functions with the following results:
- https://192.168.1.6/measureit/php/measureit_functions.php?do=navigation_main
Fatal error: Call to undefined function json_encode() in
/var/www/html/measureit/php/measureit_functions.php on line 126
- https://192.168.1.6/measureit/php/measureit_functions.php?do=lng_get
Notice: Undefined offset: 1 in
/var/www/html/measureit/php/measureit_functions.php on line 426
Fatal error: Call to undefined function json_encode() in
/var/www/html/measureit/php/measureit_functions.php on line 416
- https://192.168.1.6/measureit/php/measureit_functions.php?do=summary_start
Notice: Undefined index: 20 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined index: 11 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined index: 12 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined index: 13 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined index: 20 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined index: 20 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined index: 11 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined index: 12 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined index: 13 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined index: 20 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined index: 11 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined index: 12 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined index: 13 in
/var/www/html/measureit/php/measureit_functions.php on line 365
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Notice: Undefined variable: prices in
/var/www/html/measureit/php/measureit_functions.php on line 497
Fatal error: Call to undefined function json_encode() in
/var/www/html/measureit/php/measureit_functions.php on line 200
I hope this is helpful...
Original comment by paolo.pi...@gmail.com
on 13 Nov 2012 at 8:20
Your php version is the problem.
Fatal error: Call to undefined function json_encode().
json_encode is per default in php since version 5.2.0.
A search will find out that you are not alone with this problem. I am shure you
will found a solution here :)
https://www.google.de/#hl=en&output=search&q=undefined+function+json_encode()+ce
ntos
Original comment by lalelu...@gmail.com
on 14 Nov 2012 at 6:55
Hi, I install json and now it's working fine.
Thanks a lot for your support!!! :)))
Original comment by paolo.pi...@gmail.com
on 15 Nov 2012 at 9:51
Original comment by lalelu...@gmail.com
on 16 Nov 2012 at 7:36
Original issue reported on code.google.com by
paolo.pi...@gmail.com
on 10 Nov 2012 at 1:06Attachments: