Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Blank page after install

Questions related to installing, updating, setting up and configuring
brandalley
Posts: 7
Joined: Sat Nov 17, 2018 5:21 pm

Re: Blank page after install

Unread post 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 = "";
Locked