LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2013, 11:49 PM   #1
sumdrunkguy
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
Blank webpages after server upgrade


Hello everyone,

I recently upgraded my server from

Plesk Control Panel version psa v8.6.0_build86080930.08 os_CentOS 4.2
Operating system Linux 2.6.9-023stab043.1-smp
php 5.2.9-1

to

OS CentOS 6.3 (Final)
Panel version 11.0.9 Update #35
PHP 5.3.3

After the upgrade a few of my sites are serving blank pages. An example of the page is shown below.

Code:
<?php
require_once('init.php');
$loadClass = SB_Modules::loadClass('Modules_Login');
$loginObject = new Modules_Login('vp0h4792b5g');
$loginObject->init();
$loginObject->processAction();
$loadClass = SB_Modules::loadClass('Modules_Statistics');
$statisticsObject = new Modules_Statistics('joydy496y3n');
$statisticsObject->init();
$statisticsObject->processAction();
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Teas and Wellness Centre - Home</title><meta name="DESCRIPTION" content=""><meta name="KEYWORDS" content="Teas, Wellness, Health, Green Tea, "><meta name="GENERATOR" content="Parallels Plesk Sitebuilder 4.5.0"><link href="css/styles.css?template=av-243&colorScheme=red&header=&button=buttons1" rel="stylesheet" type="text/css"></head><BODY TOPMARGIN="52" RIGHTMARGIN="0" BOTTOMMARGIN="0" LEFTMARGIN="0" style="background-image: url(images/bg1.gif?template=av-243&colorScheme=red&header=&button=buttons1);"><table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="background:url(blue/images/bg2.gif?template=av-243&colorScheme=red&header=&button=buttons1) repeat-x;"><tr><td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(images/bg2.jpg?template=av-243&colorScheme=red&header=&button=buttons1);background-repeat: repeat-x;background-position: left top;"><tr><td height="5"></td><td width="780" rowspan="2" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td height="5" align="left" valign="top"></td></tr><tr><td height="66" align="left" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="16" align="left" valign="top"><img src="images/bg_tmenu3.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="16" height="66"></td><td align="left" valign="middle" background="images/bg_tmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1"><table align="center" cellpadding="0" cellspacing="0"><tr><td style="padding-left:10px; padding-right:10px;" class="menua"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page29.php" class="menua">Home</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page1.php" class="menu">Teas and Wellness Centre</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page31.php" class="menu">Dragons Lair Teas</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page6.php" class="menu">Reading Room</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page7.php" class="menu">Wellness Room</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page39.php" class="menu"><?php
echo $loginObject->getMainMenuTitle('Customer Login');
?></a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page34.php" class="menu">Ready to Shop</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page30.php" class="menu">News &amp; Events</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page3.php" class="menu">Dragons Lair Unplugged</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page2.php" class="menu">Contact Us</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page5.php" class="menu">Customer Reviews</a></div></td><td><img src="images/line_top.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td><td style="padding-left:10px; padding-right:10px;" class="menu"><div align="center"><img src="images/bullet.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="9" height="9"><br><a href="page8.php" class="menu">Wholesale</a></div></td></tr></table></td><td width="14" align="right" valign="top"><img src="images/bg_tmenu2.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="14" height="66"></td></tr></table></td></tr><tr><td align="left" valign="top"><table width="100%" height="207" border="0" align="center" cellpadding="0" cellspacing="0" background="images/header_bg.jpg?template=av-243&colorScheme=red&header=&button=buttons1"><tr><td class="line1"><img src="images/space.gif?template=av-243&colorScheme=red&header=&button=buttons1"></td></tr><tr><td align="right" valign="middle" style="background-image: url(images/header.jpg?template=av-243&colorScheme=red&header=&button=buttons1);background-repeat: no-repeat;background-position: right top;"><table width="350" align="left" cellpadding="0" cellspacing="0" style="padding-top:10px;"><tr><td align="center"><a href="./"><img src="images/logo/b23f82b87858dcd793706048601e1712.gif?template=av-243&colorScheme=red&header=&button=buttons1" border="0" alt=""></a></td></tr><tr><td align="center" class="company" style="padding-top:10px;">Teas and Wellness Centre</td></tr><tr><td align="center" class="slogan"></td></tr></table></td></tr></table></td></tr><tr><td align="left" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="12" align="left" valign="top"><img src="images/bg_tleft.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="12" height="4"></td><td align="left" valign="top" background="images/bg_tcent.gif?template=av-243&colorScheme=red&header=&button=buttons1"><img src="images/bg_tcent.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="1" height="4"></td><td width="10" align="left" valign="top"><img src="images/bg_tright.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="10" height="4"></td></tr><tr><td width="12" align="left" valign="top" background="images/bg_submenu1.gif?template=av-243&colorScheme=red&header=&button=buttons1"><img src="images/bg_submenu1.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="12" height="1"></td><td align="left" valign="top" background="images/bg_submenu.gif?template=av-243&colorScheme=red&header=&button=buttons1"><table width="100%" border="0" cellspacing="1" cellpadding="0"><tr><td align="right" valign="top" background="images/bg_leftline.gif?template=av-243&colorScheme=red&header=&button=buttons1"><img src="images/bg_leftline.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="162" height="1"><br><br><table width="150" border="0" cellspacing="0" cellpadding="0"><tr><td width="150" align="left"><table border="0" cellpadding="0" cellspacing="0"></table></td></tr></table></td><td height="300" valign="top"><img src="images/space.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="598" height="15"><table cellpadding="0" cellspacing="0" border="0"><tr><td class="text-header" style="padding-top:5px;padding-left:20px;">Home</td><td style="padding-left:6px;"><img src="images/icon_text.gif?template=av-243&colorScheme=red&header=&button=buttons1" alt="" width="17" height="17" border="0"></td></tr></table><br><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td class="pageContent" name="SB_stretch"><div>
<div><span style="font-family: Times New Roman"><span style="font-size: medium">
<div>
<div>&nbsp;</div>
</div>
<div>&nbsp;</div>
</span></span></div>
</div>
<span style="font-family: Times New Roman">
<div>
<div><strong><span style="color: rgb(255, 0, 0);"><span style="font-size: medium;">Welcome to </span></span></strong><span><span style="font-size: medium"><br />
<br />
</span></span></div>
</div>
<span style="font-size: x-large;"><strong>Dragons Lair Teas and Wellness Centre<br />
</strong></span><br />
<span style="font-size: large;">Since we have opened the door in December 2008, Dragons Lair Speciality Teas has evolved into Dragons Lair Teas and Wellness Centre in May, 2012. &nbsp;We have now added a team of holistic health and wellness practitioners to our Wellness Centre. &nbsp;We still Sell and Serve Premium loose leaf teas from around the world, providing a Relaxed Seating and Meeting Place, Tea wares, Gift Wares, Accessories and more.....<br />
<br />
You have to come check out our new and bigger facility and be a part of our Wellness Community in Westbank, British Columbia in the Vintage View Centre. &nbsp;<br />
<br />
We have the Tea Room, Wellness Room, Reading Room, Raynor Massage Studio, Raynor School of Massage &amp; Training (Canada) and Health is Bliss all under one roof; providing wellness and health, bodywork and treatment, support and spiritual growth. &nbsp;</span><br />
<br />
<div>&nbsp;<!-- Delete this text and enter your script here. //--></div>
</span><?php
echo $statisticsObject->getContentBlock();
?><br/><br /></td></tr></table></td></tr></table></td><td width="10" align="left" valign="top" background="images/bg_submenu2.gif?template=av-243&colorScheme=red&header=&button=buttons1"><img src="images/bg_submenu2.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="10" height="1"></td></tr><tr><td width="12" align="left" valign="top"><img src="images/bg_left.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="12" height="1"></td><td align="left" valign="top" background="images/bg_cent.gif?template=av-243&colorScheme=red&header=&button=buttons1"><img src="images/bg_cent.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="1"></td><td align="left" valign="top"><img src="images/bg_right.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="10" height="1"></td></tr></table></td></tr><tr><td height="66" align="left" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="12" align="left" valign="top"><img src="images/bg_bmenu1.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="12" height="66"></td><td align="center" valign="middle" background="images/bg_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1"><table align="center" cellpadding="0" cellspacing="0"><tr><td style="padding-left:10px; padding-right:10px;" class="bmenua" id="abmenu"><a href="page29.php" class="bmenua">Home</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu2"><a href="page1.php" class="bmenu">Teas and Wellness Centre</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu3"><a href="page31.php" class="bmenu">Dragons Lair Teas</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu4"><a href="page6.php" class="bmenu">Reading Room</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu5"><a href="page7.php" class="bmenu">Wellness Room</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu6"><a href="page39.php" class="bmenu"><?php
echo $loginObject->getMainMenuTitle('Customer Login');
?></a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu7"><a href="page34.php" class="bmenu">Ready to Shop</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu8"><a href="page30.php" class="bmenu">News &amp; Events</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu9"><a href="page3.php" class="bmenu">Dragons Lair Unplugged</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu10"><a href="page2.php" class="bmenu">Contact Us</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu11"><a href="page5.php" class="bmenu">Customer Reviews</a></td><td class="cmenu"><img src="images/line_bmenu.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="2" height="8"></td><td style="padding-left:10px; padding-right:10px;" class="bmenu" id="bmenu12"><a href="page8.php" class="bmenu">Wholesale</a></td></tr></table></td><td width="13" align="right" valign="top"><img src="images/bg_bmenu2.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="13" height="66"></td></tr></table></td></tr><tr><td align="left" valign="top" class="footer"></td></tr></table></td><td></td></tr><tr><td><img src="images/space.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="1" height="1"></td><td><img src="images/space.gif?template=av-243&colorScheme=red&header=&button=buttons1" width="1" height="1"></td></tr></table></td></tr></table></BODY></html>
<?php
$statisticsObject->destruct();
?>


