Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only 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