razvan Posted November 7, 2009 Posted November 7, 2009 I wanted to modify something in application_top.php , after I changed it , the site stoped working , so I uploaded again this file from the original OSCommerce script from my hard.The problem is that now it stil doesn't work. What Should I do ?
razvan Posted November 7, 2009 Author Posted November 7, 2009 This is what I get : a http 500 error and the page has this code : <!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="Info 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>
♥geoffreywalton Posted November 8, 2009 Posted November 8, 2009 Check the permissions on the file, it should have the same as the other files in that directory. Google site:www.oscommerce.com/forums http 500 Enjoy G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.