• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Debug toolbar shown on spark but not virtualhost

#1
Hi
I've begun trying CI4 and noticed the .env file, CI_ENVIRONMENT etc.
I've set it to development

Then I started
php spark serve

Entered http://localhost:8080 and saw the flame toolbar at bottom.

Besides that, I've Apache with a new virtualhost configured at same folder, but when loading
http://ci4
the flame toolbar is not shown... Dodgy

Thanks a lot in advance

Solved!

As I've installed ci4 using composer, the Config/App.php was set with url http://localhost:8080
When browsing http://ci4/ I was getting CORS, etc.

Set the public
Code:
$baseURL = 'http://ci4/';
and now all Ok  Cool
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.