Page 2 of 2

Re: Blank page after install

Posted: Tue Nov 27, 2018 11:16 am
by brandalley
additional info:

if i try to acces

http://192.168.0.213/nuBuilder4/
i get
Parse error: syntax error, unexpected '[' in /volume1/web/nuBuilder4/index.php on line 16

my index look s like:
<!DOCTYPE html>
<html onclick="nuClick(event)">

<head>
<title>nuBuilder 4</title>
<meta http-equiv='Content-type' content='text/html;charset=UTF-8'>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>


<?php


function nuImportNewDB($nuDB){

$r = $nuDB->query("SHOW TABLES");
$t = $r->fetch(PDO::FETCH_NUM)[0];

if($t != ''){return;}

$file = realpath(dirname(__FILE__))."/nubuilder4.sql";
@$handle = fopen($file, "r");
$temp = "";