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.
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:
When I "view source" from IE (both hosts) this is what I get:
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:
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.
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.
