Thank The Cheese
Registered
Hello everyone,
I've just launched a website, but have just noticed a major problem in IE 6 (Windows XP version). Some links, when clicked on, produce a blank page. The user has to refresh the page in order to get it to load. I know this isn't the ideal forum for Windows-related issues, but as usual, the Mac browsers work fine!
I'm using PHP/MySQL on the site, so maybe that has something to do with it, but I can't put my finger on what it could be. After all, many other pages display fine, even through they use the same functions, database queries etc. I'm relatively new to PHP, so perhaps I'm doing something wrong.
To check it out for youself, go to http://tomlongodesign.com/_folio/index.php. The links that produce a blank page are the "contact me" section and all of the print designs.
Is this a known bug with IE? I don't think it's a PHP scripting problem because it works fine in all other browsers.
In case it helps, here is the PHP code from the contact page:
Thanks so much for the help!
I've just launched a website, but have just noticed a major problem in IE 6 (Windows XP version). Some links, when clicked on, produce a blank page. The user has to refresh the page in order to get it to load. I know this isn't the ideal forum for Windows-related issues, but as usual, the Mac browsers work fine!
I'm using PHP/MySQL on the site, so maybe that has something to do with it, but I can't put my finger on what it could be. After all, many other pages display fine, even through they use the same functions, database queries etc. I'm relatively new to PHP, so perhaps I'm doing something wrong.
To check it out for youself, go to http://tomlongodesign.com/_folio/index.php. The links that produce a blank page are the "contact me" section and all of the print designs.
Is this a known bug with IE? I don't think it's a PHP scripting problem because it works fine in all other browsers.
In case it helps, here is the PHP code from the contact page:
PHP:
<?php
require_once ('../../connect_folio.php');
if (isset($_POST['sendMessage']))
{
include ('modules/sendMail.inc');
$feedback = sendMail( trim($_POST['name']), trim($_POST['email']), trim($_POST['phone']), trim($_POST['message']) );
}
////////////////////////////////////////////////////////////////////
include ('modules/checkLogin.inc');
$section = 'contact me';
include ('components/header.inc');
////////////////////////////////////////////////////////////////////
?>
<div id="columnLeft">
<div id="columnLeftTitle">
<div class="tabTitleContainer"><h1>contact me</h1>
</div>
<div class="tabContainerWhite">
<div class="tabWhite1">
</div>
<div class="tabWhite2">
<p class="tabText">contact me</p>
</div>
<div class="tabWhite3">
</div>
</div>
</div>
<div class="itemPadded">
<?php
if(isset($_POST['sendMessage']) && !$feedback)
{
echo '
<h2>Thank you</h2>
<p>Your message has been sent. Thank you for your input.</p>';
} else {
if($feedback)
{
echo '<p class="error"><strong>Errors occured while trying to send your message. </strong>';
if($feedback['mysql'])
{
echo '<br />'.$feedback['mysql'];
}
if($feedback['email'])
{
echo '<br />'.$feedback['email'];
}
if($feedback['email'] || $feedback['mysql'])
{
echo 'This is probably due to a server error. If your message is urgent, please use the contact details in the column to the right, otherwise please try again later. Apologies for the inconvenience. ';
}
echo '</p>';
} else {
echo '<div class="spacer"> </div>';
}
echo'
<form action="contact.php?style='.$style.'" method="post" enctype="multipart/form-data" id="message">
<div class="label"><label for="name" >Name</label></div>
<div class="input"><input class="width100" type="text" name="name" id="name" size="25" maxlength="60" value="'; if($_POST['name']){ echo trim($_POST['name']); } else { echo 'Enter your name here.'; } echo '" />'; if($feedback['name']) { echo '<p class="error">'.$feedback['name'].'</p>'; } echo '</div>
<div class="spacer"> </div>
<div class="label"><label for="phone">Phone (optional)</label></div>
<div class="input"><input class="width100" value="'; if($_POST['phone']){ echo trim($_POST['phone']); } else { echo 'Enter phone number (optional)'; } echo '" type="text" name="phone" id="phone" size="25" maxlength="60" /></div>
<div class="spacer"> </div>
<div class="label"><label for="email">E-Mail (optional)</label></div>
<div class="input"><input class="width100" type="text" name="email" id="email" size="25" maxlength="60" value="'; if($_POST['email']){ echo trim($_POST['email']); } else { echo 'Enter email address (optional)'; } echo '" /></div>
<div class="spacer"> </div>
<div class="label"><label for="comments">Your message</label></div>
<div class="input"><textarea class="width100" name="message" id="message" cols="35" rows="8">'; if($_POST['message']){ echo trim($_POST['message']); } else { echo 'Please type your message here.'; } echo '</textarea>'; if($feedback['message']) { echo '<p class="error">'.$feedback['message'].'</p>'; } echo '</div>
<div class="spacer"> </div>
<div class="label"> </div>
<div class="input"><input name="sendMessage" type="submit" id="sendMessage" value="Send Message" /></div>
</form>';
}
?>
</div>
</div>
<div id="columnRight">
<div id="columnRightDark">
<?php
generateSwitcher();
?>
</div>
<div class="columnRightContent">
<h3>Phone</h3>
<p>0411 950 801</p>
<h3>Email</h3>
<p><a class="blueLink" href="mailto:longo@internode.on.net">longo@internode.on.net</a></p>
<h3>Post</h3>
<p>30/10 Hallett Ave.<br />Tranmere, SA<br />5073</p>
</div>
</div>
</body>
</html>
Thanks so much for the help!