sydwdn Posted September 17, 2009 Posted September 17, 2009 I need help. My Oscommerce site has been running fine until a recent update to IE8 began to break the display. All of the image links are broken. The text formatting and link formatting is gone and it looks terrible. The only image that displays on the opening page is the header graphic. It looks fine in Firefox. What do I do to fix this? Any help would be deeply appreciated.
germ Posted September 17, 2009 Posted September 17, 2009 Post (or PM) the URL One can't fix what one can't see to find out exactly what's FUBAR.. :huh: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
sydwdn Posted September 17, 2009 Author Posted September 17, 2009 Post (or PM) the URL One can't fix what one can't see to find out exactly what's FUBAR.. :huh: Open this URL with IE8 http://montystore.com/
germ Posted September 17, 2009 Posted September 17, 2009 Looks like you moved the site from the catlog folder to the root folder and didn't do it correctly. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
MrPhil Posted September 18, 2009 Posted September 18, 2009 It displays fine in FF3.5 and IE6, but I don't have IE8 to test on. I do notice that your catalog images are in /catalog/images/PostMate_w_name_150.jpg (for example), but the page source shows <img src="images/PostMate_w_name_150.jpg"... I don't know why that would behave differently in IE8, but anyway, that might be a path to explore -- what directory you are telling osC that your image files are in. Could there be something causing IE8 to ignore your <base href=.../catalog/"> statement? Maybe try dropping the trailing / (...catalog") and see what happens? Maybe FF and IE6 were more lenient in permitting it.
knifeman Posted September 18, 2009 Posted September 18, 2009 Open this URL with IE8 http://montystore.com/ Homepage images show are broken for me as well. The image path is this: http://montystore.com/images/cart_splash.jpg Although on your catalog page they are this: http://montystore.com/catalog/images/cart_splash.jpg Tim
dtrempe Posted September 18, 2009 Posted September 18, 2009 If you enter your site with the address of http://montystore.com/catalog/index.php it opens up fine. It appears when you enter just http://montystore.com/ it is reaching a page in your root directory that has no connection to the 'catalog' directory. You need to create a '.htaccess' file and redirect to the 'catalog' directory. Such as: DirectoryIndex /catalog/index.php Then upload the file as 'ASCII' and put the file it in the directory one level up from you 'catalog' directory.
sydwdn Posted September 18, 2009 Author Posted September 18, 2009 If you enter your site with the address of http://montystore.com/catalog/index.php it opens up fine. It appears when you enter just http://montystore.com/ it is reaching a page in your root directory that has no connection to the 'catalog' directory. You need to create a '.htaccess' file and redirect to the 'catalog' directory. Such as: DirectoryIndex /catalog/index.php Then upload the file as 'ASCII' and put the file it in the directory one level up from you 'catalog' directory. Thanks, guys. I will apply these things and let you know how I come out.
MrPhil Posted September 18, 2009 Posted September 18, 2009 Do not change your .htaccess to DirectoryIndex /catalog/index.php That will break your site, because your server will only look for "/catalog/index.php" if only a directory is given. The default setting for DirectoryIndex is usually something like index.html index.htm index.php. I would also hesitate to follow the suggestion of using .htaccess to redirect your root www.montystore.com to www.montystore.com/catalog/. Now, there's something odd going on, because either you're already redirecting / to /catalog/, or your index.php was moved from /catalog/ to /. It may also be that IE8 is doing something wrong with your <base href> tag. Is it possible to change this to <base href="/catalog"> It's odd that FF and older versions of IE are happy with it, but bugs in IE don't surprise me at all. Where, exactly, is your osC store installed (top directory), did you move index.php, what manual changes did you make, how does configure.php look, and what's in your .htaccess file(s)?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.