Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's blank page and set $baseURL #999

Closed
BI7PRK opened this issue Apr 25, 2018 · 1 comment
Closed

It's blank page and set $baseURL #999

BI7PRK opened this issue Apr 25, 2018 · 1 comment

Comments

@BI7PRK
Copy link

BI7PRK commented Apr 25, 2018

After installation, open http://127.0.0.1 Its blank page.

modify ./public/index.php the code:

try {  
    $app = require rtrim($paths->systemDirectory,DIRECTORY_SEPARATOR) . '/bootstrap.php';
} catch (Exception $e) {  
    print $e->getMessage();  
    exit();  
}  

can see the message:

You have an empty or invalid base URL. The baseURL value must be set in Config\App.php, or through the .env file.

then set $baseURL in ./config/App.php

public $baseURL = 'http://127.0.0.1'; //must start with http/https.

it's well. but how to use both http and https on site?

@lonnieezell
Copy link
Member

Please ask questions on the forum. The issues are for bug-tracking.

However, this might be of assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants