Mbaroudi / puelia-php

Automatically exported from code.google.com/p/puelia-php
0 stars 0 forks source link

Invalid JSON due to memcache error #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Having got my set-up working, I tried the local spacecraft configuration. I got 
the attached 
output (note that this was saved from Firefox, in which I have an extension to 
view JSON; I think 
the text at the top might be from Firefox rather than in the actual output). In 
particular, there is 
an error at the end, which I think is what is causing the invalid JSON message:

<b>Warning</b>: Memcache::add() expects parameter 4 to be long,
string given in
<b>/Library/WebServer/Documents/puelia/lda-cache.class.php</b> on line
<b>60</b><br />

Uncommenting line 23 of lda.inc.php, which reads:

define('PUELIA_CACHE_AGE', 1);

fixes the issue although I'm not sure that it's set to the correct value?

Original issue reported on code.google.com by jeni.ten...@gmail.com on 25 May 2010 at 5:02

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by K.J.W.Al...@gmail.com on 26 May 2010 at 4:25