Welcome Guest, Not a member yet? Register   Sign In
debug toolbar not showing in xampp
#1

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.
Reply
#2

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/';
Reply
#3

thx. will try.
Reply
#4

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
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB