Forum

Thread tagged as: Problem, Installation

Getting blank page on live server

When viewing a test default page on live server, the only code generated is:

<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>

Any ideas? Runs fine on local sever.

Tony Astley

Tony Astley 0 points

  • 4 years ago

Answered own question. Not a Perch problem.

Subdomain on live server wasn't behaving as expected, DOCUMENT_ROOT is being returned as the main www directory, even from the preview.subdomain.

$_SERVER['DOCUMENT_ROOT']