...

View Full Version : Page loading half way - Please Help



dreamliner
01-30-2010, 10:37 AM
Hello Guys,

I am very new to PHP coding and would really need someone to help me with this problem since I am becoming quite desperate now. Anyway, I have moved servers for my website (aviafilms.com) and after uploading a test page to the new server, I noticed that the page only loads the headers and the main menu and not the complete thing. If you click here then you know what I mean: http://www.aviafilms.com/737classic.php

When clicking the source code I can only see the beginning parts and not the whole page, while the uploaded file has lots more in it. Below is the source for the file I upload:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<title>The Boeing 737 Classic cockpit video + AN-2 Colt & 737 Simulator</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Welcome on board the Boeing 737 Classic for a return flight in the skies of Italy, featured in the 40 minutes of this cockpit video!" />
<meta name="keywords" content="AviaFilms, Boeing 737, Boeing 737 classic,737-300, aircraft videos, cockpit videos, aviation videos, Boeing, boeing cockpit, Airplane, 737 video, aircraft cockpit videos, an-2 colt" />

<!-- **** layout stylesheet **** -->
<link rel="stylesheet" type="text/css" href="../style/style.css" />

<!-- **** colour scheme stylesheet **** -->
<link rel="stylesheet" type="text/css" href="../style/colour.css" />