Is there anyone with PHP knowledge that can tell me what's going on here and how I might fix it?

Many thanks

Last edited by sumdrunkguy; 02-07-2013 at 09:17 PM. Reason: on request of ted_chou12
 
Old 02-07-2013, 03:30 PM   #2
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 425
Blog Entries: 28

Rep: Reputation: 2
I think you should post your php files along with your html codes, because it doesn't look like that it should show something. I only see loading modules and calling other functions, doesnt look like the page is going to display anything at all! Btw, you can surround your code with {code}{/code} with { changed to [. So it could be easier to read.
Thanks,
Ted

Last edited by ted_chou12; 02-07-2013 at 03:32 PM.
 
Old 02-07-2013, 09:18 PM   #3
sumdrunkguy
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks Ted, I edited the post.

Cheers

Quote:
Originally Posted by ted_chou12 View Post
I think you should post your php files along with your html codes, because it doesn't look like that it should show something. I only see loading modules and calling other functions, doesnt look like the page is going to display anything at all! Btw, you can surround your code with {code}{/code} with { changed to [. So it could be easier to read.
Thanks,
Ted
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Firefox crashes on certain webpages after upgrade to Ubuntu 4.04. OldmanT Linux - Software 1 05-22-2010 11:40 PM
Konqueror not loading webpages after upgrade Darkover Debian 1 07-04-2006 03:00 PM
Dynamic webpages with php code displays blank from Fedora pietermouton Linux - Newbie 2 12-22-2005 01:28 AM
Blank desktop after kde upgrade kmeehl Slackware 6 12-02-2004 09:36 PM
Different webpages on same server. jimval7 Linux - Networking 3 02-10-2004 03:39 PM


All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration