Welcome Guest, Not a member yet? Register   Sign In
Debug toolbar shown on spark but not virtualhost
#1

(This post was last modified: 05-02-2020, 01:25 PM by kabeza.)

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




Theme © iAndrew 2016 - Forum software by © MyBB