Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: KahneFan on December 05, 2008, 03:01:01 AM

Title: No Captcha - Members can\'t register
Post by: KahneFan on December 05, 2008, 03:01:01 AM
For some reason my captcha isn't showing up on the registration page for FireFox users. Please help, it prevents FF users from being able to register  :o
Title: Re: No Captcha - Members can't register
Post by: Tyrsson on December 05, 2008, 03:29:31 AM
Well since I guess I am the one that brought this to your attention I could add to this by saying that sometimes they do not show up.

I went to register and once they didn't and the next time they did.

It may have been on my end but rarely does this happen to me.
Title: Re: No Captcha - Members can't register
Post by: KahneFan on December 05, 2008, 03:54:13 AM
Not just you, as you can see from my screenshot from FF, I saw the same thing.
Title: Re: No Captcha - Members can't register
Post by: ThorstenE on December 05, 2008, 03:38:20 PM
the captcha is "invisible" in Firefox but can be found in html sourcecode.. I think it's a CSS issue.. can you attach  styles.css from your theme here please?
Title: Re: No Captcha - Members can't register
Post by: KahneFan on December 05, 2008, 04:10:24 PM
It's attached  :)
Title: Re: No Captcha - Members can't register
Post by: Oldiesmann on December 05, 2008, 04:41:23 PM
It appears to be a server problem. When I try to access the verification image directly, I get a "Connection Interrupted" error (meaning the connection was killed unexpectedly before the page finished loading).

Try adding this code to the beginning of index.php to see if it makes any difference - this will set the maximum execution time to 60 seconds and allow PHP to use up to 32MB of memory (which should be more than enough for that):

@ini_set('max_execution_time', 60);
@ini_set('memory_limit', '32M');


The "@" will prevent errors if your host has disabled ini_set (which isn't all that common among paid hosts, but you never know).
Title: Re: No Captcha - Members can't register
Post by: glennk on December 05, 2008, 04:51:41 PM
Just a long shot but you havn't been messing with any 301's have you ? I redirected /forum/index.php to /forum/ and I lost a lot of things including my captcha image.
Title: Re: No Captcha - Members can't register
Post by: KahneFan on December 06, 2008, 01:06:10 AM
@ Oldiesmann, I added the code as such...

Code (index.php) Select

@ini_set('max_execution_time', 60);
@ini_set('memory_limit', '32M');

$forum_version = 'SMF 2.0 Beta 4';


Testing FF on my laptop it seems to work now. Please also test the direct way you were speaking of and let me know if it gets killed again.
Title: Re: No Captcha - Members can't register
Post by: ThorstenE on December 06, 2008, 02:01:17 AM
Quote from: KahneFan on December 06, 2008, 01:06:10 AM
Testing FF on my laptop it seems to work now. Please also test the direct way you were speaking of and let me know if it gets killed again.
yes, both work now :) Interesting: I tested yesterday before your changes and was able to see the captcha with FF (direct way). So I thought it could be an CSS issue..
Title: Re: No Captcha - Members can't register
Post by: KahneFan on December 06, 2008, 02:20:45 AM
Strange. Glad it works now :D