11
onasre
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/29 17:57

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


It is not theme problem , i have replaced my theme with Defualt theme and still get the error '"Internet Explorer cannot display the webpage"
when i changed this file 'cp_functions.php
'modules/system/class/gui/legacy/cp_functions.php

with the same one from XOOPS 2.3.2 the legacy works Fine thats proof the problem is within the file cp_functions.php

Strange with Firefox i have no probelm with legacy in 2.3.3

Xoops 2.3.3RC
Php 5
Mysql 5
Browsewr : IE7
Theme Defualt
Modules installed :
Protector
debaser
edito
x_movie
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.

12
Mamba
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/29 18:41

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
"Internet Explorer cannot display the webpage" displays when trying to loadhttp://www.mysite.com/admin.php, i.e. access to admin is denied. The only way back in is to edite the databases config table.

No problems on IE8. Everything works just fine.
Also no problems on Google Chrome.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

13
Marco
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/29 20:07

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


no problem here with php4/php5 and mysql5 and default theme and IE7
that's very strange, i can't replicate your issue
Do synergy or die.

14
ghia
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/29 20:41

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


There are two differences in cp_functons.php:
- first is an additional inclusion of language stylesheets in xoops_legacy_cp_header()
if (file_exists(XOOPS_ROOT_PATH '/modules/system/class/gui/default/css/' _LANGCODE '.css')) {
        echo 
'<link rel="stylesheet" type="text/css" media="all" href="' XOOPS_URL '/modules/system/class/gui/default/css/' _LANGCODE '.css" />';
    }
    if (
file_exists(XOOPS_ROOT_PATH '/language/' $xoopsConfig["language"] . '/style.css')) {
        echo 
'<link rel="stylesheet" type="text/css" media="all" href="' XOOPS_URL '/language/' $xoopsConfig["language"] . '/style.css" />';
    }

Seems OK to me.

- Second is a modification in xoops_legacy_cp_footer()
include XOOPS_CACHE_PATH.'/adminmenu.php';
    echo 
$xoops_admin_menu_dv;
    echo 
"
        </body>
      </html>
    "
;
    echo 
$GLOBALS['xoopsLogger']->render'' );
    
ob_end_flush();

is altered to
include XOOPS_CACHE_PATH.'/adminmenu.php';
    echo 
$xoops_admin_menu_dv;

    echo 
$GLOBALS['xoopsLogger']->render'' );
    
ob_end_flush();

    echo 
"
        </body>
      </html>
    "
;

I can see that you want the debug info inside the body tag, but why doing the ob_end_flush() before the end tags is something beyond me.
I would expect:
include XOOPS_CACHE_PATH.'/adminmenu.php';
    echo 
$xoops_admin_menu_dv;
    echo 
$GLOBALS['xoopsLogger']->render'' );
    echo 
"
        </body>
      </html>
    "
;
    
ob_end_flush();

Quote:
i can't replicate your issue
Could it be a race condition?

15
Marco
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/29 20:48

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


Quote:
Could it be a race condition?

race?
Do synergy or die.

16
ghia
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/29 21:04

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
race?
Condition!

It seems that in other admin themes the debug info may also be outside the body tag.

17
onasre
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/30 4:55

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Just want to update this issue , i have installed fresh 2.3.3 and i have no problem with legacy .
but i have also updated my existing site with fresh files from 2.3.3 but i cant use legacy with ie7 .. so i think the problem is some where within the database tables ..
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.

18
trabis
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/30 12:41

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Maybe problem is with browser cache. Have you tried to clean IE cache after upgrading?

19
colossus
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/31 19:38

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

Similar problem here: with IE 6, an updated 2.3.3 site will hang trying to navigate in the admin section with "legacy" theme (issues a blank page, or protector blocks navigation as "crawler").

No problem in Firefox, or in IE with exm theme.

Regards: Colossus

20
xsell
Re: Legacy GUI Not working with Microsoft Explorer
  • 2009/3/31 22:55

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


i dont understand why the devlopers dont have the same problem that we do here . i have delted the cash and still same. but there no problem when run new installation , but when i update my site with same fresh files i used for fresh installation i get the error menationed above with legacy.

Login

Who's Online

172 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 172


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits