Getting errors with the install

osCommerce add on support. Please note this is only for modifications I have put into place. Please refer any other osDate support to http://forums.oscommerce.com

Getting errors with the install

Postby EveN » Tue Jul 13, 2010 8:41 am

Hi, I've tried installing your recaptcha add on but I'm getting errors. I followed the instructions and even changed captcha/recaptchalib.php to store/recaptchalib.php as that's my main store folder, so that the file path to recaptchalib.php is correct (i.e I hope that was correct...). It didn't work either with the default 'captcha/recaptchalib.php' path. Here's the error messages I'm getting:


Warning: main(store/recaptchalib.php) [function.main]: failed to open stream: No such file or directory in /homepages/**/*********/*****/store/create_account.php on line 508

Fatal error: main() [function.require]: Failed opening required 'store/recaptchalib.php' (include_path='.:/usr/lib/php') in /homepages/**/*********/*****/store/create_account.php on line 508


I can't see any errors on those lines so can't work out what is causing the problem.

The lines of code from lines 507-509 are:

td class="main"><?php echo SPAM_CODE; ?></td><td>
<?php require_once('store/recaptchalib.php');
$publickey = "*********************"; // you got this from the reCAPTCHAsignup page



Any help would be appreciated as I would really like to use this add on.
EveN
 
Posts: 1
Joined: Tue Jul 13, 2010 8:33 am

Re: Getting errors with the install

Postby garyf » Wed Aug 04, 2010 3:58 pm

Sorry for the delay in responding, I have just moved, things have been a little hectic.

Have you downloaded the recaptchalib.php file from reCAPTCHA and uploaded it onto your server. This error indicates that it can't find it. Forgive me if I am wrong, it is a while since I last looked at this package but this file may be the package that you downloaded.

If this doesn't fix it then please let me know, also it would be appreciated if you could let me know if this is the problem.

EveN wrote:Hi, I've tried installing your recaptcha add on but I'm getting errors. I followed the instructions and even changed captcha/recaptchalib.php to store/recaptchalib.php as that's my main store folder, so that the file path to recaptchalib.php is correct (i.e I hope that was correct...). It didn't work either with the default 'captcha/recaptchalib.php' path. Here's the error messages I'm getting:


Warning: main(store/recaptchalib.php) [function.main]: failed to open stream: No such file or directory in /homepages/**/*********/*****/store/create_account.php on line 508

Fatal error: main() [function.require]: Failed opening required 'store/recaptchalib.php' (include_path='.:/usr/lib/php') in /homepages/**/*********/*****/store/create_account.php on line 508


I can't see any errors on those lines so can't work out what is causing the problem.

The lines of code from lines 507-509 are:

td class="main"><?php echo SPAM_CODE; ?></td><td>
<?php require_once('store/recaptchalib.php');
$publickey = "*********************"; // you got this from the reCAPTCHAsignup page



Any help would be appreciated as I would really like to use this add on.
garyf
 
Posts: 11
Joined: Wed Jan 20, 2010 12:14 pm


Return to osCommerce add on support

Who is online

Users browsing this forum: No registered users and 1 guest

cron