Guest Posted January 15, 2010 Posted January 15, 2010 I need help. I added the Add-on Minsparx Admin and now I can no longer get to my admin panel. I have sent a message to the contributor but he has not been online since it happened last night. I tried restoring all the files with the original files but I still get the following error whenever I try to log on to my admin panel. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Quote
MrPhil Posted January 15, 2010 Posted January 15, 2010 While waiting for the author to get back to you, look at -- 500 error causes http://www.oscommerce.com/forums/topic/345637-internal-server-error/page__view__findpost__p__1442374 Maybe you'll find why your restored files are broken (did you remove the add-on, or did you restore the full files?). You don't have your own "error handler"/"error document"/"error page" files defined, and the system is using the default handlers when you get, say, a 404 error (/catalog/ not found). Then it throws a 404 that it couldn't find the 404 handler! Not critical, but if you'd like to get rid of these extra 404 messages, define your own error handlers. To minimize the number of unnecessary error messages cluttering up your account log, you should supply a set of Error Pages for your account: /400.shtml, /401.shtml, /403.shtml, /404.shtml, and /500.shtml at a minimum, along with a /robots.txt (requested by every search bot) and a /favicon.ico (requested by every browser). If you have cPanel, it has a button to produce the *.shtml Error Pages ("Error pages") -- you can customize them all you want with additional HTML code. /robots.txt can be empty until you figure out what you want to put in it. Any "paint" program can produce a favicon for you (16x16 ICON format). Having these seven files will greatly reduce the clutter in your system error log, enabling you to see real errors that you need to address. Quote
Guest Posted January 15, 2010 Posted January 15, 2010 While waiting for the author to get back to you, look at -- 500 error causes http://www.oscommerce.com/forums/topic/345637-internal-server-error/page__view__findpost__p__1442374 Maybe you'll find why your restored files are broken (did you remove the add-on, or did you restore the full files?). You don't have your own "error handler"/"error document"/"error page" files defined, and the system is using the default handlers when you get, say, a 404 error (/catalog/ not found). Then it throws a 404 that it couldn't find the 404 handler! Not critical, but if you'd like to get rid of these extra 404 messages, define your own error handlers. To minimize the number of unnecessary error messages cluttering up your account log, you should supply a set of Error Pages for your account: /400.shtml, /401.shtml, /403.shtml, /404.shtml, and /500.shtml at a minimum, along with a /robots.txt (requested by every search bot) and a /favicon.ico (requested by every browser). If you have cPanel, it has a button to produce the *.shtml Error Pages ("Error pages") -- you can customize them all you want with additional HTML code. /robots.txt can be empty until you figure out what you want to put in it. Any "paint" program can produce a favicon for you (16x16 ICON format). Having these seven files will greatly reduce the clutter in your system error log, enabling you to see real errors that you need to address. Thank you for your response Mr Phil! I don't understand most of what I did last night but I followed the instructions and copied all of the files that would be changed to Notepad. Then when the install failed, I went to my C Panel this morning and pasted each file back the way it was originally. Im sure there is an easier way to do this but I really dont know what it is. One thing that I did last night is used the Admin tool to add the new files and folders, buttons, gifs, icons, etc. instead of doing it from C Panel. This morning when putting the original files back, I did not use Code Edit, just Edit. Maybe that's the problem since I dont know anything about ascii or binary. I am at the point of just cancelling my website because I never knew anything could be so difficult! Getting help with OS Commerce has been a nightmare as you're the first and only reply I''ve received. So for that, I thank you! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.