Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Can't register new user -- keeps saying "The confirmation code didn't match"  (Read 4797 times)

0 Members and 1 Guest are viewing this topic.

matheso

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 91

I can't make an account, because I keep getting the error shown in the screenshot below. The code is very clear, and I've tried with caps and without.
Username/passwords and email is fine.

What gives?

Logged

matheso

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 91

The code above is clearly SNDBU but that didn't work
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362

You have included jquery twice on your pages:

jQuery v1.11.0:

Code: [Select]
<script type="text/javascript" src="http://taskbasket.net/gallery/themes/matheso/js/jquery.js"></script>

The jquery update plugin that you installed adds jQuery v1.11.1 to all pages. If you use jquery plugins like fancybox or other pugins you may want to use, you do not need to include jquery.
On the facybox plugin page says to include jquery first, but you already have query on all your pages.

Without the jquery update plugin installed, coppermine adds by default to all pages jquery-1.3.2 (is in the js folder of your gallery). I told you to install jquery update plugin to replace 1.3.2 with 1.11.1 because masonry works much better with jquery 1.11.1.
All other jquery plugins should work fine with jquery 1.11.1.

You can NEVER include 2 versions of jquery on the same page. It creates a jquery conflict and many thing could stop working like create new album, rating stars, filmstrip.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362

Anyway, if you notice in the future that users register, but never upload, comment or activate their account, those are boots, that managed to pass your coppermine captcha.

More advance captcha:   reCAPTCHA plugin http://forum.coppermine-gallery.net/index.php/topic,57439.0.html

reCAPTCHA is made by Google so first you have to go here: https://www.google.com/recaptcha/intro/index.html to subscribe your website and get the keys.

If you don't want to use the plugin, then follow the steps on how to add it to your website.
The plugin uses the old version of reCAPTCHA, Google made it more advanced.

Another captcha plugin:  Problem Solving CAPTCHA plugin for cpg1.5.x http://forum.coppermine-gallery.net/index.php/topic,76723.0.html. Is text, not image captcha (see attachment captcha)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

Please post a link to your gallery, so we can test ourselves.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362

Please post a link to your gallery, so we can test ourselves.

He posted the link in another topic taskbasket.net/gallery/
He removed the extra jquery.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

I don't think that jQuery is responsible for that issue in any way, but I could be wrong. If I remember correctly the captcha is stored in a PHP session, so this must be supported/enabled by your browser server. Unfortunately I currently cannot test this myself with the computer I'm sitting on.
« Last Edit: December 29, 2014, 09:32:11 pm by Αndré »
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362

Not working.
I test it even with the curve theme: http://taskbasket.net/gallery/index.php?theme=curve.
I forgot I can change theme.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

Sorry, I just fixed the typo in my above post (and I also tested with the curve theme ;)).
Logged

matheso

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 91

I've removed the jquery like you said, and it's still not working -- it seems you both have realized this.

I'll likely implement Google's reCAPTCHA when my site's ready to go, but I don't want to run into this problem.

@Αndré :  You said it could be a PHP issue, how do I test if this is the problem??

Thanks
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

Have a look at http://taskbasket.net/gallery/phpinfo.php and search for the section "session". Honeslty, I don't know what exactly needs to be set so the captcha will work, but you'd need to find at least the line
Code: [Select]
Session Support enabled
Logged

matheso

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 91

My session result says:

Quote
Session Support   enabled
Registered save handlers   files user sqlite
Registered serializer handlers   php php_binary wddx

Not sure what this means... or why it would not allow captchas to work. I'll try Google's version
Logged
Pages: [1]   Go Up
 

Page created in 0.171 seconds with 20 queries.