FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 9th, 2008, 11:55 AM
Dahwan Dahwan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 5 Dahwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 26 m 52 sec
Reputation Power: 0
My page shows up blank O.o

my page (www.dahwan.info) suddenly shows up blank, which i DO NOT UNDERSTAND.

index.php
Code:
<?php include("header.php") ?>

	<div class="wrap">
		<div class="col">
			<h3>Monday 4th - March 2008<span class="red"><br>Site creation!</span></h3>
			<p>This is the day on which Dahwan.info was created! And allready pasting code to my page is a pain in the ***, so my current project is a program that adds html tags around the sourcecode. So all i have to do is run my file <br />(ex. MyProg.cs) through my program, and all the html tags for syntax highlighting and linebreaks will be added.
			The program will, as all other programs, be downloadable with source codes.
			</p>
		</div>
	</div>

<?php include("footer.html") ?>


header.php
Code:
<?php 
	include("phpFunctions.php")
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />

	<title>Dahwan.info</title>

	<meta name="description" content="Dahwan.info - The home page of programmer Tomas Sandven. Open source programs and tutorials." />

	<meta name="keywords" content="dahwan.info, dahwan, programming, cs, c#, c, sharp, ++, c++, tutorials, open, source, program, programs" />

	<link href="css/main.css" rel="stylesheet" type="text/css" />

</head>

<body>

<div id="header">

	<h1><a href="#">Dahwan</a></h1>

	<ul id="menu">

		<li><a href="index.php">Home</a></li>

		<li><a href="tutorials.php">Tutorials</a></li>

		<li><a href="aboutme.php">About me</a></li>

		<li><a href="contact.php">Contact</a></li>

	</ul>

</div>



<div id="teaser">

	<div class="wrap">

		<div id="image"></div>

		<div class="box">

			<h2>Welcome to <em>Dahwan programs</em></h2>

				<p>

				    Home page of programmer Tomas Sandven.<br />

					I have about a year of experience programming C#, and a couple of months programming C++. I use C# to write windows programs, and I'm learning to program OpenGL and Direct3D using C++.<br/>

					You can contact me by clicking the link at the bottom of the page. <br />

					Cheers!

				</p>

			</div>

	</div>

</div>



<div id="bar">

	<div class="wrap">

		<span class="step"><a>1</a> Idea</span>

		<span class="step"><a>2</a> Design</span>

		<span class="step"><a>3</a> Code</span>

	</div>

</div>


footer.html
Code:
<div id="footer">
		<p>© Copyright 2008 <a title="Send an e-mail to Tomas Sandven" href="mailto:tomas191191@hotmail.com">Tomas Sandven</a> · All Rights Reserved</p>
	</div>
</body>
</html>


Why does my page show up pure blank white?

Reply With Quote
  #2  
Old March 9th, 2008, 02:17 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 2,790 hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 4 Days 2 h 3 m
Reputation Power: 1207
Welcome to Dev Shed.

Does the page show up blank because of uploading? In other words, does it work fine until it's been uploaded somewhere?

If not, I'll have a mod move this to the appropriate forum.

Edit: Does the host you have this on support php?

Last edited by hiker : March 9th, 2008 at 02:24 PM.

Reply With Quote
  #3  
Old March 9th, 2008, 04:51 PM
Dahwan Dahwan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 5 Dahwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 26 m 52 sec
Reputation Power: 0
My host supports PHP, and i've already used it for a while. I am convinced it has something to do with the code.
In the design view of dreamweaver the site works wonderfully. I upload the entire chabang to my server, and the site is white. The same thing happens on my local server.

Reply With Quote
  #4  
Old March 9th, 2008, 05:17 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 2,790 hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 4 Days 2 h 3 m
Reputation Power: 1207
Quote:
Originally Posted by Dahwan
My host supports PHP, and i've already used it for a while. I am convinced it has something to do with the code.
In the desig view of dreamweaver the site works wonderfully. I upload the entire chabang to my server, and the site is white. The same thing happens on my local server.


How are you uploading the file to the servers? Through dreamweaver or an actual FTP client?

Check the file sizes of the files on the server. If they are listed as 0 bytes, then they aren't being uploaded (properly)...

Reply With Quote
  #5  
Old March 9th, 2008, 05:37 PM
Dahwan Dahwan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 5 Dahwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 26 m 52 sec
Reputation Power: 0
It IS getting uploaded just fine. I syncronize using dreamweaver and then check for the files using ftp with windows explorer - typing
ftp://dahwan:*****@dahwan.110mb.com
The files ARE on the server, but they are all white. My site is also blank when accessed in localhost, so it IS the code, but i cant figure out why.

Can anybody spot anything in the code that would cause it NOT to be shown? Oo

Reply With Quote
  #6  
Old March 9th, 2008, 06:34 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 2,790 hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 4 Days 2 h 3 m
Reputation Power: 1207
Quote:
Originally Posted by Dahwan
It IS getting uploaded just fine. I syncronize using dreamweaver and then check for the files using ftp with windows explorer - typing
ftp://dahwan:*****@dahwan.110mb.com
The files ARE on the server, but they are all white. My site is also blank when accessed in localhost, so it IS the code, but i cant figure out why.

Can anybody spot anything in the code that would cause it NOT to be shown? Oo


You seem to know what the problem is, so I can let you keep trying to adjust the code if you want. However, the code looks fine from what I see... paste the CSS file if you'd like. But keep in mind that if you go to your domain/index.php and view the source, there is NOTHING there. Do you know what this indicates? That the file is blank. Did you check the file sizes? Are you uploading the right files?

But, if you'd rather insist on it being the code that is messed up, then I'll have a mod move this to the CSS forum. But as of right now, there is no indication that's the problem.

Reply With Quote
  #7  
Old March 10th, 2008, 02:46 AM
Dahwan Dahwan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 5 Dahwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 26 m 52 sec
Reputation Power: 0
Of course the code is the problem! I've checked all the files directly on the server (110bmb.com) And they are just the same as the local files. Ergo; the files are uploaded perfectly successfully. But obviously the php code screws up the page when executed, so all i need is some help on what the h*ck is wrong with my php code =(

Reply With Quote
  #8  
Old March 10th, 2008, 02:59 AM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 2,790 hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)hiker User rank is General 4th Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 4 Days 2 h 3 m
Reputation Power: 1207
Quote:
Originally Posted by Dahwan
Of course the code is the problem! I've checked all the files directly on the server (110bmb.com) And they are just the same as the local files. Ergo; the files are uploaded perfectly successfully. But obviously the php code screws up the page when executed, so all i need is some help on what the h*ck is wrong with my php code =(


I've asked a mod to move this to the CSS forum since you insist on the code being the problem.

Reply With Quote
  #9  
Old March 10th, 2008, 04:19 AM
Dahwan Dahwan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 5 Dahwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 26 m 52 sec
Reputation Power: 0
It's PHP code, not CSS code...?

Reply With Quote
  #10  
Old March 10th, 2008, 02:15 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,282 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 16 m 26 sec
Reputation Power: 744
I suspect that you have display_errors off and that there's an error with your PHP somewhere, probably in the phpFunctions.php file that you didn't show us

You could easily test this by commenting out all of the includes to see if the page loads fine without PHP and then enable one at a time to determine which is the cause.

BTW, this is why you use Zend Studio instead of Dreamweaver.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > My page shows up blank O.o


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |