![]() |
Debugbar not showing up - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Debugbar not showing up (/showthread.php?tid=92726) |
Debugbar not showing up - Mrtemp - 04-08-2025 Hi, i got this porject from a collegue who quit and did not leave and documentaiton on the project i tried using the debugbar to understand the code better but its not showing up at all even when doing all the configuraiton required this is the configuration and some reponse in the network tab from the browser .htaccess Code: # Disable directory browsing PHP Code: app/config/Filters.php .env Code: CI_ENVIRONMENT = development RE: Debugbar not showing up - InsiteFX - 04-08-2025 Did you edit the env file to add the below and save it like env to .env ? Ok, I just found out that the DebugBar will not show up on Windows 11 unless the baseURL is also set in the .env file. Code: #-------------------------------------------------------------------- RE: Debugbar not showing up - Mrtemp - 04-09-2025 (04-08-2025, 10:38 PM)InsiteFX Wrote: Did you edit the env file to add the below and save it like env to .env ?yes i did that as you can see this is my .env file configuration Code: CI_ENVIRONMENT = development RE: Debugbar not showing up - InsiteFX - 04-10-2025 Did you try changing 27.0.0.1 to localhost ? Also the main GitHub CodeIgniter ToolBar was updated yesterday, try downloading that and see if it fixes your problem. RE: Debugbar not showing up - paulbalandan - 04-11-2025 Hey, can you confirm this is the value of app.baseURL app.baseURL = http://127.0.0.1/MDN3/ browser network tab 1/bootstrap.min.css 200 127.0.0.1 stylesheet 2/MDN3?debugbar_time=1744112539.451802 301 127.0.0.1 xhr / Redirect This looks wrong. RE: Debugbar not showing up - captain-sensible - 04-11-2025 Code: <Files .env> does the above in the code of .htaccess actually prevent .env being referenced ? RE: Debugbar not showing up - InsiteFX - 04-11-2025 There should be quotes around your base_url RE: Debugbar not showing up - captain-sensible - 04-12-2025 Also check in the head of views that there is nothing like : Code: <meta http-equiv="Content-Security-Policy" content=" default-src 'none'; form-action 'self'; frame-src 'self' ; ; font-src 'self' maxcdn.bootstrapcdn.com ; img-src 'self'; script-src 'self' http " /> Content Security Policy via meta in head can restrict images , js , style sheets from both local and remote sources if not tweked finely |