ShopSite Knowledgebase

Premature end of script headers during order process when using a custom cgi (via the Order API)

Product: Pro
Version: ALL
Platform: ALL

An Internal Server Error (or Server 500 error) is received at the end of the order process when using a custom cgi program with the Order API feature. When I disable the custom cgi by removing its name from the Merchandising -> Order API menu, then orders are placed successfully. What could be the problem>

Solution ID: S03711

Enabling a custom cgi specified in Order API, results in the error occurs: Premature end of script headers To diagnose the problem, substitute "" which is provided in the shopping cart directory.

If this script runs without the Premature end of script headers, the problem is due to the custom cgi that was developed not running properly.

Review the Order API Specification in the online documentation at to determine if the custom cgi is written to the specification. The ShopSite User Forum at is another resource to collaborate with other developers and ShopSite merchants on such issues as developing custom CGIs.

Related Articles

No related articles were found.


No attachments were found.

Visitor Comments

Article Details

Last Updated
13th of November, 2008

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions

How would you rate this answer?

Thank you for rating this answer.