Error in HTTP response, code 200 without showing the expected result

0

I have a Symfony 3.4.8 application that was working perfectly. But it has stopped loading my javascript / css files without further ado. In Chrome everything comes in HTML code without loading the javascript and css files. Already in mozilla I load something but I presented a header like this in the figure below , and it does not load all the files. I thought it was some error in the response but, in wikipedia List of HTTP status , it tells me that code 200 represents successful answers . Can someone help me?

Right now I no longer see the character in any of the files. But it still does not read them, besides the characters in red are still there I followed the steps of this post that looks for and removes the BOM but it also has not solved the problem for me.

Even though it seems difficult to happen, could that be some error in the response?

    
asked by lackner 26.06.2018 в 10:34
source

1 answer

0

I do not know what happened to me, but the software worked again. As I made several attempts I will put here what I did, because in addition to following all the suggestions I tried other things that had not been suggested to me here although I am not sure what corrected the error, the file had an error with the coding of the characters. So I put down some steps:

  • I opened all the css and javascript files in notepad ++ and changed them one by one for UTF-8 (without BOM). Those who had them in UTF-8 sim BOM, I opened them and changed to UTF-8 I saved them, I changed them again for UTF-8 without BOM and I saved them again.
  • I did the same with all my .twig files
  • I did the same with my classes that were related to that controller.
  • I followed the steps that you put in this link that remove the file bom . For that I used cygwin .
  • In my php installation, I deleted the php.ini file. I took an original php.ini file and made the necessary changes to make it work php.
  • I went back to step 1.
  • At each step I cleaned the cache and more or less it has been what I did for these days and how it worked again, today I close the issue without being clear what I did that had relevance in fact. So thanks @aloMalbarez and @OscarGarcia.

        
    answered by 04.07.2018 / 11:47
    source