This topic is locked
[SOLVED]

  performance issue with IE8

10/4/2012 4:59:24 AM
PHPRunner General questions
C
cetipabo author

Hi !

Since the begining i'm using the trick from "Pascal" found in this topic:

http://www.asprunner.com/forums/topic/18919-performance-issue-with-version-6/pageviewfindpostp64020s82289606ec3cf3c4fc7f3bac4d452bc0
So replacing the defaut :

<META content=IE=7 http-equiv=X-UA-Compatible>

with

<meta http-equiv="X-UA-Compatible" content="chrome=1">
is working well in my company (we are still with Windows XP SP3 + IE8). I added the Chrome frame plugin to all PC. We can't use anything else than IE8 because our ERP needs IE and nothing else...

IE8 is the latest version you can use with win XP.

The problem i'm having:

If i don't touch the layout in the visual editor, the modification is in the output code.

If i touch something in the visual editor, ie: i add some text somewhere in the ADD page. The modification is altered in the output code like this:

<META content=chrome=1 http-equiv=X-UA-Compatible>

and the Google Chrome Frame plugin is not loaded and i don't know why....but the result is that the page is rendered slowly because it uses IE to render the page.
Additionaly, the textarea using Basic Rich Text Editor, is just not working (when using IE8). when i type something in the textarea it doesn't show anything, also i can't see the cursor. i have to click in the "view source" twice to see what i wrote.

I don't see this problem with Firefox and Chrome.

I read that someone else had this problem in the forum, he just stopped using the Basic RTE to bypass the problem, that's not a solution to me...
Thanks for helping.
PS:

i'm with phprunner 6.1
This is the <HEAD> of a page loading correctly the Chrome frame plugin (where i didn't touched the layout in Visual editor):

<head>

<title>Gestion SAV</title>

<meta http-equiv="X-UA-Compatible" content="chrome=1">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link REL="stylesheet" href="styles/default.css" type="text/css">



<link REL="stylesheet" href="styles/PurificBlue_white/style.css" type="text/css">

<link REL="stylesheet" href="pagestyles/list6.css" type="text/css">



<!--[if IE]>

<link REL="stylesheet" href="styles/defaultIE.css" type="text/css">

<link REL="stylesheet" href="styles/PurificBlue_white/styleIE.css" type="text/css">

<link REL="stylesheet" href="pagestyles/list6IE.css" type="text/css">

<![endif]-->

</head>


And this is the <HEAD> of a page when i add some characters in the page, using the visual editor, so the Chrome plugin is not loaded:



<HEAD>

<TITLE>Gestion SAV</TITLE>

<META content=chrome=1 http-equiv=X-UA-Compatible>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>

<LINK rel=stylesheet type=text/css href="styles/default.css">



<LINK rel=stylesheet type=text/css href="styles/PurificBlue_white/style.css">

<LINK rel=stylesheet type=text/css href="pagestyles/add2.css">

<!--[if IE]>

<LINK rel=stylesheet type=text/css href="styles/defaultIE.css">

<LINK rel=stylesheet type=text/css href="styles/PurificBlue_white/styleIE.css"><

LINK rel=stylesheet type=text/css href="pagestyles/add2IE.css">

<![endif]-->



<META name=GENERATOR content="MSHTML 8.00.6001.19298">

</HEAD>
C
cetipabo author 10/4/2012

well, here are some news.

I installed a new WAMP server and sent the project output in this new server and i don't have the issues...

i think the problem is related to the Apache or PHP configuration...

i'm using WAMP on Windows XP SP3, with Apache 2.2.9 and PHP 5.3.1 on both servers.

New servers is with the defaults Httpd.conf and php.ini, while the production server has a customized config files...
I don't understand what in apache or PHP could make things that works on chrome and FireFox, and not with IE ???

C
cetipabo author 10/4/2012

well, i uninstalled WAMP on my production server and reinstalled the latest version :

WAMP SERVER 32Bit PHP5.3

Apache 2.2.22 - Mysql 5.5.24 - PHP 5.3.13 XDebug 2.1.2 XDC 1.5 PhpMyadmin 3.4.10.1 SQLBuddy 1.3.3 webGrind 1.0
So i'm with the default instalaltion, and i'm still having the issues mentioned in the 1st post.
Need HELP !

P
procheck 10/4/2012

I have my Chrome frame code in the Login page which rarely gets changed but I read your post and did some testing.

When I first load my project and go into the html page my line is like yours (ie <META content=chrome=1 http-equiv=X-UA-Compatible>). The I click on another screen and back to the Login page (html mode) and it correctly becomes <meta http-equiv="X-UA-Compatible" content="chrome=1">
Then I build my project and it's in the output directory. It's like PHPRunner is not picking up part of my template the first time.
Al

C
cetipabo author 10/5/2012

Without any changes in the project, i uploaded it on 3 servers:

-The demo account on demo.asprunner.net

-My production server

-A test server.
All is working fine on both Demo account & Test server, i have a problem with the production server only. it's weird....

C
cetipabo author 10/5/2012

I Think i found the cause of the problem !!!
When i go on the "working" servers, my browser is NOT in the IE8 compatibility display. i can see the icon with the "broken page" near the address bar. Also in tools/ i can select "compatibility display" not sure it's the correct translation for an english browser.
When runing the project on my production server, i don't have this icon displayed in IE8, and in tools/ the "compatibility display" is greyed.
To verify if the problem is this compatibility thing, i connected to the working servers and enabled the "compatibility display" and BINGO ! the RTE was not working, with the same behaviour of my production server.
So i FOUND the cause. Now the problem is to know what is enabling/disabling this compatibility mode ? it comes from the code or from the server ?

C
cetipabo author 10/5/2012

HAAAA ! Got it !
My server is in the Intranet of the company (our local network)
if i access the server with the servername like this: http://<server name>/project Then the compatibility view is enabled, and things are not working properly.
if i access the server with the IP address like this: http://192.168.1.10/project Then the compatibility view is not enabled, all is working fine
1 week pulling my hairs for this stupid problem <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=68013&image=1&table=forumreplies' class='bbcemoticon' alt='<<' /> i hope it will help other members...
So If you use IE8, and have the google Chrome Frame plugin not loading for any reason, the Rich Text Editor not working properly, then try to access your local server with its IP address it should fix your problem.