osflaa Posted May 24, 2015 Share Posted May 24, 2015 Hello! When I try to enter my webshop using IE11, I get the error message "HTTP 500 Internal server error". But everything works fine in Firefox, Chrome and Opera. I'm using oscommerce v2.3.4 and PHP version is 5.5 (they upgraded from v5.3 today, but it didn't make a change). Files have permission 644, config-files have 444 and folders have 755. I have searched a little around here but not found a solution yet. Can anyone help? (I know close to nothing about programming, so please explain as simple as possible) Thanks. Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 24, 2015 Share Posted May 24, 2015 Did the failure happen before or after the php upgrade? If after, I would suspect something in the roots .htaccess file. You can rename that to something else for a quick test. There may also be a php.ini file in the root that is causing it. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 Thank you for your reply. The problem was there both before and after the upgrade of php. I can't see any .ini-file in the root, only the .htaccess and stylesheet.css files. I have tried to rename the .htaccess file but it didn't solve the problem. As for the .htaccess-file I have not changed anything after installing oscommerse and have no clue what it does and how it should be. Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 Thank you for your reply. The problem was there both before and after the upgrade of php. I can't see any .ini-file in the root, only the .htaccess and stylesheet.css files. I have tried to rename the .htaccess file but it didn't solve the problem. As for the .htaccess-file I have not changed anything after installing oscommerse and have no clue what it does and how it should be. When I wrote "only the .htaccess and stylesheet.css files.", I meant in addition to all the php-files. Link to comment Share on other sites More sharing options...
Bob Terveuren Posted May 25, 2015 Share Posted May 25, 2015 Hi try this - maybe you'll get a more specific error flung up: Go to Tools icon - click on that - then click on Internet Options. Click on the Advanced tab. Scroll down and find the line that says ”Show friendly HTTP error messages." Turn this option OFF (make sure the box not checked). Also try popping IE into compatability view. If that does not help then explore the Dev Tools in IE - if you get the network tab open you may see a particular file throwing the error. Finally - I recall something similar once and it was IE not being able to pull in a jQuery file I've Googled for it and searched my emails but I cannot find the exact reference or reason - that would show up in Dev Tools I think Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 Thank you. I tried to turn off "show friendly...", but then the screen went totally blank when I entered the web-address. And compatability view did not change anything. I had a look at the dev tools and found a debug log which says something about the error. I have attached the log as a txt-file. Does it contain any helpful information? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <link rel="stylesheet" type="text/css" href="ErrorPageTemplate.css" > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>HTTP 500 Internal Server Error</title> <script src="errorPageStrings.js" language="javascript" type="text/javascript"> </script> <script src="httpErrorPagesScripts.js" language="javascript" type="text/javascript"> </script> </head> <body onLoad="javascript:expandCollapse('infoBlockID', true); initGoBack(); navCancelInit(); initMoreInfo('infoBlockID');"> <table width="730" cellpadding="0" cellspacing="0" border="0"> <!-- Error title --> <tr> <td id="infoIconAlign" width="60" align="left" valign="top" rowspan="2"> <img src="info_48.png" id="infoIcon" alt="Information icon"> </td> <td id="mainTitleAlign" valign="middle" align="left" width="*"> <h1 id="mainTitle">The website cannot display the page</h1> </td> </tr> <tr> <!-- This row is for HTTP status code, as well as the divider--> <td id="http500Align" class="errorCodeAndDivider" align="right"><ID id="http500"> HTTP 500</ID> <div class="divider"></div> </td> </tr> <!-- Error Body --> <tr> <td> </td> <td id="likelyCausesAlign" valign="top" align="left"> <h3 id="likelyCauses">Most likely causes:</h3> <ul> <li id="causeSiteMaintenance">The website is under maintenance.</li> <li id="causeSiteError">The website has a programming error.</li> </ul> </td> </tr> <!-- What you can do --> <tr> <td> </td> <td id="whatToTryAlign" valign="top" align="left"> <h2 id="whatToTry">What you can try:</h2> </td> </tr> <!-- refresh page --> <tr> <td> </td> <td id="refreshPageAlign" align="left" valign="middle"> <h4> <table> <tr> <td valign="top"> <img src="bullet.png" border="0" alt="" class="actionIcon"> </td> <td valign="top"> <span id="navCancelContainer"></span><noscript id="refreshPage">Refresh the page.</noscript> </td> </tr> </table> </h4> </td> </tr> <!-- back to previous page --> <tr> <td > </td> <td id="goBackAlign" align="left" valign="middle"> <h4> <table> <tr> <td valign="top"> <img src="bullet.png" border="0" alt="" class="actionIcon"> </td> <td valign="top"> <span id="goBackContainer"></span><noscript id="goBack">Go back to the previous page.</noscript> </td> </tr> </table> </h4> </td> </tr> <!-- InfoBlock --> <tr> <td id="infoBlockAlign" align="right" valign="top"> </td> <td id="moreInfoAlign" align="left" valign="center"> <h4> <table> <tr> <td valign="top"> <a href="#" onclick="javascript:expandCollapse('infoBlockID', true); return false;"><img src="down.png" id="infoBlockIDImage" border="0" class="actionIcon" alt="More information"></a> </td> <td valign="top"> <span id="moreInfoContainer"></span> <noscript><ID id="moreInformation">More information</ID></noscript> </td> </tr> </table> </h4> <div id="infoBlockID" class="infoBlock"> <p id="errorExplanation">This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.</p> <p id="moreInfoSeeHelp">For more information about HTTP errors, see Help.</p> </div> </td> </tr> </table> </body></html> Link to comment Share on other sites More sharing options...
burt Posted May 25, 2015 Share Posted May 25, 2015 Post your site URL. Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 www.lydopptak.no/rcars (under construction) Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 I have had many issues with the Norwegian language module, escpecially to get the norwegian letters æ, ø and å to show correctly when editing the texts (have no idea how they will look here). Link to comment Share on other sites More sharing options...
Hotclutch Posted May 25, 2015 Share Posted May 25, 2015 Using this tool http://dev.modern.ie/tools/ The site renders in IE 11 Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 Using this tool http://dev.modern.ie/tools/ The site renders in IE 11 Thank you, I will check it out. Is it possible for you to check if it works with Android? The page will not show on my mobile phone either. Link to comment Share on other sites More sharing options...
Hotclutch Posted May 25, 2015 Share Posted May 25, 2015 Your version of osCommerce is not mobile friendly. Since it appears to be not heavily modified at this stage you should consider starting with a responsive osCommerce. Search the forum for bootstrap osCommerce to see what's been happening in that regard. Link to comment Share on other sites More sharing options...
Hotclutch Posted May 25, 2015 Share Posted May 25, 2015 Here are some tools to test your site on mobile devices: http://mobiletest.me/ https://www.google.com/webmasters/tools/mobile-friendly/ Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 Your version of osCommerce is not mobile friendly. Since it appears to be not heavily modified at this stage you should consider starting with a responsive osCommerce. Search the forum for bootstrap osCommerce to see what's been happening in that regard. Ok, it's not very important that it works on a mobile phone, but it has to work in IE. So I will be happy at this stage if I can solve this issue. Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 Here are some tools to test your site on mobile devices: http://mobiletest.me/ https://www.google.com/webmasters/tools/mobile-friendly/ Thank you! I will download them too. Link to comment Share on other sites More sharing options...
burt Posted May 25, 2015 Share Posted May 25, 2015 Tested in IE11 - works fine. Definitely take the advice given by @@Hotclutch and change to Responsive osCommerce asap.. Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 Tested in IE11 - works fine. Definitely take the advice given by @@Hotclutch and change to Responsive osCommerce asap.. Then it's strange that it doesn't work in IE here. Perhaps I should ask different people to check on their computers. As for Responsive osCommerce: Do I have to start all over again or can I use the same database? Link to comment Share on other sites More sharing options...
Hotclutch Posted May 25, 2015 Share Posted May 25, 2015 Database structure is different between old and new versions, however you can import your data into the new database OR i have seen a conversion script somewhere on the forum if you really need to keep your old database. Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 Database structure is different between old and new versions, however you can import your data into the new database OR i have seen a conversion script somewhere on the forum if you really need to keep your old database. What I would like to avoid, if possible, is to punch in all items from scratch. But if I can import data to the new database then I perhaps don't need to do that? Link to comment Share on other sites More sharing options...
Hotclutch Posted May 25, 2015 Share Posted May 25, 2015 You will have to "punch" data in as you say, but there are tools designed to assist, so it's not tedious or even difficult. You only have 180 products at this stage. What might work on your site is if you run the database conversion script, and just completely replace the server files with a bootstrap version, because i can't see any mods really. Only files that will need to be kept are the configure files. Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 You will have to "punch" data in as you say, but there are tools designed to assist, so it's not tedious or even difficult. You only have 180 products at this stage. What might work on your site is if you run the database conversion script, and just completely replace the server files with a bootstrap version, because i can't see any mods really. Only files that will need to be kept are the configure files. Ok! What about the norwegian language module? It seems like this module is not up to date with the most recent version of oscommerce. 90% of the time I have spent using oscommerce is to solve issues with this module. There are missing definitions, missing files, code placed in wrong files, duplicate files where only one of them is used etc. And I use perhaps one hour to fix something that a skilled person would do in one minute. Link to comment Share on other sites More sharing options...
Hotclutch Posted May 25, 2015 Share Posted May 25, 2015 Where did you get the Norwegian language module from, here on the forum? If it's an addon, you either need to reinstall it with the new installation, or make a note of all your changes and reapply them. Link to comment Share on other sites More sharing options...
osflaa Posted May 25, 2015 Author Share Posted May 25, 2015 Where did you get the Norwegian language module from, here on the forum? If it's an addon, you either need to reinstall it with the new installation, or make a note of all your changes and reapply them. Yes, it was this one (and a small fix released later that I also installed): http://addons.oscommerce.com/info/8773 Link to comment Share on other sites More sharing options...
Bob Terveuren Posted May 25, 2015 Share Posted May 25, 2015 Hi - I can get it working here on IE11 (Windows 8) but only after mucking about with compatability view and setting a header in Dev Tools - then, however, it throws the error mentioned here - try the fix there that Multimixer has I have very little clue about IE11 as I never use it but you could also try this: find the pot in your store where the HTML <head> section is created (usually it will be in includes/template_top.php) you'll see a line or two like: <head><meta charset="<?php echo CHARSET; ?>"> add the following line immediately after that so you get: <head><meta charset="<?php echo CHARSET; ?>"><meta http-equiv="X-UA-Compatible" content="IE=edge"> If that don't help try changing IE= to 9 or 8 or 7 util you get a result Link to comment Share on other sites More sharing options...
Hotclutch Posted May 25, 2015 Share Posted May 25, 2015 You will be able to use that language pack again, but there have been a few changes in addition, in the new bootstrap version, so there will be a little additional work for your language defines. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.