Log message #4101050

# At Username Text
# Dec 5th 2017, 14:54 pedroseco with autentication, but yes
# Dec 5th 2017, 14:53 pedroseco different clients
# Dec 5th 2017, 14:53 hmic is it public?
# Dec 5th 2017, 14:53 pedroseco same source
# Dec 5th 2017, 14:53 pedroseco yes
# Dec 5th 2017, 14:53 hmic the one that works and the one that does not?
# Dec 5th 2017, 14:53 pedroseco yes same
# Dec 5th 2017, 14:53 pedroseco that's the only place where this JSON issue happens.
# Dec 5th 2017, 14:53 hmic so you are accessing the same server?
# Dec 5th 2017, 14:53 pedroseco I'm talking on running my application on a browser in a Win7 machine
# Dec 5th 2017, 14:52 hmic pedroseco: are you talking about the clients or are you talking about running cake on a windows 7 dev machine?
# Dec 5th 2017, 14:52 pedroseco Found a couple of links about this, but for Cakephp 2.X where a user said it must force the Content-type header. Now, in Cakephp3 does the _serialize have any option to force this kind of behaviour?
# Dec 5th 2017, 14:51 pedroseco Since on my local machine this just works as expected, I've been having difficulties on debugging this issue.
# Dec 5th 2017, 14:50 pedroseco I found out that the Content-Type on the response, on the Win7 machine, it's a text/html instead on application/json
# Dec 5th 2017, 14:50 slackebot2 expected.
# Dec 5th 2017, 14:50 pedroseco I'm getting a problem while running a _serialize json view in a windows 7 PC with the latest Chrome and Firefox apps. In other envirements we can just write /address/myjson.json and it shows the json object in the browser. It is a valid json that passes on json lint. Now, when I'm on the Windows 7 machine it shows a blank page. My Ajax request returns empty and so it doesnt work, while on other machines and browsers it just works as
# Dec 5th 2017, 14:48 pedroseco Hi Guys!
# Dec 5th 2017, 14:34 Milanz Is this a place where I can ask a quick question about a Cake 2 problem I'm facing?
# Dec 5th 2017, 14:33 Milanz Hey guys, quite a few people here!
# Dec 5th 2017, 14:05 jkpatel291289 therewas a conflict during the merge
# Dec 5th 2017, 14:05 jkpatel291289 i think i have done mistake while using git
# Dec 5th 2017, 14:04 hmic like locked from another task or editor (or AV shit)
# Dec 5th 2017, 14:04 hmic the same error occurs if the file is not accessible
# Dec 5th 2017, 14:03 jkpatel291289 file is present there
# Dec 5th 2017, 14:03 hmic and cases of course :D
# Dec 5th 2017, 14:03 jkpatel291289 2 seconds ago my code was runnig
# Dec 5th 2017, 14:03 hmic check \ /
# Dec 5th 2017, 14:03 hmic the file does not exist.
# Dec 5th 2017, 14:02 hmic jkpatel291289: why is this weird?
# Dec 5th 2017, 14:02 jkpatel291289 Warning (2): require(D:\xampp\htdocs\agnitrans/config/routes.php): failed to open stream: No such file or directory [CORE\src\Http\BaseApplication.php, line 74] Fatal error: require() [function.require]: Failed opening required 'D:\xampp\htdocs\agnitrans/config/routes.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\agnitrans\vendor\cakephp\cakephp\src\Http\BaseApplication.php on line 74
# Dec 5th 2017, 14:02 jkpatel291289 I am getting some weird error
# Dec 5th 2017, 13:58 stevenscg Thanks Mark. Subscribed to issue 11346.
# Dec 5th 2017, 13:56 dereuromark https://github.com/cakephp/cakephp/issues/11346#issuecomment-349310871
# Dec 5th 2017, 13:55 stevenscg ahh. yup.
# Dec 5th 2017, 13:55 dereuromark nice.. :P
# Dec 5th 2017, 13:55 dereuromark ahhh https://github.com/cakephp/cakephp/blob/2.x/.travis.yml#L45
# Dec 5th 2017, 13:53 hmic well, that error seems pretty fatal though
# Dec 5th 2017, 13:53 dereuromark so might be worth fixing whatever is needed to get it fully 7.2compat
# Dec 5th 2017, 13:53 dereuromark travis is green for 7.2 though
# Dec 5th 2017, 13:52 stevenscg @hmic The book just says "above 7.1" (https://book.cakephp.org/2.0/en/installation.html).
# Dec 5th 2017, 13:51 hmic it is worth filing a bug wiht php.net though, as they explicitely tell you to do so :D