Error when using the Simple Captcha Addon in my osCommerce installation

  • Answered
After I followed and implemented the steps under "Securing your osCommerce contact form with the Simple Captcha Add-On" tutorial, I encountered the following error when I subsequently accessed "contact us" on the online catalog:
[10-Apr-2017 16:51:00 America/New_York] PHP Fatal error: Call to undefined function tep_captcha_image() in /home/memoiree/public_html/Shop/contact_us.php on line 69
Installed Version: osCommerce Online Merchant v2.3.4 - it may be that the tutorial is incompatible with this version. Can you please assist to correct the error since I have not backed up files over written as per tutorial?

Hello smiwes,

Thank you for your question about the "call to undefined function" error on the contact page. You may first want to check if PHP error reporting is enabled in this installation. Disabling this may suppress the error until a developer can review the code. Otherwise, it is best advised to review the code, making sure that all module files are included and that the functions needed are being called correctly. Since it is a third party module, it is possible that the new version is not compatible with the one used in the article, or there is some variation in your own PHP Configuration. It would be best to contact the developers of the module for more information in that regard.


Christopher M.