aka_bigred Posted July 24, 2007 Share Posted July 24, 2007 OK, I'm taking my first foray into PHP and I'm liking it, but I've got PITA problem. I'm creating a web interface for data logging on my saltwater aquarium. Data's stored in a mySQL DB on an ubuntu LAMP server dishing out PHP5 pages. Data is collected using 1-wire sensors by Dallas Maxim, which are read using OWFS ( owfs.sf.net ) and graphs are done using JPGraph. I have created several individual pages to display different parameters, then I have a unified GUI page that includes them all together in separate tabbed Divs. I get the same results on multiple PC's - it opens just fine in Firefox (v2.0.0.5), but when I try to pull up the page in IE (v6.0.2900), it shows the page while it's loading and then croaks with this error message: Internet Explorer can not open the internet site: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX Operation aborted. I can open each individual page just fine in IE, but the consolidated GUI page croaks. It's like IE tries opening/processing the page, then gets to some error part way through the file and aborts. I tried googling that error message, and seemed to get hints that it may be a page header issue, but trying some of the suggested solutions got me no where. I can't seem to figure out what's giving it problems. I use IE as my browser of choice, but I need it to work on IE for the times I'm at a public terminal and can't use FF. Here's the page, you can see for yourself what I'm talking about (try it in both IE & FF): http://bytality.com/Skhfawklfhuaewkfljhwafkjhsadlksjfgkljdfglkdsjh.cfm Anyone have any ideas what could be causing this? I can post excerpts from the PHP to help diagnose, if requested.Any help is greatly appreciated! -S NOTE: Yes, the above link points to a coldfusion page, but it's merely a redirect b/c I really don't want to give out the direct link to my controller as a security precaution (maybe a bit paranoid, but so be it). It exhibits the same problems as if you were browsing the direct GUI page so don't worry about it. Link to comment https://forums.phpfreaks.com/topic/61541-ie-bombs-when-loading-php-page-but-works-in-ff/ Share on other sites More sharing options...
piznac Posted July 24, 2007 Share Posted July 24, 2007 Well I don't have a clue what the error is,. but just out of curiosity is that a reef tank you have?.. I have one myself ,... prehaps you can share this progy your working on? Link to comment https://forums.phpfreaks.com/topic/61541-ie-bombs-when-loading-php-page-but-works-in-ff/#findComment-306308 Share on other sites More sharing options...
suttercain Posted July 24, 2007 Share Posted July 24, 2007 Aka_bigred, I am 99% sure that this is not a PHP issue. I looked at your source code and noticed you are also running JavaScript. I would bet that is causing the problem. If PHP works in one browser, it'll work in another. The same cannot be said for JavaScript... the likely culprit. SC Link to comment https://forums.phpfreaks.com/topic/61541-ie-bombs-when-loading-php-page-but-works-in-ff/#findComment-306318 Share on other sites More sharing options...
ViN86 Posted July 24, 2007 Share Posted July 24, 2007 have you analyzed the HTML code itself? every problem ive found regarding differences in FF and IE are due to the FF browser being more flexible/accepting of code that has syntax errors. for example, if you view the source of the page, youll see that it has two headers ( <head> ..... </head><head>......</head> ) read this: http://www.webmasterworld.com/forum21/786.htm this guy wanted to know if he could put two headers for javascript as well, and most ppl agree, that it is not good practice. Link to comment https://forums.phpfreaks.com/topic/61541-ie-bombs-when-loading-php-page-but-works-in-ff/#findComment-306319 Share on other sites More sharing options...
aka_bigred Posted July 24, 2007 Author Share Posted July 24, 2007 I agree that the multiple head thing is bad, but it actually aren't multiple heads in my code, FF seems to be putting them around stuff automatically. I've tweaked the code to prevent that too, though it wasn't the root of the problem I played with the HTML a bit and narrowed it down to one of the js files I was using. Not sure what it is doing yet, but I'll look into that more. Link to comment https://forums.phpfreaks.com/topic/61541-ie-bombs-when-loading-php-page-but-works-in-ff/#findComment-306524 Share on other sites More sharing options...
walterhouse5 Posted August 24, 2008 Share Posted August 24, 2008 I'm hosting a PHP driven website. this page loads fine in Firefox, but crashes IE 6 & 7 with "operation aborted" error. Any ideas???? <?php include_once "./common_db.inc"; $register_script = "./register.php"; if (!$_POST['posted'] AND !$_GET['userid']) { login_form(); exit; } else { session_start(); session_register('userid', 'userpassword','account_id'); if ($_POST['userid']) { $username = auth_user($_POST['userid'], $_POST['userpassword']); } if ($_GET['userid']) { $username = auth_user($_GET['userid'], $_GET['userpassword']); } if(!$username) { $PHP_SELF = $_SERVER['PHP_SELF']; session_unregister("userid"); session_unregister("userpassword"); echo "Authorization failed. " . "You must enter a valid userid and password combo. " . "Click on the following link to try again.<BR>\n"; echo "<A HREF=\"$PHP_SELF\">Login</A><BR>"; echo "If you're not a member yet, click " . "on the following link to register.<BR>\n"; echo "<A HREF=\"$register_script\">Membership</A>"; exit; } else { echo "Welcome, $username!"; //echo session_id(); echo "<meta http-equiv=\"refresh\" content=\"0;url=./account.php?".session_id()."\">"; } } Link to comment https://forums.phpfreaks.com/topic/61541-ie-bombs-when-loading-php-page-but-works-in-ff/#findComment-624123 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.