Copy link to clipboard
Copied
Hi. I just changed my website hosting company to Hostinger for my Dreamweaver CS3 website. Everything looked good with the transfer, but only my home page is accessible. All the other pages come up blank or with a "Oops, looks like the page is lost" message. The folks at Hostinger keep mentioning me needing to upload the "database". Any idea what that is and how to access it and upload it? Thank you, Ben
OK. We're finally making progress.
As suspected, your site uses PHP server-side includes. However, I see nothing in your code to indicate that a content management system is being used. In other words, no database driven content. So the problems stem from these 3 includes that are failing to populate in your contact page, possibly because they are 404 Not Found on Server.
<?php require_once('../includes/navJava.htm'); ?>
<?php require_once('../includes/header.htm'); ?>
<?php require_on
...Copy link to clipboard
Copied
Please supply a link to your site so that we can have a look at what sort of site it is.
Copy link to clipboard
Copied
benleinbachmusic.com
thank you!
ben
Copy link to clipboard
Copied
I don't know if this is relevant but the URL is redirecting to Old Bull Music on a non-secure HTTP server.
When I click on a link, all I see is a plain black background and no content.
http://www.oldbullmusic.com/contact/index.php
Also the source code is incomplete with only 6 lines of markup.
If this site uses server-side technologies like includes and databases, we can't see it for security reasons. Can you copy and paste the code from your contact page into a forum reply? See screenshot.
Copy link to clipboard
Copied
As Nancy has stated, the URL gets redirected to OLDBULLMUSIC.COM
Doing a search :
OLDBULLMUSIC.COM:
Name Server: NS1.HOSTINGER.COM
Name Server: NS2.HOSTINGER.COM
Name Server: NS3.HOSTINGER.COM
Name Server: NS4.HOSTINGER.COM
BENLEINBACHMUSIC.COM
Name Server: NS15.DOMAINCONTROL.COM
Name Server: NS16.DOMAINCONTROL.COM
As Nancy has suggested, it would help to see the code of one of your PHP pages.
Copy link to clipboard
Copied
http://www.oldbullmusic.com/contact/index.php
Also the source code is incomplete with only 6 lines of markup."
I'm not sure what this last line means.
And:
"If this site uses server-side technologies like includes and databases, we can't see it for security reasons. Can you copy and paste the code from your contact page into a forum reply? See screenshot."
What code would you like to see? And where do I get this code? The screenshot... on what website/page/document would I find this "Insert/Edit code sample" icon?
Thank you,
Ben
Copy link to clipboard
Copied
Copy link to clipboard
Copied
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Ben Leinbach Music - Production Composition Recording Mixing Performance - Contact Information for Ben Leinbach Music</title>
<link href="../media/css/ben-screen.css" rel="stylesheet" type="text/css" />
<?php require_once('../includes/navJava.htm'); ?>
<style type="text/css">
<!--
.style1 {
font-size: 0.9em
}
-->
</style>
</head>
<body onload="MM_preloadImages('../media/images/home/homeRoll-about.png','../media/images/home/homeRoll-disc.png','../media/images/home/homeRoll-yoga.png','../media/images/home/homeRoll-music.png','../media/images/home/homeRoll-studio.png','../media/images/home/homeRoll-news.png','../media/images/home/homeRoll-contact.png')">
<div id="wrapperHome">
<div id="headerHome">
<?php require_once('../includes/header.htm'); ?>
</div>
<div id="contentHome">
<p><a href="../about/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','../media/images/home/homeRoll-about.png',1)"><img src="../media/images/home/home-about.png" alt="About Ben Leinbach Music" name="about" width="180" height="32" border="0" id="about" /></a><a href="../discography/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('discography','','../media/images/home/homeRoll-disc.png',1)"><img src="../media/images/home/home-disc.png" alt="Ben Leinbach Music Discography" name="discography" width="180" height="32" border="0" id="discography" /></a><a href="../musicshop/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('music','','../media/images/home/homeRoll-music.png',1)"><img src="../media/images/home/home-music.png" alt="Ben Leinbach Music Shop" name="music" width="180" height="32" border="0" id="music" /></a><a href="../studio/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('studio','','../media/images/home/homeRoll-studio.png',1)"><img src="../media/images/home/home-studio.png" alt="Ben Leinbach Music Studio" name="studio" width="180" height="32" border="0" id="studio" /></a><a href="../news/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('news','','../media/images/home/homeRoll-news.png',1)"><img src="../media/images/home/home-news.png" alt="Ben Leinbach Music News" name="news" width="180" height="32" border="0" id="news" /></a><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact','','../media/images/home/homeRoll-contact.png',1)"><img src="../media/images/home/home-contact.png" alt="Contact Ben Leinbach Music" name="contact" width="180" height="32" border="0" id="contact" /></a><a href="../index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('yoga','','../media/images/home/contactRoll-home.png',1)"><img src="../media/images/home/contact-home.png" alt="Ben Leinbach Music Home" name="yoga" width="180" height="32" border="0" id="yoga" /></a></p>
<p> </p>
<h1 class="style1">CONTACTING BEN LEINBACH</h1>
<p>Ben lives and works in San Anselmo, CA in Marin County, just north of San Francisco.</p>
<p>e . <a href="mailto:benleinbach@comcast.net">benleinbachmusic@gmail.com</a></p>
<p>p . (415) 794-2201</p>
</div>
<div id="footer">
<?php require_once('../includes/footer.htm'); ?>
</div>
</div>
</body>
</html>
Copy link to clipboard
Copied
Hi Nancy. So you'd like to see all the HTML code from one of my pages? I uploaded the code from contact/index.php a minute ago. Thank you!
Copy link to clipboard
Copied
OK. We're finally making progress.
As suspected, your site uses PHP server-side includes. However, I see nothing in your code to indicate that a content management system is being used. In other words, no database driven content. So the problems stem from these 3 includes that are failing to populate in your contact page, possibly because they are 404 Not Found on Server.
<?php require_once('../includes/navJava.htm'); ?>
<?php require_once('../includes/header.htm'); ?>
<?php require_once('../includes/footer.htm'); ?>
Copy link to clipboard
Copied
Nancy, you are a genius!!! Thank you so much. Yes. For some reason a bunch of files didn't get uploaded through the FTP server. I'm good to go. Thanks again. Ben
Copy link to clipboard
Copied
Your home page has some code errors, although nothing so critical that it prevents content from loading. See details below.
https://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.oldbullmusic.com%2F
It's reasonable to assume your other site pages contain code errors, too.
To be sure, run a validation on each page and fix reported errors.
Copy link to clipboard
Copied
Actually things are worse than I realized. Your sub-pages are throwing a 500 Internal Server Error.
Copy link to clipboard
Copied
Ben, I am now convinced that you have a so-called Content Management System (CMS) for your site, where the content for your pages are contained in a database. There is a Contant Management Application (CMA) that you use to administer the content of the pages. Without the database, there is no content. Hence the suggestion from Hostinger to upload the database.
First you will need an SQL dump of the existing database (in your old host), then you need to create a database on Hostinger and populate the database using the SQL dump.
If all of that is not clear to you, then you are out of your depth and there is nothing that we can help you with. After all, this is not a Dreamweaver related issue.