Welcome Guest, Not a member yet? Register   Sign In
How can I turn the debug bar on?
#10

Sorry, I stayed away for a while studying CI and was a bit frustrated with the debug bar thing. Today I made some tests and figured a couple things.

I realized that the debugger is throwing the following two errors in console (in EVERY page of my project):

PHP Code:
Access to XMLHttpRequest at 'http://localhost/curso-codeigniter4/index.php?debugbar_time=1588198772' from origin 'http://curso-ci4' has been blocked by CORS policyNo 'Access-Control-Allow-Origin' header is present on the requested resource.
index.php?debugbar:59

GET http
://localhost/curso-codeigniter4/index.php?debugbar_time=1588198772 net::ERR_FAILED 

If I comment the 'toolbar' line under $globals in Filters.php the error goes away. I think it may be related.

Any idea?
Recovering the wasted time...
Reply


Messages In This Thread
How can I turn the debug bar on? - by YanKleber - 04-24-2020, 03:06 PM
RE: How can I turn the debug bar on? - by Gary - 04-24-2020, 04:33 PM
RE: How can I turn the debug bar on? - by Gary - 04-24-2020, 04:47 PM
RE: How can I turn the debug bar on? - by Gary - 04-24-2020, 05:02 PM
RE: How can I turn the debug bar on? - by Gary - 04-24-2020, 05:13 PM
RE: How can I turn the debug bar on? - by YanKleber - 04-29-2020, 03:22 PM
RE: How can I turn the debug bar on? - by Gary - 04-29-2020, 05:36 PM
RE: How can I turn the debug bar on? - by easyD - 04-30-2020, 01:59 AM
RE: How can I turn the debug bar on? - by ben_ci - 03-09-2024, 01:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB