Jump to content

[FIXED]Captcha verification issue


I-MAXI

Recommended Posts

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

Link to comment
Share on other sites

  • Administrators

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

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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
×
×
  • Create New...