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

(04-29-2020, 05:36 PM)Gary Wrote: I'd suggest starting to look in App.php - there is a $baseURL variable spec'd there... and to get it working, perhaps checking $CSPEnabled=false is set (which I think is probably the default) - the idea is you want to have those two paths (in your cut&paste) the same (first prize), OR the CORS policy to be relaxed (as a temporary measure so you can work with the code).

Gary, you absolutely nailed it. Believe it or not the problem was fixed in my very first attempt!

I opened the app.php file and went directly to $baseURL. There I realized that it was configured to point to 'http://localhost/curso-codeigniter4/'. The problem is that I already had configured before my local server (XAMPP) to a virtual host called 'http://curso-ci4/'.

Long story short, as soon I changed $baseURL to point to the virtual host it worked instantly in the very first F5 stroke.

Now I have the small flame at the bottom right bar of my screen and all the odd errors in console has vanished! Big Grin 

Thanks for the detailed instructions!

Cool
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 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 YanKleber - 04-30-2020, 04:23 PM
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