$document->setMimeEncoding('application/json'); echo json_encode('myresult');
Labels |
Removed:
?
|
Labels |
Added:
?
|
I am also having the same error - firefox reports json error, chrome says there is an extra <
I'm unable to reproduce your issue, you need to provide more code.
What does your plugin?
Are you using some JS libraries? eg: Jquery
Moreover, i think you not use the proper way:
Use "JResponseJson" to handle the output, eg:
echo new JResponseJson(array('data'=>'test'),'Success');
In controller context you can use $this->input
has place of JFactory::getApplication()->input
Hi Devportobello,
Thank you for your suggestions regarding code.
We've resolved the problem, one of our plugin's files was encoding in UTF8 With BOM.
Regards.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-03-26 10:09:40 |
Closed_By | ⇒ | brianteeman |
Added screenshots

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6553.