ID: 47130
Comment by: svacinap at compsys dot cz
Reported By: svacinap at compsys dot cz
Status: Feedback
Bug Type: JSON related
Operating System: Linux Slackware 12.1
PHP Version: 5.2.8
New Comment:
Hi, thanks for interest :-) I am not a php programmer, so I don't know
howto help any better, sorry. In the apache error log you can see this:
/var/www/mail/modules/email/json.php on line 1310
so line 1310 is the last line of the json.php code, it's end like this:
}
}
}catch(Exception $e)
{
$response['feedback']=$e->getMessage();
$response['success']=false;
}
if(defined('IMAP_CONNECTED'))
{
$imap->close();
}
echo json_encode($response);
----------------------------------------------
line 1310 is this: echo json_encode($response);
I don't really know If this is help to you. Please let my know, I will
contact programmer of this code.
Thanks
Previous Comments:
------------------------------------------------------------------------
[2009-01-17 18:26:05] [email protected]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2009-01-16 15:56:16] svacinap at compsys dot cz
Description:
------------
Please read this:
http://www.group-office.com/forum/viewtopic.php?f=1&t=4255&start=0
php log:
[Fri Jan 16 10:26:34 2009] [error] [client 78.102.78.55] PHP Warning:
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/var/www/mail/modules/email/json.php on line 1310
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47130&edit=1