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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
02-06-2013, 10:49 PM
#1
LQ Newbie
Registered: Feb 2013
Posts: 2
Rep:
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 & 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> </div>
</div>
<div> </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. We have now added a team of holistic health and wellness practitioners to our Wellness Centre. 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. <br />
<br />
We have the Tea Room, Wellness Room, Reading Room, Raynor Massage Studio, Raynor School of Massage & Training (Canada) and Health is Bliss all under one roof; providing wellness and health, bodywork and treatment, support and spiritual growth. </span><br />
<br />
<div> <!-- 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 & 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 08:17 PM .
Reason: on request of ted_chou12
02-07-2013, 02:30 PM
#2
Member
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431
Rep:
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 02:32 PM .
02-07-2013, 08:18 PM
#3
LQ Newbie
Registered: Feb 2013
Posts: 2
Original Poster
Rep:
Thanks Ted, I edited the post.
Cheers
Quote:
Originally Posted by
ted_chou12
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
All times are GMT -5. The time now is 09:00 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News