Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

500 Internal Error


Guest

Recommended Posts

Posted

Just had an email from a customer who said my site crashed when they put their order through. Have had a look and its the checkout_process.php that it gets a 500 Internal Error. It says....

 

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.

 

 

--------------------------------------------------------------------------------

 

Apache/2 Server at web54.secure-secure.co.uk Port 443

 

Nothing has changed and I haven't added any contribs etc recently.

 

Anyone any ideas what this means???

 

All help appreciated

Posted

Just had an email from a customer who said my site crashed when they put their order through. Have had a look and its the checkout_process.php that it gets a 500 Internal Error. It says....

 

 

 

Nothing has changed and I haven't added any contribs etc recently.

 

Anyone any ideas what this means???

 

All help appreciated

 

 

Use ftp to check for any recently changed files, 500 errors are usually htaccess related.

 

Consider a possible hacking cause, have u secured your admin & removed file manager?

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Yes admin is secure and file manager is removed but will have a check anyway

 

If there isn't anything a miss could it be anything else?

Posted

Yes admin is secure and file manager is removed but will have a check anyway

 

If there isn't anything a miss could it be anything else?

 

 

as I said 500 errors are usually htaccess related, check if there has been any server upgrades, perhaps u have htaccess that is now invalid for your server.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

This is what my provider came back with:

 

web54.secure-secure.co.uk[-] [Mon Nov 09 09:13:45 2009] [error] [client 91.143.177.134[-]] malformed header from script. Bad [email protected][-]>...: checkout_process.php, referer: https://web54.secure-secure.co.uk/xxxxx.co.uk/store/checkout_confirmation.php?osCsid=c50077b57c372f2ec6465a516271 0418

 

so I guess its something in checkout_process.php or checkout_confirmation.php???

 

.htaccess seems find checking with my backup and my provider says there have been no upgrades recently.

 

Now I'm stuck :(

Posted

Try google

 

site:www.oscommerce.com/forums malformed header from script.

 

Seems to be a few solutions there.

 

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 ======>>>>>.

Posted

This is what my provider came back with:

 

 

 

so I guess its something in checkout_process.php or checkout_confirmation.php???

 

.htaccess seems find checking with my backup and my provider says there have been no upgrades recently.

 

Now I'm stuck sad.gif

 

 

Perhaps a file has become corrupt, have you tried replacing the mentioned with your backup?

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Ok so I have checked the .htaccess files and all seem right, I have checked the checkout php files and there are no spaces top or bottom. I have now reinstalled the backup from when the site was working and I still get the error.

 

So I have sent an email to my provider to ask if they have upgraded their server and if he can reboot apache as this is what others with this problem seem to have found. The other threads all seem to relate to contribs, none of which I have installed.

 

No further on and pulling my hair out!!!

 

Thanks for all the help so far, if anyone has any other ideas please let me know.

Posted

A little bit more info.....

 

I found some white space in the payment module but that didn't solve anything

 

What I did find is that if I use Nochex to checkout I don't get the error but if I select cheque/bank transfer (moneygram) I get it. Not sure if that helps anyone understand the problem.......it doesn't to me

 

Still waiting on my provider to get back to me......aaaarrrrhhhhhhh

Posted

A little bit more info.....

 

I found some white space in the payment module but that didn't solve anything

 

What I did find is that if I use Nochex to checkout I don't get the error but if I select cheque/bank transfer (moneygram) I get it. Not sure if that helps anyone understand the problem.......it doesn't to me

 

Still waiting on my provider to get back to me......aaaarrrrhhhhhhh

 

 

You could try temporarily removing htaccess files to confirm their not the cause, remember sub dirs inherit rules from parent, so the file causing your issue may not be in the same folder as the php file that breaks.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Archived

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

×
×
  • Create New...