dobsy Posted December 20, 2004 Posted December 20, 2004 Hi, I set up an oscommerce store about two weeks ago. Suddenly, the index.php page cannot be accessed - it displays an error http500 - internal server error. I tried uploading new page - no effect. Spoke with hosting company, who said the server settings do not allow scripts over 20 mb to operate. However, the script itself is ony 18kb, though it does call a few includes. The baffling things are: - I have about 10-12 other oscommerce sites running on same server without problem for over a year - This store isn't even complete - there are only a handful of products in the db - I haven't altered index.php , or anything else considerably - it worked fine for two weeks then stopped All the hosting company can suggest is that it may be corrupted somewhere and require re-installing. any ideas?
OceanRanch Posted December 20, 2004 Posted December 20, 2004 The 500 error code is only the tip of the iceburg. You need to look at the apache error log (or have your host look at it). Something else must be contributing to the error. HTH Tom
Guest Posted December 20, 2004 Posted December 20, 2004 Do any of the other pages work? product_info.php , etc... What are the permissions on the index.php file? TJ The 500 error code is only the tip of the iceburg. You need to look at the apache error log (or have your host look at it). Something else must be contributing to the error. HTH Tom <{POST_SNAPBACK}>
Rob123 Posted December 20, 2004 Posted December 20, 2004 My 2 cents... Delete or rename the .htaccess file in your catalog folder. If the problem goes away... you know it's something in that file (restore and fix the problem). If the problem doesn't go away, restore .htaccess and I'll refund you the 2 cents for my thoughts. HTH, Robert
dobsy Posted December 21, 2004 Author Posted December 21, 2004 My 2 cents...Delete or rename the .htaccess file in your catalog folder. If the problem goes away... you know it's something in that file (restore and fix the problem). If the problem doesn't go away, restore .htaccess and I'll refund you the 2 cents for my thoughts. HTH, Robert <{POST_SNAPBACK}> I had already tried deleting .htaccess - no change.
dobsy Posted December 21, 2004 Author Posted December 21, 2004 Do any of the other pages work? product_info.php , etc... What are the permissions on the index.php file? TJ <{POST_SNAPBACK}> Yes, product_info.php works. The information pages (privacy conditions, shipping etc) work on and off - sometimes they do, sometimes they don't. I had asked the host about error logs, but they categorically said it was because the script is drawing over the 20 mb limit, which I can't see as it's only 18 Kb (even with included I cant see how it would et near 20 meg)
Guest Posted December 21, 2004 Posted December 21, 2004 Hate to say it, but, personally, I'd run from this host. There are plenty others out there. Can you send a link to the site? TJ Yes, product_info.php works. The information pages (privacy conditions, shipping etc) work on and off - sometimes they do, sometimes they don't. I had asked the host about error logs, but they categorically said it was because the script is drawing over the 20 mb limit, which I can't see as it's only 18 Kb (even with included I cant see how it would et near 20 meg) <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.