Author Topic: WB site not showing in IE7  (Read 4094 times)

Offline oeh

  • Posts: 190
  • Gender: Male
  • German Pischer's, what's life without them?
WB site not showing in IE7
« on: March 24, 2009, 11:27:00 PM »
I all.

I desperately deeds HELP.

I have a web page (www.pinscher.no) that are not displaying in IE 7

And t be frank, I have no clue what so ever, what is generating this error.

So, peace someone help me figuring out what is wrong.

Thanks in advance.
Odd Egil

Code: [Select]
<?php
// $Id: index.php 2008-04-07 Odd Egil Hansen $
/*
WebsiteBaker Project <http://www.WebsiteBaker.org/>
Copyright (C) 2004-2008, Ryan Djurovich
WebsiteBaker is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or(at your option) any later version.
WebsiteBaker is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with WebsiteBaker; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
if(!defined(&#39;WB_URL&#39;)) {
header(&#39;Location: ../index.php&#39;);
exit(0);
}
?>


<!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" xml:lang="en" lang="en">
<head>
<!-- title></title -->
<?php simplepagehead(); ?>
<link href="<?php echo TEMPLATE_DIR?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo TEMPLATE_DIR?>/print.css" rel="stylesheet" type="text/css" media="print" />
<link rel="stylesheet" href="<?php echo TEMPLATE_DIR?>/css/template_css_brown.css" type="text/css" media="screen" />

<?php if (function_exists("find_my_class") )
{
$path_to_js WB_URL."/modules/fe-codehighlight/prettify.js";
$path_to_css WB_URL."/modules/fe-codehighlight/prettify.css";
ob_start();
page_content();
$content ob_get_contents();
ob_end_clean();
find_my_class($content"pre""prettyprint"$path_to_css$path_to_js);
}
?>


<?php 
// this allows to include the optional module files (frontend.css, frontend.js) into the head section
if(function_exists(&#39;register_frontend_modfiles&#39;)) {
register_frontend_modfiles(&#39;css&#39;);
register_frontend_modfiles(&#39;js&#39;);
}
?>


</head>
<body>
<a name="pagetop">
</a>

<div>
<table width= "100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="<?php echo TEMPLATE_DIR?>/images/space.gif" width="770" height="1" alt="" /></td>
</tr>
<tr>
<td><div class="background">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo TEMPLATE_DIR?>/images/center.jpg">
<tr>
<td width="116"><img src="<?php echo TEMPLATE_DIR?>/images/left.jpg" width="116" alt="" /></td>
<td class="title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="100" colspan="2" class="title" style="padding-top:0px;"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" style="padding-left:10px;"><a href="<?php echo WB_URL?>"><?php page_title(&#39;&#39;, &#39;[WEBSITE_TITLE]&#39;); ?></a></td>
<td></td>
</tr>
</table></td>
</tr>
<tr align="left">
<td width="100%" height="29" valign="bottom" class="mainlevel-nav"><table align="left" cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<td>
<ul id="mainlevel-nav">
<?php if(SHOW_MENU) { /* Only shown menu if we need to */ ?>
<?php show_menu2(0SM2_ROOTSM2_STARTSM2_PRETTY, &#39;<li [if(class=mainlevel_nav)]>[a]<span>[menu_title]</span></a>&#39;); ?>
<?php ?></ul>
</td>
<td align="left"><?php ShowRssSiteFeed(&#39;ISO-8859-10&#39;);?></td>
</tr>
</table>
</td>
</tr>
</table></td>
<td width="26"><img src="<?php echo TEMPLATE_DIR?>/images/right.jpg" width="26" alt="" /></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="11" height="25" background="<?php echo TEMPLATE_DIR?>/images/shadowl.jpg">&nbsp;</td>
<td height="25" bgcolor="#F1F1F1" style="border-bottom: 1px solid #999999; border-top: 5px solid #FFFFFF;">[[editthispage]] &nbsp;  &nbsp;<span class="pathway"><?php show_breadcrumbs(); ?>
</span>
</td>
<td height="25" align="right" bgcolor="#F1F1F1" style="border-bottom: 1px solid #999999; border-top: 5px solid #FFFFFF;"></td>
<td width="11" height="25" align="right" background="<?php echo TEMPLATE_DIR?>/images/shadowr.jpg">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="padding-left:8px; background-repeat: repeat-y;" background="<?php echo TEMPLATE_DIR?>/images/shadowl.jpg">&nbsp;</td>
<td valign="top" style="background-repeat: repeat-y;"background="<?php echo TEMPLATE_DIR?>/images/lb.gif"> <div class="leftrow">
<?php ob_start(); // start output buffer
show_menu(1,1,-1,true,&#39;<tr align="left"><td>[a][menu_title][/a]</td></tr>&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;class="mainlevel"&#39;,&#39;class="mainlevel" id="active_menu"&#39;); // call menu
$foo=ob_get_contents(); // put outputbuffer in $foo
ob_end_clean(); // clear outputbuffer
if ($foo<>"") { // some code to execute cause there is some block
echo &#39;<p>&#39;;
echo &#39;</p>&#39;;
echo &#39;<table cellpadding="0" cellspacing="0" class="moduletable">&#39;;
echo &#39;<tr>&#39;;
echo &#39;<th valign="top">&#39;;
echo &#39;Meny</th>&#39;;
echo &#39;</tr>&#39;;
echo &#39;<tr>&#39;;
echo &#39;<td>&#39;;
echo &#39;<table width="100%" border="0" cellpadding="0" cellspacing="0">&#39;;
echo $foo
echo &
#39;</table>&#39;; // show the block (as saved in $foo)
echo &#39;</td>&#39;;
echo &#39;</tr>&#39;;
echo &#39;</table>&#39;;
} else { // some code for no info
}
?>

<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">

<tr>
<?php if(SHOW_SEARCH) { ?>
<td width="100%" height="29">
<table width="99%" cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<th valign="top" align="left" >S&oslash;k</th>
</tr>
<tr>
<td align="center" valign="middle" >
<div align="center" class="search"><p>
<form name="search" action="<?php echo WB_URL.&#39;/search/index&#39;.PAGE_EXTENSION; ?>" method="post">
<div align="center" class="search">
<input alt="search" class="inputbox" type="text" name="string" size="20" value="<?php echo $TEXT[&#39;SEARCH&#39;]; ?>..." onblur="if(this.value=='') this.value='<?php echo $TEXT[&#39;SEARCH&#39;]; ?>...';" onfocus="if(this.value=='<?php echo $TEXT[&#39;SEARCH&#39;]; ?>...') this.value='';" /></div>
<input type="hidden" name="submit" value="<?php echo $TEXT[&#39;SEARCH&#39;]; ?>" />
</form>
</p></div>
</td>
</tr>
<tr>
<th valign="top" align="left" >Nyhetsbrev</th>
</tr>
<tr>
<td><p>
<div align="center" class="search">
<?php if(function_exists(&#39;newsletter_info&#39;)) {
newsletter_info(&#39;Nyhetsbrev&#39;,&#39;nyheter@pinscher.no&#39;,true,false); }
?>

</div>
</p></td>
</tr>
<tr>
<td>
<?php
if(FRONTEND_LOGIN AND !$wb->is_authenticated()) {
?>

<table cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<p>
<th valign="top">
<?php echo $TEXT[&#39;LOGIN&#39;]; ?>
</th>
</p>
</tr>
<tr>
<td>
<form name="login" action="<?php echo LOGIN_URL?>" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center">
<p><input type="submit" name="submit" value="<?php echo $TEXT[&#39;LOGIN&#39;]; ?>" /></p>
<p><a href="<?php echo FORGOT_URL?>"><?php echo $TEXT[&#39;FORGOT_DETAILS&#39;]; ?></a></p>
<!-- p><// ?php if(is_numeric(FRONTEND_SIGNUP)) { ? >
<a href="<// ?php echo SIGNUP_URL; ? >"><// ?php echo $TEXT['SIGNUP']; ? ></a></p-->
<!-- <//?php } ? -->
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<?php
} elseif(FRONTEND_LOGIN AND $wb->is_authenticated()) {
?>

<table cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<p><th valign="top"> <?php echo $TEXT[&#39;LOGGED_IN&#39;]; ?></th>
</p>
</tr>
<tr>
<td>
<form name="logout" action="<?php echo LOGOUT_URL?>" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center">
<p><?php echo $TEXT[&#39;WELCOME_BACK&#39;]; ?>, <a href="<?php echo PREFERENCES_URL?>"></p>
<p><?php echo $wb->get_display_name(); ?></a></p>
<p><input type="submit" name="submit" value="<?php echo $MENU[&#39;LOGOUT&#39;]; ?>" /></p>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<?php
}
?>

</td>
</tr>
<tr>
<td><?php page_content(5); ?></td>
</tr>
</table>
</td>
<?php
}
?>

</tr>
</table>
</div>
</td>
<td valign="top" bgcolor="#FAFAFA" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td align="left" valign="top"><?php page_content(3); ?></td>
<td align="left" valign="top"><?php page_content(4); ?></td>
</tr>
<tr align="left" valign="top">
<td style=" border-top: 4px solid #FFFFFF; padding: 5px;" colspan="2">
<div class="main">
<table class="contentpaneopen">
<tr>
<td class="contentheading" width="100%">
[[editthispage]]&nbsp;<?php page_title(&#39;&#39;,&#39;[PAGE_TITLE]&#39;); ?>
</td>
</tr>
</table>
<table class="contentpaneopen">
<tr>
<td valign="top" colspan="2">
<?php if (class_exists(&#39;imageOptimizer&#39;)) {
ob_start();
page_content();
$content ob_get_contents();
ob_end_clean();
image_optimize($page_id$content);
}
else {
page_content();
}
?>


<br /><br /></td>
</tr>
</table>
</div></td>
</tr>
</table>
</td>
<?php ob_start(); // start output buffer
echo "<div id=\"mynews\">"//
display_news_items(113601, &#39;Fra styret&#39;, &#39;Les mer&#39;, &#39;For tiden ingen nyheter&#39;, true, &#39;<a><img>&#39;, false, &#39; (m.d.Y)&#39;, 3, 1);
display_news_items(12101, &#39;Fra avlsrådet&#39;, &#39;Les mer&#39;, &#39;For tiden ingen nyheter&#39;, true, &#39;<a><img>&#39;, false, &#39; (m.d.Y)&#39;, 3, 1);
display_news_items(14301, &#39;Pinschertreff&#39;, &#39;Les mer&#39;, &#39;For tiden ingen nyheter&#39;, true, &#39;<a><img>&#39;, false, &#39; (m.d.Y)&#39;, 3, 1);
display_news_items(13301, &#39;Utstilling&#39;, &#39;Les mer&#39;, &#39;For tiden ingen nyheter&#39;, true, &#39;<a><img>&#39;, false, &#39; (m.d.Y)&#39;, 3, 1);
echo "</div>";
page_content(2); // call menu
$foo=ob_get_contents(); // put outputbuffer in $foo
ob_end_clean(); // clear outputbuffer
if ($foo<>"") { // some code to execute cause there is some block
echo &#39;<td valign="top" style="background-repeat: repeat-y; "background="&#39;.TEMPLATE_DIR.&#39;/images/rb.gif">&#39;;
echo &#39;<div class="rightrow">&#39;;
echo &#39;<p>&#39;;
echo &#39;</p>&#39;;
echo &#39;<table cellpadding="0" cellspacing="0" class="moduletable">&#39;;
echo &#39;<tr>&#39;;
echo &#39;<th valign="top">&#39;;
echo &#39;Nyheter</th>&#39;;
echo &#39;</tr>&#39;;
echo &#39;<tr>&#39;;
echo &#39;<td>&#39;;
echo &#39;<table width="100%" cellspacing="1" cellpadding="0" border="0" align="">&#39;;
echo &#39;<tr>&#39;;
echo &#39;<td>&#39;;
echo $foo// show the block (as saved in $foo)
echo &#39;</td>&#39;;
echo &#39;</tr>&#39;;
echo &#39;</table>&#39;;
echo &#39;</td>&#39;; 
echo &#39;</tr>&#39;;
echo &#39;</table>&#39;;
echo &#39;</div>&#39;;
echo &#39;</td>&#39;;
} else { // some code for no info
}
?>

<td valign="top" style="padding-right: 8px; background-repeat: repeat-y;" background="<?php echo TEMPLATE_DIR?>/images/shadowr.jpg">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo TEMPLATE_DIR?>/images/center2.jpg">
<tr>
<td width="26"><img src="<?php echo TEMPLATE_DIR?>/images/left2.jpg" /></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30" align="left"><a href="#pagetop"><img src="<?php echo TEMPLATE_DIR?>/images/ltop.jpg" alt="Top!" border="0" /></a> </td>
<td align="center"><div class="footer"><div align="center"><?php page_footer(); ?> <br />&copy;&nbsp;<?php page_title(&#39;&#39;,&#39;[WEBSITE_TITLE]&#39;); ?> Powered by <a href="http://www.WebsiteBaker.org/" target="_blank">
WebsiteBaker</a> </div>
</div>
</td>
<td width="30" align="right"><a href="#pagetop"><img src="<?php echo TEMPLATE_DIR?>/images/rtop.jpg" alt="Top!" border="0" /></a></td>
</tr>
</table>
</td>
<td width="26"><img src="<?php echo TEMPLATE_DIR?>/images/right2.jpg" /></td>
</tr>
</table>
</div></td>
</tr>
</table>
</div>
</body>
</html>
oeh ;-}>

Offline BerndJM

  • Posts: 1764
  • Gender: Male
Re: WB site not showing in IE7
« Reply #1 on: March 25, 2009, 12:38:35 AM »
Hi,
the page is not shown also in FF3 and Opera,
because it's a totaly white page without any line of HTML in the source, there must an error occur realy early in your document.
Think it's this:
Code: [Select]
<?php simplepagehead(); ?> You call a function, where "the hell" is this function, can't see any include or similar above this line ...

Would be a good idea to set the error_level to E_ALL in the advanced settings/options, so it should produce an error message ...

Regards Bernd
In theory, there is no difference between theory and practice. But, in practice, there is.

Offline oeh

  • Posts: 190
  • Gender: Male
  • German Pischer's, what's life without them?
Re: WB site not showing in IE7
« Reply #2 on: March 25, 2009, 01:18:39 AM »
Hi,
the page is not shown also in FF3 and Opera,
because it's a totaly white page without any line of HTML in the source, there must an error occur realy early in your document.
Think it's this:
Code: [Select]
<?php simplepagehead(); ?> You call a function, where "the hell" is this function, can't see any include or similar above this line ...

Would be a good idea to set the error_level to E_ALL in the advanced settings/options, so it should produce an error message ...

Regards Bernd

Hi Bernd.
Thank you for the quick response.

This is what I'm getting setting the error level to "E_ALL"
 
Code: [Select]
Strict Standards: Non-static method dbConnect::getVersion() should not be called statically in /home/2/p/pinscher/www/modules/img_optimizer/include.php on line 50

Strict Standards: Non-static method rhTools::getVersion() should not be called statically in /home/2/p/pinscher/www/modules/img_optimizer/include.php on line 63

Warning: Cannot modify header information - headers already sent by (output started at /home/2/p/pinscher/www/modules/img_optimizer/include.php:50) in /home/2/p/pinscher/www/modules/searchtools/search.php on line 49

Tis code is from the snippet Simple PageHead
@http://www.websitebakers.com/pages/modules/various/simple-page-head.php
Code: [Select]
<?php simplepagehead(); ?> My be its totally wrong ?-)

Regards
Odd Egil
oeh ;-}>

 

postern-length