ce7 8 Posted June 2, 2012 Hi I am using osC2.3.1 and install this add on, the SQL file 3.1 doesn't work, got error message, import 3.0 but still need to mannually modify that file I finally make it works but I just wonder, when client forgot password, and the validation code show up, there is a button there, said "Re-arrange Code", it doesn't seems renew, when you click on it, it just re-arrange the character position, so is this button fuction necessary? Can I have "renew" button instead but how can I modify code? I am newbie so have no idea about coding at all. (something like hotmail got refresh | renew the image) Can someone please help? Share this post Link to post Share on other sites
arasouli91 0 Posted July 21, 2012 Can anyone confirm with me that this contribution works with OSC 2.3? Share this post Link to post Share on other sites
♥14steve14 628 Posted July 21, 2012 Can anyone confirm with me that this contribution works with OSC 2.3? Have a look here for an alternative method http://forums.oscommerce.com/topic/318221-osc-recaptcha/page__view__findpost__p__1643730 REMEMBER BACKUP, BACKUP AND BACKUP Get the latest Responsive osCommerce CE (community edition) here It's very easy to over complicate what are simple things in life Share this post Link to post Share on other sites
kgtu5 0 Posted August 21, 2012 (edited) Hi all. Could anyone help with fix error in account_validation.php (many errors in log) PHP Notice: Undefined variable: rangeList in /***/includes/functions/account_validation.php on line 47, referer: http://***/contact_us.php PHP Notice: Undefined offset: 36 in /***/includes/functions/account_validation.php on line 49, referer: http://***/contact_us.php PHP Notice: Undefined variable: rangeList in /***/includes/functions/account_validation.php on line 47, referer: http://***/contact_us.php PHP Notice: Undefined offset: 57 in /***/includes/functions/account_validation.php on line 49, referer: http://***/contact_us.php ??? Edited August 21, 2012 by kgtu5 Share this post Link to post Share on other sites
dr_lucas 39 Posted December 3, 2012 Hi all. Could anyone help with fix error in account_validation.php (many errors in log) ??? Yes, you will need to replace the urand function in /includes/functions/account_validation.php (the entire function) with the following code: function urand($min = NULL, $max = NULL){ static $alreadyGenerated = array(); $rangeList = array(); $full = $max + abs($min); $range = ($min || $max) ? ($max - $min) + 1 : NULL; do{ $randValue = ($range) ? rand($min, $max) : rand(); $key = $randValue + $full; if(count($rangeList) == $range) unset($alreadyGenerated); if($range) $rangeList[$key] = $randValue; }while(isset($alreadyGenerated[$key]) && $alreadyGenerated[$key] == $randValue + $full); unset($rangeList); $alreadyGenerated[$key] = $randValue + $full; return $randValue; } Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Share this post Link to post Share on other sites
revamp 0 Posted April 28, 2015 Hello, I'm using 2.2 MS2 and I get this error: PHP Notice: Constant already defined in /var/www.mysite/validation_png.php on line 28, referer: mysite/contact_us.php validation_png.php line 28: define($configuration['cfgKey'], $configuration['cfgValue']); Can anybody help? Share this post Link to post Share on other sites