<style>
<!--
.style3 {color: #FFFFFF}
.style20 {font-size: 10px}
-->
</style>

<base target="_self">

</head>

<body>
<div id="main">
<div id="links">
<p style="text-align: center">
<!-- **** INSERT LINKS HERE **** -->
<?php include 'top_links.php'; ?> </div>
<div id="logo"><h1>&nbsp;</h1></div>
<div id="content">
<div id="menu">
<ul>
<?php include 'fix_menu_links.php'; ?>
</ul>
</div>
<div id="column1">
<div class="sidebaritem">
<div class="sbihead">
<p><b>latest news &amp; info</b></p>
</div>
<div class="sbicontent">
<?php include 'http://aviafilms.com/sidebar_news.php'; ?>
</div>
<?php include 'http://aviafilms.com/google_ads.php'; ?>
</div>
<div class="sidebaritem">
<div class="sbihead">
<p><b>useful links</b></p>
</div>
<div class="sbilinks">
<?php include 'http://aviafilms.com/sidebar_info.php'; ?>
</div>
</div>
</div>
<div id="column2" style="width: 512; height: 985">
<h1 style="text-align: center"><b>THE Boeing 737 classic cockpit video</b></h1>
<!-- **** INSERT PAGE CONTENT HERE **** -->
<p class="content" style="text-align: center">
<img border="0" src="http://www.aviafilms.com/737classic/prevlog.JPG" width="515" height="126"></p>
<p class="content">Here is your opportunity to join us for a flight on the
<b>Boeing 737-300!</b> This 40 minute long cockpit video features a
complete return flight filmed from the flight deck of this classical aircraft. We have
done our very best to show you the most interesting moments of operating
the 737, ranging from external overviews to complex operational cockpit procedures.</p>
<p style="text-align: center">
<b>Click Play to see a demo of the 737 Classic video<span lang="et">: </span>
</b></p>
<p class="content" style="text-align: center"><span class="style3"><em style="font-style: normal">
<strong style="font-weight: 400"><font color="#808080"><object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/nGLTXEp0yuc&hl=en&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/nGLTXEp0yuc&hl=en&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></font></strong></em></span><p><b><font color="#484E56"><u>General description of
the video content:</u></font></b><p class="content">
<font color="#484E56">The video begins with a general overview of the
Boeing 737 from the external side. We take a quick look at the engines,
wings, tail and landing gear. Afterwards we head straight to the
cockpit and witness how the pilots test and prepare the flight equipment
for our journey. After all the preparations are complete, we start the
engines and taxi for takeoff from Rome Fiumicino International Airport.
The subsequent takeoff and initial departure goes as planned and after a
very short cruise we descend to land at our destination airfield. The
pilots execute a magnificent <span lang="et">&quot;text-book&quot; </span>landing<span lang="et">
and we taxi in for engine shutdown and leave our crew for a moment to
let them prepare for the return journey home. In the meantime however,
we will show you the final moments of a landing in the Boeing 737EFIS,
again filmed in midnight darkness. This will give you a couple of
minutes to rest from the analogue instrument cockpit. When we return to
the classic you will once again get a chance to see the most interesting
moments of a scheduled airline flight on our return trip to Rome.</span></font><p class="content">
<span lang="et"><font color="#484E56">To make the video more exciting we
have added some extra features to the film, for example:</font></span><p class="content">
<b><span lang="et"><font color="#484E56">1. Some very basic explanations
as to what is going on:</font></span></b><p class="content" style="text-align: center">
<img border="0" src="http://www.aviafilms.com/737classic/flight%20mode%20selector.JPG" width="400" height="240"><p class="content" style="text-align: left">
<b><span lang="et">2. Imaginable daytime wing views shown simultaneously
during TO and LDG on our return flight:</span></b><p class="content" style="text-align: center">
<img border="0" src="http://www.aviafilms.com/737classic/landing%20wing%20view.JPG" width="400" height="245"><p style="line-height: 100%; text-align: center">
----------------------------------------------</p>
<p style="line-height: 100%; text-align: center"><span lang="et"><font color="#1775D5"><b>Below are</b></font></span><font color="#1775D5"><b>
some preview pictures from the<span lang="et"> </span>B737 Classic video<span lang="et">:</span></b></font></p>
<p class="content" style="text-align: center">
<img border="0" src="http://www.aviafilms.com/737classic/classicpics.JPG" width="500" height="840"></p>
<p style="line-height: 100%; text-align: center"><b><font color="#1775D5"><u>
Main <span lang="et">Video
Specifications:</span></u></font></b></p>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">
Running Time: 39 Minutes</span></h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">Aspect
Ratio: 16:9</span></h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">
Format: WMV</span></h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">Size:&nbsp;
</span>69<span lang="et">5 Mb</span></h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">
Compression: Windows Media Codec</span></h2>
<p style="LINE-HEIGHT: 150%; TEXT-ALIGN: center">(Windows Media Player
automatically downloads the necessary codec's if an internet connection
is available)</p>
<h1 style="text-align: center"><b><span lang="et">But thats not all !!!</span></b></h1>
<p class="content">In addition to the <span lang="et">Boeing 737 Classic
movie</span>, we have added <span lang="et">an extra film, where we fly
a <b>B737 Full Motion </span>S<span lang="et">imulator</span></b><span lang="et"><span lang="et"> from Salzburg International Airport.</span></span>
The flight will consist of one standard circuit performed manually by
the captain. We will take off, immediately turn left to avoid the
mountains an after a few more maneuvers, land back on RW16.</p>
<p class="content">And to spice things up, in the very end of the bonus
video, we have added some short scenes which were recorded many years
ago on an <b>Antonov AN-2 Colt!</b> You will see 1 takeoff and 3 landings
filmed by a camera mounted on the glareshield of this rugged aircraft
(there will be no cockpit instrumentation visible during the scenes,
simply because we wanted to show you the great outside views).</p>
<p class="content" style="text-align: center"><span lang="et"><font color="#1775D5"><b>Below are</b></font></span><font color="#1775D5"><b>
some preview pictures from the Boeing 737 Simulator<span lang="et"> and </span>
AN-2 bonus videos<span lang="et">:</span></b></font></p>
<p class="content" style="text-align: center; line-height: 100%">
<img border="0" src="http://www.aviafilms.com/737classic/bonuspics.JPG" width="500" height="420"></p>
<p style="line-height: 100%; text-align: center"><b><u>
<font color="#1775D5">Bonus</font></u><font color="#1775D5"><u> <span lang="et">Video
Specifications:</span></u></font></b></p>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">
Running Time: </span>10<span lang="et">
Minutes</span></h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">Aspect
Ratio</span>s<span lang="et"><i> </i> </span></h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center">Boeing Simulator - <span lang="et">16:9</span></h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center">Antonov AN-2 Colt - 4:3</h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">
Format: WMV</span></h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">Size:&nbsp;
</span>169<span lang="et"> Mb</span></h2>
<h2 style="LINE-HEIGHT: 100%; TEXT-ALIGN: center"><span lang="et">
Compression: Windows Media Codec</span></h2>
<p style="LINE-HEIGHT: 150%; TEXT-ALIGN: center">(Windows Media Player
automatically downloads the necessary codec's if an internet connection
is available)</p>
<p style="text-align: center; line-height: 150%"><b>Your computer must
meet these minimum specifications to ensure a proper video playback<span lang="et">:</span></b></p>
<p style="text-align: center; line-height: 100%;"><span lang="et">
Processor</span> <span lang="et">(at least):</span> <span lang="et">
1GHz.</span></p>
<p style="text-align: center; line-height: 100%;"><span lang="et">RAM</span>
<span lang="et">(at least): 512 MB</span></p>
<p style="text-align: center; line-height: 100%;"><span lang="et">Screen
resolution</span> <span lang="et">(at least): 1024 x 768</span></p>
<h1 style="text-align: center; line-height: 100%">
<b>Interested<span lang="et">?!</span></b></h1>
<p style="text-align: center; line-height: 100%; margin-top:0; margin-bottom:0">
<a href="http://www.aviafilms.com/737classiccheckout.php">
<img border="0" src="http://www.aviafilms.com/ORDER.BMP" width="205" height="32"></a></p>
<p style="text-align: center; line-height: 100%; margin-top:0; margin-bottom:0">
<b><a href="http://www.aviafilms.com/737classiccheckout.php">
<font color="#F73F17">Proceed to checkout and order the B737 video + the
free bonus!</font></a></b></div>
</div>
<div id="footer">
<?php include 'footer_links.php'; ?>
</div>
</div>
</body>
</html>


Could someone PLEEEEASE help me out with this. I am a real noob in PHP so have no idea what I am doing wrong. The page files worked fine on the old server. I also contacted the new server administrator and then say that everything is working fine from their side and that PHP is enabled.

Thank you very much in advance!

John.

Dormilich
01-30-2010, 10:44 AM
I guess there’s an exit in sidebar_news.php.

dreamliner
01-30-2010, 10:52 AM
Here is the content for Sidebar_News:


<!-- **** INSERT NEWS ITEMS HERE **** -->
<p style="LINE-HEIGHT: 150%; TEXT-ALIGN: center">
<img border="0" src="/adi.JPG"></p>
<p>
<b>
<span lang="en-us">
<font color="#5BB1FF" face="Verdana" style="font-size: 8pt; ">
<a href="http://www.aviafilms.com/737-cockpit-simulator.php"><font color="#5BB1FF">New Cockpit Video</font></a></font></span></b></p>
<p>
<font face="Verdana"><span style="font-size: 8pt">Our new Boeing 737 vs. Simulator video has been released.
</span></font></p>
<p style="margin-bottom:-2px"> </p>
<p>
<b>
<span lang="en-us">
<font face="Verdana" style="font-size: 8pt; " color="#5BB1FF">
<a href="http://www.aviafilms.com/photos.php">
<font color="#5BB1FF">New Airplane Pictures</font></a></font></span></b></p>
<p>
<font style="font-size: 8pt" face="Verdana">Our special Airplane Pictures photo page is now online.</font></p>

Dormilich
01-30-2010, 10:57 AM
there’s no PHP in that file?

dreamliner
01-30-2010, 10:59 AM
Thats all it has/had...and it worked fine on the old server :confused: is there anything massively wrong with it? :(

Dormilich
01-30-2010, 11:03 AM
I don’t see anything. you could try relative file names in the include.

dreamliner
01-30-2010, 11:05 AM
I'm sorry but what do you mean by that...should I type in the www.aviafilms.com/sidebar_news.php instead of what it is now?

Dormilich
01-30-2010, 11:07 AM
you know what a relative file name is?

dreamliner
01-30-2010, 11:07 AM
oh, I actually removed the http://www stuff and it's now loading up! I am so relived.... thank you so much Sir!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum