Skip to content
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

Symfony 5 - An error occurred while loading the web debug toolbar. #35365

Closed
vl20100 opened this issue Jan 16, 2020 · 8 comments
Closed

Symfony 5 - An error occurred while loading the web debug toolbar. #35365

vl20100 opened this issue Jan 16, 2020 · 8 comments

Comments

@vl20100
Copy link

vl20100 commented Jan 16, 2020

Symfony 5.0.2

I have set up a new project using "composer create-project symfony/website-skeleton myproject".

The debug toolbar shows the message "An error occurred while loading the web debug toolbar."

I installed the symfony/apache-pack but the problem is already there.

I searched the web for hours to find a solution and nothing helps.

When I open the javascript console, I have this error : "/myproject/public/_wdt/afab40:1 Failed to load resource: the server responded with a status of 404 (Not Found)"

Is it a bug or a configuration error ?

image

@xabbuh
Copy link
Member

xabbuh commented Jan 16, 2020

I am sorry, but I have to close your issue as we use GitHub issues only to discuss new features and for bug reports. For support, please refer to one of the support channels. Thank you for understanding.

@xabbuh xabbuh closed this as completed Jan 16, 2020
@hichamzaher
Copy link

hello vl20100,
I have the same problem as you, I would like to know if you have found the solution and if can you share it with me
thank you in advance

@hichamzaher
Copy link

Problem solved

@antoine1003
Copy link

How did you solve it?

@plencovich
Copy link

In my case, creating the .htaccess file in /public, it was fixed

   <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php [QSA,L]
   </IfModule>

@edwardbrosens
Copy link

In my case, creating the .htaccess file in /public, it was fixed

   <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php [QSA,L]
   </IfModule>

Worked for me too.

@ValBocquet
Copy link

In my case, creating the .htaccess file in /public, it was fixed

   <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php [QSA,L]
   </IfModule>

Perfect. Thanks.

@ortiz-facundo
Copy link

In my case, creating the .htaccess file in /public, it was fixed

   <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php [QSA,L]
   </IfModule>

It worked for me too. (Also i would like to know why its necesary, and what it does. If any have the time to respond that it would be helpful). TY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants