ewiget
Admin
 Admin
| Posts: 171 |  | Karma: 2
|
Internet Explorer 80004004 error - 2004/12/06 03:36
See this link for reference: http://forum.mamboserver.com/showthread.php?t=19594&page=3&pp=10&highlight=problems+logging
The two methods below will fix the Internet Explorer 80004004 error either when viewing a mambo web site or when they log into a web site using Internet Explorer. Method to use will depend on template being used on the web site. For first example, this is the modified sk_business3 template (which we are using here - cause I loved it so much!)
Method #1 - replace all of this section of the template index.php page
| Code: | <?php echo "<?xml version=\"1.0\"?>";
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $mosConfig_sitename; ?></title>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php
if ($my->id) {
include ("editor/editor.php"«»);
initEditor();
}
?> <?php include ("includes/metadata.php"«»); ?>
|
Details - the next line of code that should have appeared above causes me to be returned to the homepage without the forum post being made. It only occurs if the code is incased in the < > signs:
script language="JavaScript" type="text/javascript"
I am skipping it and going on, hopefully there is enough code above to tell the problem is in the location of the initEditor(); section.
Method 2 - this is from solarwinds (basically just moved the mosShowHead function
| Code: |
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = split( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
if ( $my->id ) {
include ("editor/editor.php"??);
initEditor();
}
$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$sandbox_area = 0;
// banner combos
//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
$user1 = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
$user2 = 1;
}
//right based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) )
{
$sandbox_area = 2;
} else {
$sandbox_area = 1;
$user1 = $user1 == 1 ? 3 : 4;
$user2 = $user2 == 1 ? 3 : 4;
}
?>
<?php mosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/rhpstudios_earlywineracing/css/
template_css.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico"/>
</head>
<body>
|
Post edited by: ewiget, at: 2004/12/06 04:24
Ed Wiget Technical Support http://www.xtremewebhosts.com |