Can't register new user -- keeps saying "The confirmation code didn't match" Can't register new user -- keeps saying "The confirmation code didn't match"
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Can't register new user -- keeps saying "The confirmation code didn't match"

Started by matheso, December 29, 2014, 04:57:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

matheso

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?


matheso


allvip

You have included jquery twice on your pages:

jQuery v1.11.0:


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

allvip

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)

Αndré


allvip

Quote from: Αndré on December 29, 2014, 08:39:07 PM
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.

Αndré

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.

allvip


Αndré

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

matheso

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

Αndré

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
Session Support enabled

matheso

My session result says:

QuoteSession 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