Skip to content

Variable DOCUMENT_ROOT not set (newbie in php) #55

@jibe-b

Description

@jibe-b

The install script fails due to a variable not set: DOCUMENT_ROOT

In install.php, line 7

require_once($_SERVER['DOCUMENT_ROOT'] . '/config/config.php');

DOCUMENT_ROOT is not set, resulting in:

PHP Warning: require_once(/config/config.php): failed to open stream: No such file or directory in /home/u/alidade/install.php on line 7

where the root is not the directory where the local git repo it.

I am new to php, may I ask for your help on this?

Metadata

Metadata

Assignees

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