204b
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
[...]
</body>
</html>
0
Character 204b is a paragraph character. Your editor is probably adding some character that only appears on the Linux host.
$pictures = array(
array( ... ),
array( ... ),
[...]
);
$pictures += array(
array( ... ),
array( ... ),
[...]
);
Out of curiosity, what host are you on? I had this same problem on webfaction a while ago.
There are a couple solutions, first, check what protocol your server is using, and which protocol header your app is sending. ( check $_SERVER['SERVER_PROTOCOL'] and then something like the firefox livehttpheaders addon) If the server and your app aren't on the same page then the "chunking" data (which is what you are seeing) gets sent wrong.
A second fix is to send the Content-Length header, which is fairly simple. In your bootstrap do something like this:
// psuedo code written off the top of my head, might be wrong
$request->headers['Content-Length'] = strlen($request->response);
echo $request->send_headers()->response();
Posted By: bluehawkI fixed it by updating Kohana core system to latest official revision. Again, I'm clueless.
They fixed kohana to use SERVER_['SERVER_PROTOCOL'] by default, rather than having HTTP/1.1 hardcoded recently, i'm too lazy to find the specific ticket in redmine though :P
It looks like you're new here. If you want to get involved, click one of these buttons!