Advertisement:

Author Topic: verification code at registration  (Read 12732 times)

Offline okae

  • Semi-Newbie
  • *
  • Posts: 98
verification code at registration
« on: May 21, 2009, 11:31:46 AM »
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.

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,279
  • Gender: Male
    • cmblaber on LinkedIn
Re: verification code at registration
« Reply #1 on: May 21, 2009, 06:14:42 PM »
What error do you get specifically?
Can you provide us a forum link?
Colin B
Former Spammer, Customize, & Support Team Member

Offline AST3R1X

  • Jr. Member
  • **
  • Posts: 104
    • Demon Pixels
Re: verification code at registration
« Reply #2 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

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,279
  • Gender: Male
    • cmblaber on LinkedIn
Re: verification code at registration
« Reply #3 on: May 21, 2009, 06:49:12 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
Code: [Select]
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

Offline AST3R1X

  • Jr. Member
  • **
  • Posts: 104
    • Demon Pixels
Re: verification code at registration
« Reply #4 on: May 21, 2009, 06:58:06 PM »
Thanks for the response Shadow but that doesnt solve it either  :(

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,279
  • Gender: Male
    • cmblaber on LinkedIn
Re: verification code at registration
« Reply #5 on: May 21, 2009, 07:41:17 PM »
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

Offline AST3R1X

  • Jr. Member
  • **
  • Posts: 104
    • Demon Pixels
Re: verification code at registration
« Reply #6 on: May 21, 2009, 07:42:08 PM »
Thanks very much  ;)

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: verification code at registration
« Reply #7 on: May 21, 2009, 08:15:02 PM »
Same situation here, no verification image.

Offline SoulHunt

  • Newbie
  • *
  • Posts: 7
Re: verification code at registration
« Reply #8 on: May 22, 2009, 09:55:52 AM »
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?


Offline pkrpkr

  • Semi-Newbie
  • *
  • Posts: 27
    • Vintage Camera Online
Re: verification code at registration
« Reply #9 on: May 22, 2009, 03:03:11 PM »
Same here (after upgrade 1.1.9 to 2.0 RC1-1): no verification image.

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,279
  • Gender: Male
    • cmblaber on LinkedIn
Re: verification code at registration
« Reply #10 on: May 22, 2009, 05:33:15 PM »
In ./Sources/Subs-Graphics.php

Find
Code: [Select]
      // 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:
Code: [Select]
// 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

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: verification code at registration
« Reply #11 on: May 22, 2009, 05:44:36 PM »
worked :)

Offline BogiAUT

  • Newbie
  • *
  • Posts: 3
Re: verification code at registration
« Reply #12 on: May 23, 2009, 05:40:27 AM »
Thank you very much :)
Worked for me too  ;D

P.S.: Solved some other issues with images (e.g. SMF Gallery Lite) too
« Last Edit: May 23, 2009, 05:43:47 AM by BogiAUT »

Offline AST3R1X

  • Jr. Member
  • **
  • Posts: 104
    • Demon Pixels
Re: verification code at registration
« Reply #13 on: May 23, 2009, 06:16:46 AM »
Thanks Shadow this worked spot on  ;D

Offline laetabi

  • Full Member
  • ***
  • Posts: 430
  • Gender: Male
Re: verification code at registration
« Reply #14 on: May 23, 2009, 09:34:48 AM »
Thanks  ;D
What type of washing machine is September?

An autumnatic. :)

Offline Linksquest

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
  • Gebruikt SMF versie 2.0.17
    • @Linksquest on Twitter
    • Twitch
Re: verification code at registration
« Reply #15 on: May 23, 2009, 03:25:52 PM »
thnx, it works
Volg mij op Twitter

Offline pkrpkr

  • Semi-Newbie
  • *
  • Posts: 27
    • Vintage Camera Online
Re: verification code at registration
« Reply #16 on: May 25, 2009, 05:55:58 AM »
worked. thank you very much!

Offline smitthhyy

  • Newbie
  • *
  • Posts: 2
Re: verification code at registration
« Reply #17 on: May 25, 2009, 10:39:02 PM »
This also occurs on new install of SMF2.0 RC1-1 and the fix posted above does correct the problem.

Offline Han

  • Full Member
  • ***
  • Posts: 526
  • Gender: Female
    • PC-Navigator Forum
Re: verification code at registration
« Reply #18 on: May 26, 2009, 03:50:23 AM »
Tnx for the fix, Shadow82x. Worked fine for us  :)

Offline okae

  • Semi-Newbie
  • *
  • Posts: 98
Re: verification code at registration
« Reply #19 on: May 26, 2009, 08:53:51 PM »
thx for fix, working for me too ;)