Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NEW: Anti Robot Registration Validation


Druide

Recommended Posts

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 !

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

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

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 by TheZag
Link to comment
Share on other sites

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 !

Link to comment
Share on other sites

: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 ????

Link to comment
Share on other sites

You use one or the other, in reply to you previous see http://www.oscommerce.com/forums/index.php?sho...c=330479&hl=

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

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.

Link to comment
Share on other sites

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.

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

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 ?!

Link to comment
Share on other sites

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?

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

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...

Link to comment
Share on other sites

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?

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

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 ?

Link to comment
Share on other sites

I mean log in as if you are a customer, browse pages on your site & see if you stay logged in as a customer.

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

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 ?

Link to comment
Share on other sites

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?)

Link to comment
Share on other sites

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

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

 

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

 

...?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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! ;)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...