Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Securing folder gave me 500 Internal Server Error


Guest

Recommended Posts

Posted

Hi,

 

My site had been going fine when I remembered that I hadn't secured the admin folder! :-" So, I went into cpanel, did that and carried on.

 

It's only today that I've noticed that I can't now add new products, or edit current ones. I get this note if I try:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

My error logs state:

[Fri Jun 30 13:48:48 2006] [error] [client 217.34.52.14] mod_security: Access denied with code 500. Error processing request body: Multipart: invalid part header (missing colon): [2]"\\r\\n [severity "EMERGENCY"] [hostname "valuechristianbooks.co.uk"] [uri "/catalog/admin/categories.php?cPath=&pID=28&action=new_product_preview"] [unique_id "RKUdr1QSxkgAAJYsL38"]

 

Anyone got any ideas?

Posted

Can anyone help? I'm kinda stuck at the moment! :blink:

Posted

If you applied security to admin using cPanel then that's unlikely to be the cause of the error - but you can try removing it to see if it does help.

 

But the error points to a missing colon in one of your files.

 

Vger

Posted
...the error points to a missing colon in one of your files.

 

In here: catalog/admin/categories.php ?

Posted

Okay, I installed a fresh vanilla version of admin/categories.php and that seems to have solved the problem. What concerns me is that I first tried to install a back-up from April and the problem still occurred. However, this problem has only been happening for about a week, so I wonder if there is something else going on.

 

The trouble now is that the fresh version does not include the changes that I made months ago with the Extra Fields Contribution. When I make those changes the error occurs. But I've got to have the extra fields.

 

Does anyone have any suggestions?

Archived

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

×
×
  • Create New...