steve_lou Posted February 23, 2009 Share Posted February 23, 2009 your site has many errors, could not reach contact or account pages & get no images. validation_png.php is not intended to run independantly. if sid is missing code generation will always fail fixing your site errors will no doubt resolve matters thanks for reply. It's a test site, I set the server IP for intranet in configure.php .now I changed to internet IP. could you pls check that again ? I really confused from this contrib. the validate_png.2.5.php file woks , But can not shows the validate code every time. Thank you ! Quote Link to comment Share on other sites More sharing options...
steve_lou Posted February 25, 2009 Share Posted February 25, 2009 Found it. its the server config problem ,I dont know why.just uploaded all file and import data to an other server .it works perfect fine. Quote Link to comment Share on other sites More sharing options...
TheZag Posted March 3, 2009 Share Posted March 3, 2009 Hello. I installed this great contribute. Today I noticed that on first entry on the page, no validation code is shown, but if I refresh the page, it comes. All my site is running on https if it could be important. Also, in Admin I selected the text and the button to refresh... But I don't see them in pages... Thanks for any help. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 3, 2009 Share Posted March 3, 2009 This is often a missing sid issue, refreshing the page regenerats it so image appears. Check your not loosing sid (no links without tep_href_link etc) Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
TheZag Posted March 3, 2009 Share Posted March 3, 2009 (edited) Thanks Sam! You're always ready to give a reply, thanks for your support! Please, ... uhm... can you explain a little bit what do you mean ??? :rolleyes: And... Do you know why in Admin config Anti Robot Reg Display Text and display Button don't work ? Edited March 3, 2009 by TheZag Quote Link to comment Share on other sites More sharing options...
TheZag Posted March 3, 2009 Share Posted March 3, 2009 ...Another thing. In the Contribution there are 2 validation_png.php and validation_png_2.5.php Which one should be used ??? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
TheZag Posted March 5, 2009 Share Posted March 5, 2009 This is often a missing sid issue, refreshing the page regenerats it so image appears. Check your not loosing sid (no links without tep_href_link etc) :blink: Please I neel help to understand what to check. What does it means "not loosing sid" ? What is "sid" ? What does it mean "no links without tep_href_link... etc" ? Thanks ! Quote Link to comment Share on other sites More sharing options...
TheZag Posted March 5, 2009 Share Posted March 5, 2009 :blink: Please I neel help to understand what to check. What does it means "not loosing sid" ? What is "sid" ? What does it mean "no links without tep_href_link... etc" ? Thanks ! Please-Please... In the contribution I have 2 files as validation_png validation_png and validation_png_2.5 do i have to install both ???? Quote Link to comment Share on other sites More sharing options...
spooks Posted March 5, 2009 Share Posted March 5, 2009 You use one or the other, in reply to you previous see http://www.oscommerce.com/forums/index.php?sho...c=330479&hl= Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
TheZag Posted March 5, 2009 Share Posted March 5, 2009 You use one or the other, in reply to you previous see http://www.oscommerce.com/forums/index.php?sho...c=330479&hl= :blink: Please... How do I know which one is the good one ???? Do I have to use the second and after upload I change the name taking away the 2.5 ???? Thanks, but why there's no info on the read me ? Also, I don' t have any text or button to refresh. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 5, 2009 Share Posted March 5, 2009 validation_png is the latest and validation_png_2.5 is an old version using different techniques, so may be usefull if trouble with the latest on some servers, just rename the old to same as new. There are notes somewhere, I forget exactly where though. If you have a missing sid the old will still fail to work, for same reason I detailed in that post a gave. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
TheZag Posted March 6, 2009 Share Posted March 6, 2009 validation_png is the latest and validation_png_2.5 is an old version using different techniques, so may be usefull if trouble with the latest on some servers, just rename the old to same as new. There are notes somewhere, I forget exactly where though. If you have a missing sid the old will still fail to work, for same reason I detailed in that post a gave. If I use the new one, I have a red mask with "Generation Error: Mssing SID Please Refresh browser" text. If I refresh no changes. If I use the old one, there's like a missing image empty space. If I refresh the code appears. But no text or button for refresh works ?! Quote Link to comment Share on other sites More sharing options...
spooks Posted March 6, 2009 Share Posted March 6, 2009 So it still looks like you have SID issue, have you read through http://www.oscommerce.com/forums/index.php?sho...c=330479&hl & checked if you have any problems? If you log into your site then browse pages do you get logged out? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
TheZag Posted March 6, 2009 Share Posted March 6, 2009 So it still looks like you have SID issue, have you read through http://www.oscommerce.com/forums/index.php?sho...c=330479&hl & checked if you have any problems? If you log into your site then browse pages do you get logged out? Please be patience, but as english is not my native language, I find some difficulties to understand... So, do I have to check all pages to find all links without tep_href_link ??? (...GULP! ALL pages ?!) For example in create_account.php i have without that code these: 1) <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> 2) <link rel="stylesheet" type="text/css" href="stylesheet.css"> Do I have to change them ? ... :blink: ... Can I have an help to understand HOW ? I'm not a PHP programmer... Do there is any referrement somewhere ? Another thing, where can I check the better configuration for SESSIONS section in ADMIN ? Do there is some samples ? I have read somewhere that Prevent Spider Sessions doesn't work if Force Cookie Use is True, but somewhere else, I found I have to have Prevent Spider Sessions as True... Quote Link to comment Share on other sites More sharing options...
spooks Posted March 6, 2009 Share Posted March 6, 2009 Please be patience, but as english is not my native language, I find some difficulties to understand...So, do I have to check all pages to find all links without tep_href_link ??? (...GULP! ALL pages ?!) For example in create_account.php i have without that code these: 1) <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> 2) <link rel="stylesheet" type="text/css" href="stylesheet.css"> Do I have to change them ? ... :blink: ... Can I have an help to understand HOW ? I'm not a PHP programmer... Do there is any referrement somewhere ? Another thing, where can I check the better configuration for SESSIONS section in ADMIN ? Do there is some samples ? I have read somewhere that Prevent Spider Sessions doesn't work if Force Cookie Use is True, but somewhere else, I found I have to have Prevent Spider Sessions as True... 1 & 2 are OK Sessions: I think you want Admin Session Length Control http://www.oscommerce.com/community/contributions,5899 You should have Prevent Spider Sessions as True Force Cookie Use wont affect Prevent Spider Sessions (spiders don`t have cookies) If you log into your site then browse pages do you get logged out? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
TheZag Posted March 6, 2009 Share Posted March 6, 2009 If you log into your site then browse pages do you get logged out? I don't understand what do you mean ? I can navigate in it... Or do you mean to create an account ? Another thing... Should do I install something like "Sitemap SEO" contribution ? Quote Link to comment Share on other sites More sharing options...
spooks Posted March 6, 2009 Share Posted March 6, 2009 I mean log in as if you are a customer, browse pages on your site & see if you stay logged in as a customer. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
TheZag Posted March 6, 2009 Share Posted March 6, 2009 I mean log in as if you are a customer, browse pages on your site & see if you stay logged in as a customer. I don't find any problem... BUT in account_edit I found this... $validation_images = tep_image_captcha('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id'] .'&csh='.uniqid(0)); Is this is correct ??? I don't find this function... I was working on tep_image to tep_image_original as I read at the beginning here.... Should it be that ? Quote Link to comment Share on other sites More sharing options...
TheZag Posted March 7, 2009 Share Posted March 7, 2009 I mean log in as if you are a customer, browse pages on your site & see if you stay logged in as a customer. Probably I found what you was saying.... Sorry for my english... Anyway, in header.php I found many direct href="www.example.com/..." probably are these ? (SID lost issue?) Quote Link to comment Share on other sites More sharing options...
spooks Posted March 7, 2009 Share Posted March 7, 2009 Probably I found what you was saying....Sorry for my english... Anyway, in header.php I found many direct href="www.example.com/..." probably are these ? (SID lost issue?) precisly, fix as per http://www.oscommerce.com/forums/index.php?sho...c=330479&hl Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
TheZag Posted March 7, 2009 Share Posted March 7, 2009 precisly, fix as per http://www.oscommerce.com/forums/index.php?sho...c=330479&hl Thanks a lot for your support. How should I change if I have a link to another site ? I tried, but I have an error page bcause the link becomes like this https://www.MySite.com/https://www.LinkedSite.com ...? Quote Link to comment Share on other sites More sharing options...
ankurdhoom Posted March 9, 2009 Share Posted March 9, 2009 every thing is working fine only problem is that i am not getting refresh option!!!!!! what i have to do? Quote Link to comment Share on other sites More sharing options...
TheZag Posted March 10, 2009 Share Posted March 10, 2009 Hello... I'm going mad looking to fix the SID problem... Please, this command has to be changed ? <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> Thanks for help Quote Link to comment Share on other sites More sharing options...
gtilflm Posted March 10, 2009 Share Posted March 10, 2009 FOR THOSE OF YOU NOT GETTING THE REFRESH IMAGE/TEXT....... The issue is that the code for it was not included in the instructions when modifying an existing store. Go to the catalog\account_edit.php file in the package that you downloaded. Search that file for "refresh". There will be a block of code that you'll see that needs to be inserted into the files on your site that you want the Captcha to display on. (Be sure to edit the links in that block of code to refer to the page you're inserting it on.) That should do it. However...... that only refreshes the page. If someone would/could make it just refresh the image so you don't lose the data you typed in, that would be great! ;) Quote Link to comment Share on other sites More sharing options...
fmurga Posted March 10, 2009 Share Posted March 10, 2009 Dunno if this will help but... I was missing the validation code image on one of my sites, furtunately, it was showing fine on another site... Checked the settings in the admin panel and found this on the site with the problem: Configuration -> Images -> Image Required was set to false When I changed it to true, the validaton code image appeared again when creating an account. I hope it helps. 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.