News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

verification code at registration

Started by okae, May 21, 2009, 11:31:46 AM

Previous topic - Next topic

okae

hi, i just update my forum 2.0rc1 to 2.0rc1-1; with 2.0rc1 all works fine, but after the updated the verification code when someone try to register dont work, i dont know why, so please can anyone help me?

btw i search arround the forum but nobody have the same problem as me with 2.0rc1-1 and other solutions about other versions dont work for me, please help me.

shadow82x

What error do you get specifically?
Can you provide us a forum link?
Colin B
Former Spammer, Customize, & Support Team Member

AST3R1X

I'm having the same problem. I updated 4 sites no problem the last site shows its upgraded but does not show the verification image on the reg page. There are no errors being thrown out either. I have tried to do a fresh clean install on another server and even a fresh install using the full package does not show the verification image. Im at a complete loss with this.

The effected site is  http://www.no-quarter-given.co.uk/index.php

Any help appreciated

shadow82x

Quote from: AST3R1X on May 21, 2009, 06:46:00 PM
I'm having the same problem. I updated 4 sites no problem the last site shows its upgraded but does not show the verification image on the reg page. There are no errors being thrown out either. I have tried to do a fresh clean install on another server and even a fresh install using the full package does not show the verification image. Im at a complete loss with this.

The effected site is  http://www.no-quarter-given.co.uk/index.php

Any help appreciated
Try replacing the source file Subs-Graphics.php from a fresh patch download. (modified_2-0rc1_2-0rc1-1.zip)

http://www.simplemachines.org/community/index.php?topic=311899.0

I am getting an error when the visual confirmation code is being loaded
Parse error: syntax error, unexpected T_ELSE in /home/saddlewo/public_html/no-quarter-given.co.uk/Sources/Subs-Graphics.php on line 227

Colin B
Former Spammer, Customize, & Support Team Member

AST3R1X

Thanks for the response Shadow but that doesnt solve it either  :(

shadow82x

Hm. This appears to be a bug in the SMF2.0 RC1-1 patch.

Ill try and get back to you with a fix :)
Colin B
Former Spammer, Customize, & Support Team Member


Akyhne

Same situation here, no verification image.

SoulHunt

I have the same issue. Won't show the verification code.
All themes have the same issue.

Also you can't listen the code. Won't work either.
Any solution?


pkrpkr

Same here (after upgrade 1.1.9 to 2.0 RC1-1): no verification image.

shadow82x

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'];


That should do the trick.
Colin B
Former Spammer, Customize, & Support Team Member

Akyhne


BogiAUT

#12
Thank you very much :)
Worked for me too  ;D

P.S.: Solved some other issues with images (e.g. SMF Gallery Lite) too

AST3R1X

Thanks Shadow this worked spot on  ;D

willerby

What type of washing machine is September?

An autumnatic. :)

Linksquest

Volg mij op Twitter

pkrpkr


smitthhyy

This also occurs on new install of SMF2.0 RC1-1 and the fix posted above does correct the problem.

Han

Tnx for the fix, Shadow82x. Worked fine for us  :)

okae


Advertisement: