New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught ReferenceError: Tracy is not defined #579
Comments
After executing |
Yes, this is very strange, because other headers are fine, there is a problem with the Tracy only. I was trying to change PHP versions (FastCGI, PFM) and there is no difference. I have found some configuration issue for Nginx, but there was also mentioned that Tracy works on "index", for me the Tracy does not work for whole website. StackTrace #0 - Nette\Http\Response->checkHeaders() $value = string(17) "Nette Framework 3" for both environments
I dumped headers_list() here and there is one output both both environments:
** StackTrace #1 a #2 - Nette\Http\Response->setHeader('...', '...')**
The thing is that there is nothing strange for me in this case and I am not sure how to continue with the debugging. At least, I can provide the affected environment or if you can gouide me what to do more, it would be great. I was expecting that this "header" issue is for whole website, but only Tracy has this problem |
Also I have noticed the output in the browser: URL: view-source:https://pisnickycz.pepiapp.sk/?_tracy_bar=js&v=2.10.5&XDEBUG_SESSION_STOP=1
|
As I wrote, try to find out why the exit is not called https://github.com/nette/tracy/blob/master/src/Tracy/Debugger/Debugger.php#L259 |
Yes, thank you! As I have tried to step in to the code and dumped the exit, it is called, the output is true, so in this case I can presume the problem with headers is somewhere else. Imho this can happen somewhere here If I am right - I have opened
And here it looks like it fails. |
Version: 2.10
Bug Description
When I uploaded project to Linux hosted VPS witch Apache 2.4 everything works except the Tracy. I have checked the Apache configuration file but I do not see any difference that can cause this issue. I was trying to debug this Tracy source code and the stack trace says
DeferredContent.php:76
echo $str
that breaks the code and it is trying to get built CSS + JSSource code
Debug process
Stack Trace
Steps To Reproduce
URL: https://pisnickycz.pepiapp.sk/
Expected Behavior
The expecte behavior is to show the Tracy - it is enabled and should work.
Possible Solution
I do not know yet.
The text was updated successfully, but these errors were encountered: