KOROUSH Posted March 19, 2007 Share Posted March 19, 2007 I installed it, and looks fine, but the image is very small, I can not see it, any idea? thanks, Quote Link to comment Share on other sites More sharing options...
KOROUSH Posted March 19, 2007 Share Posted March 19, 2007 i have found the problem and fix it, but now I only see the gray image without seeing any numbers or letters inside, any idea? thanks, Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2007 Share Posted March 22, 2007 Hey Alex, Any chance of adding this great contribution to the oscAffiliate registration? I just installed v2.5a of the affiliate contribution and after a bit of tinkering to fix a few bugs covered in the forums, it's working great! Now if I just had the security of Anti Robot Registration, life would be perfect :lol: http://www.oscommerce.com/community/contri...ons,158/page,41 Thanx, Ed Quote Link to comment Share on other sites More sharing options...
damianbunn Posted March 22, 2007 Share Posted March 22, 2007 Hi, Installed this mod and came across the problem where the letters are not showing up on any of the pages. I did the test using the rsid and the validation_png.php and the letters showed UP OK. The instructions mention if another mod has been installed there is a fix If you see the png validation images with validation code when doing this test, but not in any form such as create_account, account_edit, account_password and contact_us, you probably have installed some other contribs which have modified the tep_image() function in html_output.php file under catalog/includes/functions. Please search in the support thread regarding this issue, and you can find a 'work around' in there. I have spent ages searching for this fix as I may well have installed another MOD for our contact_us page where maps and the spam robot are shown. Can anyone point me in the rigth direction for this fix. Thanks Damian Quote Link to comment Share on other sites More sharing options...
steve_s Posted March 23, 2007 Share Posted March 23, 2007 (edited) Hi, Installed this mod and came across the problem where the letters are not showing up on any of the pages. I did the test using the rsid and the validation_png.php and the letters showed UP OK. The instructions mention if another mod has been installed there is a fix I have spent ages searching for this fix as I may well have installed another MOD for our contact_us page where maps and the spam robot are shown. Can anyone point me in the rigth direction for this fix. Thanks Damian try this it worked for me Change $validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']); to $validation_images = '<img src="validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id'] . '">'; I also had to use the 2.5 version of catalog\validation_png.php as the 2.6 version just leaves me with a black box. Is there a fix so I can use the 2.6version of validation_png.php Regards Shaun posted by shaun except it doesnt recognise the code as being valid can anyone help im using 2.6 Edited March 23, 2007 by steve_s Quote Link to comment Share on other sites More sharing options...
steve_s Posted March 23, 2007 Share Posted March 23, 2007 i have found the problem and fix it, but now I only see the gray image without seeing any numbers or letters inside, any idea?thanks, Hi korush try method above this post hehe are you same koroush as on digi forum? Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted March 24, 2007 Share Posted March 24, 2007 hey there, can someone make it so it work with this 2 contri ?? http://www.oscommerce.com/community/contributions,1511 http://www.oscommerce.com/community/contributions,1349 I have try, but it will not work Thanks Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted March 24, 2007 Share Posted March 24, 2007 Excellent. Thanks for all your help here. For those that are using imagemagic just point the code to your existing fonts folder: putenv('GDFONTPATH=' . DIR_FS_CATALOG . 'includes/imagemagic/fonts/'); Works like a champ. Why do that ??? when you set "Use TrueType fonts?" to false you get the same. So it not a fix. Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted March 24, 2007 Share Posted March 24, 2007 I have update to the 2.6 from 2.5 and 2.5 work fine Someone have a fix to this ??? Is get a black box, where are the charters ??? But is only when Use TrueType fonts? is set to true Hope someone can help here. Quote Link to comment Share on other sites More sharing options...
AlexStudio Posted March 24, 2007 Share Posted March 24, 2007 Try this. Quote Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored. Link to comment Share on other sites More sharing options...
TheExterminator Posted March 25, 2007 Share Posted March 25, 2007 Try this. I have try this Alex, is give the same result when i get the "Use TrueType fonts?" to false Quote Link to comment Share on other sites More sharing options...
steve_s Posted March 25, 2007 Share Posted March 25, 2007 have you tried this Change $validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']); to $validation_images = '<img src="validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id'] . '">'; i get characters but even when you enter correct ones says it is invalid Quote Link to comment Share on other sites More sharing options...
steve_s Posted March 25, 2007 Share Posted March 25, 2007 have you tried this Change $validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']); to $validation_images = '<img src="validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id'] . '">'; i get characters but even when you enter correct ones says it is invalid Quote Link to comment Share on other sites More sharing options...
AlexStudio Posted March 25, 2007 Share Posted March 25, 2007 (edited) I have try this Alex, is give the same result when i get the "Use TrueType fonts?" to false Go back to v2.5. Edited March 25, 2007 by AlexStudio Quote Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored. Link to comment Share on other sites More sharing options...
steve_s Posted March 25, 2007 Share Posted March 25, 2007 i replaced 2.6 with 2.5 and had no images so implementad Change $validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']); to $validation_images = '<img src="validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id'] . '">'; get char and always says entry is invalid Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted March 27, 2007 Share Posted March 27, 2007 have you tried thisChange $validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']); to $validation_images = '<img src="validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id'] . '">'; i get characters but even when you enter correct ones says it is invalid Is not work here :) Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted March 27, 2007 Share Posted March 27, 2007 Go back to v2.5. Hmmmmm, do you now where this error is there ???? Quote Link to comment Share on other sites More sharing options...
AlexStudio Posted March 27, 2007 Share Posted March 27, 2007 Hmmmmm, do you now where this error is there ???? Probably the GD library requred by v2.6 is not available on your server. Quote Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored. Link to comment Share on other sites More sharing options...
steve_s Posted March 28, 2007 Share Posted March 28, 2007 im using 2.5 i had no images so implementated change below now i get images but always says its invalid when i enter the correct code Change $validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']); to $validation_images = '<img src="validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id'] . '">'; Quote Link to comment Share on other sites More sharing options...
minimal Posted March 28, 2007 Share Posted March 28, 2007 im using 2.5 i had no images so implementated change below now i get imagesbut always says its invalid when i enter the correct code Change $validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']); to $validation_images = '<img src="validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id'] . '">'; welcome to real world :) Quote Link to comment Share on other sites More sharing options...
AlexStudio Posted March 28, 2007 Share Posted March 28, 2007 If you can see the validation code but cannot get passed with the validation, most likely you have sessions setup incorrectly or not compatible with this contribution. For this contribution to work, you must store session record in database. Also check your cookie domain settings, it should read '.mydomain.com' (2 dots) or '.mydomain.co.kr' (3 dots). Quote Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored. Link to comment Share on other sites More sharing options...
minimal Posted March 28, 2007 Share Posted March 28, 2007 If you can see the validation code but cannot get passed with the validation, most likely you have sessions setup incorrectly or not compatible with this contribution. For this contribution to work, you must store session record in database. Also check your cookie domain settings, it should read '.mydomain.com' (2 dots) or '.mydomain.co.kr' (3 dots). Thank u for your reply Sessions are being stored in the database and the cookie domain is set to localhost cause I'm testing it localy before going live. Is this might be the issue? Quote Link to comment Share on other sites More sharing options...
steve_s Posted March 28, 2007 Share Posted March 28, 2007 If you can see the validation code but cannot get passed with the validation, most likely you have sessions setup incorrectly or not compatible with this contribution. For this contribution to work, you must store session record in database. Also check your cookie domain settings, it should read '.mydomain.com' (2 dots) or '.mydomain.co.kr' (3 dots). im testing it on my test server so is localhost for cookie domain on my real site im using seesion id killer and sessions are not stored in the database so i guess this contribution might not work on my real site? Quote Link to comment Share on other sites More sharing options...
steve_s Posted March 29, 2007 Share Posted March 29, 2007 Ignore above works fine on my live site Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted March 31, 2007 Share Posted March 31, 2007 Probably the GD library requred by v2.6 is not available on your server. The GD library is eneable on my server, so it not there the error are Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.