Search found 3 matches

by PaulThomas
Fri Mar 16, 2012 12:42 pm
Forum: PHP API
Topic: json_encode() Warning
Replies: 4
Views: 13890

Re: json_encode() Warning Solved

Hi Steve,

Thank you for the update. Yes, the PHP version we are using is 5.2.12. Will arrange an update to the latest PHP stable release!

Otherwise, the WURFL API is brilliant! 10 minute set up!

Cheers and thanks again.
Paul Thomas
by PaulThomas
Fri Mar 16, 2012 10:28 am
Forum: PHP API
Topic: json_encode() Warning
Replies: 4
Views: 13890

Re: json_encode() Warning - Solved

I'm going to see how this fix pans out. I found that the default handler for '$cookie_sent' was 'false' in Cookie.php on line 18. I have set it to 'true' and now the issue is resolved. class WurflCloud_Cache_Cookie implements WurflCloud_Cache_CacheInterface { public $cookie_name = 'WurflCloud_Client...
by PaulThomas
Fri Mar 16, 2012 9:49 am
Forum: PHP API
Topic: json_encode() Warning
Replies: 4
Views: 13890

json_encode() Warning

Hi, Has any one experienced the following issue? Warning: json_encode() expects exactly 1 parameter, 2 given in /home/xxxxxxx/public_html/Cache/Cookie.php on line 47 This error appears in the main desktop website. The following WURFL script is placed in the header. The error is on http://www.visioni...