Welcome to the nuBuilder forums!

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

Cannot open index.php in browser

Questions related to installing, updating, setting up and configuring
Post Reply
Marvo
Posts: 12
Joined: Mon Nov 15, 2021 11:11 pm
nuBuilder Version: 4.5

Cannot open index.php in browser

Unread post by Marvo »

Hi all
***NEWBIE ALERT*** apologies in advance for all the stupid questions

I'm new to nuBuilder, and web servers, and DBs and everything else!

I had a web hosting company set up a site for me with a mySQL db
database name:cawsxg870
host: mysql10.iomart.com

It is managed with phpMyAdmin:
MySQL
Server: mysql10 (10.6.1.21 via TCP/IP)
Server version: 5.6.50-90.0
Protocol version: 10
User: cawsxg870@10.1.4.11
MySQL charset: UTF-8 Unicode (utf8)

Web server
Apache/2.2.3 (CentOS)
MySQL client version: 5.5.51
PHP extension: mysqli

OK - to the problem - I have used Filezilla FTP to upload the nuBuilder files to the site: mysitename/nubuilder
I have edited the nuconfig.php file:
// Database Settings:
$nuConfigDBHost = "mysql10.iomart.com"; //-- Database Host / IP. You may try localhost if 127.0.0.1 does not work.
$nuConfigDBName = "cawsxg870"; //-- Database Name. You can change the name, if desired. The database must exist or must be created on your server.
$nuConfigDBUser = "cawsxg870"; //-- Database User. Change the user, if desired. The user must exist or must be created.
$nuConfigDBPassword = "xxxxxxxx"; //-- Database Password. We recommend you to use any strong password.
//-- The default username for a new MySQL installation is root, with a blank password.

$nuConfigDBEngine = "InnoDB"; //-- InnoDB or MyISAM
$nuConfigDBCollate = "utf8mb4_unicode_ci"; //-- Or utf8_general_ci etc.
$nuConfigDBCharacterSet = "utf8mb4"; //-- Or utf8 etc.


When I open a browser and go to site http://www.mysitename/nubuilder/index.php

It doesn't work. I get page as if the site does not exist.
Just fyi - I put a sample index.html file in the www folder - and yes, I could view it. So I know the site is operational but does not seem to want to access/run this index.php file

Any help is greatly appreciated
Matt
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Cannot open index.php in browser

Unread post by kev1n »

Hi,

Code: Select all

It doesn't work. I get page as if the site does not exist.
Is there an error message or what exactly do you see? Did you check the apache error logs?
Marvo
Posts: 12
Joined: Mon Nov 15, 2021 11:11 pm
nuBuilder Version: 4.5

Re: Cannot open index.php in browser

Unread post by Marvo »

Hi

as an example, take a look at http://www.marvo.co.uk

This is another domain name I own with the same web hosting company, but have not set up a website for. I get this exact same page when I try to open my nuBuilder page.

As for Apache logs. - I have no idea what that is, sorry. I have an idea of what they are, but wouldn't know where to look or what to look for.

thanks
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Cannot open index.php in browser

Unread post by kev1n »

The Apache error log is where information is recorded about any errors or anomalies it encounters.


Google for "where to find apache error logs"
Marvo
Posts: 12
Joined: Mon Nov 15, 2021 11:11 pm
nuBuilder Version: 4.5

Re: Cannot open index.php in browser

Unread post by Marvo »

RESOLVED!

I contacted the web hosting company.
They confirmed that all the nuBuilder files needed to be in the www directory (not in a /nubuilder folder)

Thanks for help
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Cannot open index.php in browser

Unread post by kev1n »

Great :D
Post Reply