Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contact Form captcha add-on modifications to prevent 500 error


velvetpixel

Recommended Posts

Posted

If you are having trouble with the contact form captcha add-on the following might help.

 

In installing the captcha add-on:

 

http://addons.oscommerce.com/info/7954

 

I noticed the code comments in section 2 of the instructions use php comments but they are not within php.

 

They need to change from:

//securimage addon

//eof securimage addon

 

to:

<!--securimage addon-->

<!--eof securimage addon-->

 

I was also getting a 500 error upon form submit after installing the add-on. After looking at the logs I saw that the call to:

 

include_once $_SERVER['DOCUMENT_ROOT'] . '/catalog/securimage/securimage.php';

 

did not match my install location. If your osCommerce install is not in /catalog your will need to change that line to reflect your install.

Archived

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

×
×
  • Create New...