CodeIgniter Forums
debug toolbar not showing in xampp - 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: debug toolbar not showing in xampp (/showthread.php?tid=76546)



debug toolbar not showing in xampp - nmaa3003 - 05-23-2020

Hi,

i just started play around ci4 since currently im using ci3 for live server.

But i notice that after i start my ci4 via xampp, the debug toolbar not showing.

however, it works fine if i start the server via spark serve.

anyone having this problem?

anything i need to configure to make it available on xampp server?

im using posgresql as well.


RE: debug toolbar not showing in xampp - vitnibel - 05-24-2020

For the debugging panel to work properly, it’s enough to correctly specify the $baseURL in the file app/Config/App.php in accordance with the Apache config.

As example:

httpd-vhosts.conf
<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs/ci4example/public"
    ServerName ci4.domain.com
</VirtualHost>

app/Config/App.conf
public $baseURL = 'http://ci4.domain.com/';


RE: debug toolbar not showing in xampp - nmaa3003 - 05-24-2020

thx. will try.


RE: debug toolbar not showing in xampp - InsiteFX - 05-24-2020

edit the env file in the root with index.php an add this line below # CI_ENVIRONMENT = production
add this line: CI_ENVIRONMENT = development

When finished save the file and then rename it to .env