Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

http500 internal server error


dobsy

Recommended Posts

Posted

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?

Posted

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

Posted

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

Posted

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

Posted
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

 

I had already tried deleting .htaccess - no change.

Posted
Do any of the other pages work? product_info.php  , etc...

 

What are the permissions on the index.php file?

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)

Posted

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)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...