Web pages not finding data on server but do so on development PC
My web site access data OK on my localserver, but once I upload to my online server, it can't find it. It is there because I can access it via my ISPs software.
The error I get is - The website encountered an error while retrieving http://bega.org.uk/gateway/graveyard/public/data/view_graves_date.php. It may be down for maintenance or configured incorrectly.
Through trial and error I have found (I think) that the problem is the code on my web page
<?php require_once('../../../../Connections/Graveyard.php'); ?>
<?php require_once('../../../../webassist/mysqli/rsobj.php'); ?>
<?php
$rsGraveyard = new WA_MySQLi_RS("rsGraveyard",$Graveyard,0);
$rsGraveyard->setQuery("SELECT * FROM gravestones ORDER BY grave_funeral_yyyy DESC");
$rsGraveyard->execute();
?>
<!doctype html>
<html>
<head>
Again by a process of trial and error I believe the Connections file graveyard.php has an error in the path or there is a case issue between graveyard.php and Graveyard.php.
The Connections file is
<?php
# FileName="WADYN_MYSQLI_CONN.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_Graveyard = "localhost";
$database_Graveyard = "graveyard";
$username_Graveyard = "*******";
$password_Graveyard = "************";
@session_start();
$Graveyard = new mysqli($hostname_Graveyard, $username_Graveyard, $password_Graveyard, $database_Graveyard);
?>
Thanks for your help.