Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Image validation stopped working on upgrade

Asked Modified Viewed 3,209 times
C
ChadMinter
C
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
asked
Junior Member

Hey,

The other day we upgraded to the newest version of the software,

suddenly the image validation stopped working. Whenever a new user tries to register they get

"Registration failed for the following reason(s):

Incorrect validation code.

Please Try Again"

Any ideas?
0 replies

13 posts

E
Elvenelf
E
  • Member, joined since
  • Contributed 184 posts on the community forums.
  • Started 19 threads in the forums
answered
Member

Maybe your maincore.php is not fully updated?
0 replies
C
ChadMinter
C
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

maincore.php wasn't changed in the upgrade to .14 or .15

I have a feeling that the capcha is one off from what it is supposed to be.

If I look in php myadmin, under fusion_capcha there are two entries with an ip address and capcha code and a hash. What would be the effect of just deleting these two entries? Would the capcha cycle "reset" ??
0 replies
C
ChadMinter
C
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

ok, I've replaced maincore.php from a freshly downloaded copy of the newest version
I've also replaced register.php
I tried deleting the entries in the database under fusion_captcha and that didn't help

I still get

Registration failed for the following reason(s):

Incorrect validation code.

Please Try Again
0 replies
C
ChadMinter
C
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

chankarwing wrote:
You mind showing us your website by posting a link.



Sure, it's http://www.msgr.com
You can try creating an account yourself, I'm really pulling my hair out. I don't know what is going wrong. Like I've said I've replaced all the files I can think of to replace. The site has been working fine for years, but all of a sudden it won't let anyone register...
0 replies
C
ChadMinter
C
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

ok, I found in register.php the bit of code that causes that error to appear


[php]if ($settings['display_validation'] == "1") {
if (!check_captcha($_POST['captcha_encode'], $_POST['captcha_code'])) {
$error .= $locale['410']."<br />\n";
}
}


Where does php come up with captcha_encode and captcha_code to compare?
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

6.01.12 brought an update of the table for captcha:

http://php-fusion.co.uk/infusions/cvs...ile_id=236

If you missed that update for some reason, then the registration failure might be caused by the outdated captcha table.
0 replies
C
ChadMinter
C
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

ok, I manually changed the version number and reapplied the updates for .12, .13, .14, and .15 and that did not help.
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

I've exported the Fusion_captcha table from my (clean installed Fusion 6.01.15) site.
Added it as an attachment. Import this into your DB using PHPMyAdmin.
See the image in the RAR archive for the export settings... (default settings).
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

I've exported the Fusion_captcha table from my (clean installed Fusion 6.01.15) site.
Added it as an attachment. Import this into your DB using PHPMyAdmin.
See the image in the RAR archive for the export settings... (default settings).
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

I've exported the Fusion_captcha table from my (clean installed Fusion 6.01.15) site.
Added it as an attachment. Import this into your DB using PHPMyAdmin.
See the image in the RAR archive for the export settings... (default settings).
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

I've exported the Fusion_captcha table from my (clean installed Fusion 6.01.15) site.
Added it as an attachment. Import this into your DB using PHPMyAdmin.
See the image in the RAR archive for the export settings... (default settings).
0 replies
C
ChadMinter
C
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Well, I managed to delete my fusion_captcha table and it would not restore from your sql file. I opened the file in notepad and figured out how to rebuild the table. The table works just as it did before, but the problem is still there. I still get the error

Registration failed for the following reason(s):

Incorrect validation code.

Please Try Again
0 replies
C
ChadMinter
C
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

this still isn't working if anyone has any ideas?
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 13 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet