View Single Post
Old 01-13-2014, 10:07 PM   #775
DouglasK
Member
DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.
 
DouglasK's Avatar
 
Posts: 24
Karma: 7938
Join Date: Oct 2010
Location: Ottawa, Ontario, Canada
Device: Onyx Note Air3, Kobo Aura HD, Nexus 7 (2013)
Unhappy Undefined function json_encode() ?

I've just installed COPS onto Apache 2.4.x on Ubuntu. The library is local on the server, without special characters or spaces in the path.

When I load the page (http://server.org/cops/) I see several GETs in the access log, ending with /cops/templates/default/suggestion.html. In the Error log I see:
[Mon Jan 13 21:54:26.726455 2014] [:error] [pid 18742] [client 99.23.116.76:50455] PHP Fatal error: Call to undefined function json_encode() in /var/www/cops/getJSON.php on line 22, referer: http://example.org/cops/

Any help would be appreciated.

~~Douglas
DouglasK is offline   Reply With Quote