Image is not visible because of no uid=0 in users table
kendre_paresh - April 11, 2008 - 14:28
| Project: | CAPTCHA |
| Version: | 6.x-1.0-rc2 |
| Component: | Captcha API (captcha) |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
Hello all,
Will you pleas tell me why CAPTCHA image is not displayed in user registration form? I have done with all the setting from admin panel to show it in user registration form.
Few days before it was showing me image, but now its not?
Will you please tell me, Do i need to do any thing with $_SESSION variables?
Please tell me.

#1
version 5.x-2.x of CAPTCHA module is not supported anymore (and is known to be buggy).
please upgrade to 5.x-3.x and reopen this issue if you still have this same problem
#2
I have installed the new version of CAPTCHA(6.X), but then too its not showing the image,
Does it related with SESSION?
Because the session is not working for me.
#3
You installed CAPTCHA 6.x (6.x-1.0-rc2 probably) on a Drupal 6.x site, I hope?
And yes, CAPTCHA requires sessions to work.
What do you mean with "Because the session is not working for me."?
Can you log in when the CAPTCHA module is disabled?
Also, does the math CAPTCHA work?
Please provide enough information.
#4
Hello,
I got it, what i had did is, i had deleted the row in user table which have user id 0.
Which causes, sessions are not to set for anonymous user.
Now its working fine.
What i have understood is, user table should have record with user id 0, which is working as foreign key in session table.
does it? am i on right track?
- Paresh.
#5
A record with uid=0 in users table is required for sessions for anonymous users indeed.
also see:
http://drupal.org/node/243285
http://drupal.org/node/179915
http://drupal.org/node/204095#comment-673892
#6
-