[FIXED]Captcha verification issue

Hello,

There are two problems with captcha verification in the forum registration page:

1)Captcha image doesn’t appear;

2)If you tray to update captcha image, you will be redirect to phpVMS Home Page;

Marco

I found the solution on the SMF Support web Site, here is the code:

in ./Sources/Subs-Graphics.php

Find:

  // Walk the right path.      if (!empty($modSettings[‘currentAttachmentUploadDir’]))

      {

        if (!is_array($modSettings[‘attachmentUploadDir’]))

            $modSettings[‘attachmentUploadDir’] = unserialize($modSettings[‘attachmentUploadDir’]);

        $path = $modSettings[‘attachmentUploadDir’][$dir];

      }

      else

        $path = $modSettings[‘attachmentUploadDir’];

Make It:

// Walk the right path.

      if (!empty($modSettings[‘currentAttachmentUploadDir’]))

      {

        if (!is_array($modSettings[‘attachmentUploadDir’]))

            $modSettings[‘attachmentUploadDir’] = unserialize($modSettings[‘attachmentUploadDir’]);

        $path = $modSettings[‘attachmentUploadDir’][$modSettings[‘currentAttachmentUploadDir’]];

      }

      else

        $path = $modSettings[‘attachmentUploadDir’];

Source: http://www.simplemachines.org/community/index.php?P=fe96009fe8a2e514f91f59675d1e6997&topic=312047.msg2073091#msg2073091

Solution by: Shadow82x

Marco

However I advice to use reCaptcha plugin for SMF it’s more secure than SMF default captcha.

Here is the link for SMF Mod:  http://custom.simplemachines.org/mods/index.php?mod=1044

Here is the link of reCaptcha to get API key: http://recaptcha.net/

It’s compatible on SMF 2.0 RC1-1.

Marco

There is no captcha image in the registration of phpvms just two random number you have to add, so there is no mistake there.

Cheers

Dan C

Ehm no, i’m referring to phpVMS Official Forum 

Wow that’s pretty lame. No wonder it’s been kinda quiet LOL

I had upgraded SMF. I had recaptcha working, perhaps it broke on the upgrade. Thanks man, checking it out now

(ps - did you register, without the captcha?)

Alright, been fixed, thanks!

I have heard the captcha 

nothing!

eh eh you have installed recaptcha eh?

is a nice mod, isn’t it?

Ya, I had it installed before, I guess it got lost in the forum update