FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


links dont work in IE from frihost hosted site





ammonkc
This is a REALLY weird problem. I have a php site hosted on frihost and the links don't work properly in IE 6. If I click on a link, about 20% of the time, I get a blank page and the url does not change. But when I hover over the link it shows the correct url in the info bar at the bottom of IE, it just doesn't go there and gives me a blank page instead.
It only does this on my site that is hosted on Frihost. I uploaded the exact same files to a GoDaddy host that I have also, and it doesn't have the problem. My dev server on my laptop works fine also.
Quote:

URLs
http://www.kahukuclassof97.com (Frihost)
http://www.brokenparadigmlabs.com (GoDaddy)

Also I don't get this problem in any other browsers, only IE6. I made the site layout with CSS and not with tables. I know that IE does not do very good with CSS but that doesn't explain why IE works when rendering the same pages from a GoDaddy server.

Here is my Navigation Menu code:
Code:

<!-- START Nav -->   
<div id="nav-container">
<div id="nav">
      <ul>
         <li><a href="index.php">Home</a></li>
         <?php
         if (!isset($_SESSION['usr_id'])) {
            echo '<li><a href="index.php?page=login">Login</a></li>';
         }
         if (!isset($_SESSION['usr_id'])) {
            echo '<li><a href="index.php?page=register">Register</a></li>';
         }
         ?>
         <li><a href="index.php?page=events">Events</a></li>
         <li><a href="index.php?page=msg_board">Message Board</a></li>
         <li><a href="index.php?page=gallery">Photo Gallery</a></li>
         <li><a href="index.php?page=email">Tell a Friend</a></li>
         <li><a href="index.php?page=contact">Contact</a></li>
         <?php
         if (isset($_SESSION['usr_id'])) {
            if ($_SESSION['usr_admin'] == 1) {
               echo '<li><a href="index.php?page=admin">Admin</a></li>';
            }
            echo '<li><a href="logout.php">Logout ['.$_SESSION['usr_fname'].']</a></li>';
         }//end if logged in
         ?>
      </ul>
</div></div>
<!-- END Nav -->

When I "view source" from IE (both hosts) this is what I get:
Code:

<!-- START Nav -->
<div id="nav-container">
<div id="nav">
     <ul>
          <li><a href="index.php">Home</a></li>
          <li><a href="index.php?page=login">Login</a></li><li><a href="index.php?page=register">Register</a></li>
          <li><a href="index.php?page=msg_board">Message Board</a></li>
          <li><a href="index.php?page=gallery">Photo Gallery</a></li>
          <li><a href="index.php?page=email">Tell a Friend</a></li>
          <li><a href="index.php?page=contact">Contact</a></li>
                        </ul>
</div></div>
<!-- END Nav -->


I really don't know what to make of this problem.
- The fact that it only happens in IE makes me think that its a browser issue, possibly with the CSS <ul><li>'s. But that doesn't explain why it works with IE6 from a different server.
- The fact that its only happening on the Frihost server makes me think that its related to the version or configuration of the server. But that doesn't make sense either because the html source code is identical when I do a "view source" from both.

Here is the phpinfo() for both servers:
Quote:

http://www.frihost.com/phpinfo.php (Frihost)
http://brokenparadigmlabs.com/phpinfo.php (GoDaddy)

I'm really stumped on this one. If anyone knows what the problem is or what I'm doing wrong. PLEASE help.
Thanks in advanced.
AftershockVibe
I just opened it fine in IE6. How peculiar. I assume you haven't got any particular filtering software for Frihost.....

Erm.... The links aren't using Javascript and being blocked by a popup blocker are they?
ammonkc
No I don't have any javascript at all in the site. but I do have a style sheet that only loads if its IE. that style sheet is a hack to make the photo gallery work in IE.
Code:

<!--[if lte IE 6]>
      <link rel="stylesheet" media="all" type="text/css" href="lightbox3_ie.css" />
<![endif]-->

I was tweeking some of my code a little bit and it looks like it might have fixed it. all I did was clean up some of the white space and some other stuff like that. and I only echo the style sheet above if its loading the gallery page now. if it is indeed fixed, I'm sure that IE only style sheet was the problem. thanks
Related topics
Site Builder
My frihost web site
show me some good example! i mean freehost hosted site :?
Rate my promo page plz! NOW With yo momma gen!
Python beginners help!
Python CGI work with FRIHOST
rate my website
Input please
Win A Domain ..... The Best FriHost Website Edition
www.runesh.frih.net come and get a look
100 days free licence for Kaspersky Internet Security 2009
Reload... every time... what's going on?
PHP! Ahhh! How to edit! What is this installer?
Database server hostname
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.