Page 1 of 1

Cannot open index.php in browser

Posted: Tue Nov 16, 2021 10:40 pm
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

Re: Cannot open index.php in browser

Posted: Wed Nov 17, 2021 7:11 am
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?

Re: Cannot open index.php in browser

Posted: Wed Nov 17, 2021 9:32 am
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

Re: Cannot open index.php in browser

Posted: Wed Nov 17, 2021 9:37 am
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"

Re: Cannot open index.php in browser

Posted: Wed Nov 17, 2021 9:56 am
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

Re: Cannot open index.php in browser

Posted: Wed Nov 17, 2021 9:59 am
by kev1n
Great :D