Skip to content

It's blank page and set $baseURL #999

Description

@BI7PRK

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions