Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Website displays fine in firefox/safar - completely broken in IE


buckandzinkos

Recommended Posts

Posted

I have moved everything from the catalog directory down to root so that my SEO later will work better.

 

Everything displays fine in Safari and Firefox but is completely broke in IE. I have updated the configure.php files but still cant figure out how to get IE to display my site properly.

 

Any help would be great.

 

The website is www.buckandzinkos.com

 

Thanks

Posted

I have moved everything from the catalog directory down to root so that my SEO later will work better.

 

Everything displays fine in Safari and Firefox but is completely broke in IE. I have updated the configure.php files but still cant figure out how to get IE to display my site properly.

 

Any help would be great.

 

The website is www.buckandzinkos.com

 

Thanks

For some reason you have this line in your HEAD section:

<base href="">

Firefox/Mozilla will tollerate that but IE will not. It should be:

<base href="http://www.buckandzinkos.com">

 

Maybe you missed something in the configure.php file.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

And look and see it the following line appears correctly in the first 50 lines or so of your index.php file.

 

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

 

I have this exact line in the index.php file. When you write

 

For some reason you have this line in your HEAD section:

<base href="">

Firefox/Mozilla will tollerate that but IE will not. It should be:

<base href="http://www.buckandzinkos.com">

 

which file would this be in? the index.php file doesnt show any of that.

Below I have copied my config.php settings - im pretty sure it all looks correct with the catalog being in the root directory. Do you see anything fishy? Remember that everything displays fine in safari and firefox..just trying to figure out whats throwing off IE.

 

configure.php

-------------------------------------------------

<?php

define('HTTP_SERVER', 'http://www.buckandzinkos.com');

define('HTTPS_SERVER', 'http://www.buckandzinkos.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.buckandzinkos.com');

define('HTTPS_COOKIE_DOMAIN', 'www.buckandzinkos.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/buckan97/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', '*****');

define('DB_SERVER_PASSWORD', '*****');

define('DB_DATABASE', 'buckan97_catalog');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

Posted

I have this exact line in the index.php file. When you write

 

For some reason you have this line in your HEAD section:

<base href="">

Firefox/Mozilla will tollerate that but IE will not. It should be:

<base href="http://www.buckandzinkos.com">

 

which file would this be in? the index.php file doesnt show any of that.

 

That is what displays in your page source when viewed in a browser.

 

As a test I replaced that line in my index.php file to read <base href=""> but when viewing the browser source the lines reads correct, with my domain name there. So, another process that runs at the same time that the index.php file runs is changing that line. It may take a while to figure out which one it is. Hopefully someone else will also offer some ideas.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

What fixed it?

 

 

Apparently my ftp program was letting me upload any file I wanted but when I tried uploading the configure.php file it would tell me access is denied because that file already exists. Instead of overwriting it like normal, it just blocked it for some reason. So I simply renamed that configure file to .BAK and uploaded the new one again...and VOILA. Go figure ...

 

I do have one other small issue that is baffling me. If you are on the home page and click on Mens Apparel in the categories box, the text "Categories" appears next to Mens Apparel. I cant figure out how to make that go away. All of the subcategories show just the subcategory name, its just this top level I cant figure.

Posted

Apparently my ftp program was letting me upload any file I wanted but when I tried uploading the configure.php file it would tell me access is denied because that file already exists. Instead of overwriting it like normal, it just blocked it for some reason. So I simply renamed that configure file to .BAK and uploaded the new one again...and VOILA. Go figure ...

It was a permissions thing. Before you upload the configure.php file you need to set the permissions to be able to overwrite it. Afterwards return the settings to read only.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

It was a permissions thing. Before you upload the configure.php file you need to set the permissions to be able to overwrite it. Afterwards return the settings to read only.

 

 

Makes sense. I must have goofed up the permissions without realizing it because I had been overwriting that file numerous times before. Any ideas on the addendum to my previous post? Thanks for the help.

Posted

Makes sense. I must have goofed up the permissions without realizing it because I had been overwriting that file numerous times before. Any ideas on the addendum to my previous post? Thanks for the help.

In all my shops the category title is controlled by a Header Tag add-on. You will certainly add that contribution soon so enough I'd suggest passing on that for the time being. Once you get your shop stable it will probably be one of the first (after any security updates) that you will add on.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...