Hi,
I have just installed drupal and created database tables.
I clicked in "create new user account" link and provided a username, my e-mail adress and submited the form.
After that, i was redirected to the first page with the login form.
I didn't received any e-mail with the password, so i opened the database and i saw that in the users table was created an unique entry with this values on it:
uid > 0
name > (empty)
pass > (empty)
mail > (empty)
mode > 0
sort > 0
threshold > 0
theme > (empty)
signature > (empty)
created > 0
access > 0
login > 0
status > 0
timezone > NULL
language > (empty)
picture > (empty)
init > (empty)
data > NULL
I tried to login and i received this message: The username has been blocked.
Can someone help me?
Comments
create the first account
Try clicking on "create the first account" in the second paragraph of the first page.
already done that. not
already done that. not resulting.
Double check your $base_url
Double check your $base_url in sites/default/settings.php
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Another option
A couple of days ago I used XAMPP for a test install of 4.7 beta 2 and could not register the "super-user" account. It turned out the .htaccess was missing.
XAMPP and drupal
To get Drupal working with XAMPP on Windows (for local testing) you need to adapt httpd.conf.
I have my drupal installs outside of the server root, because that works better with my programming habits (and editor).
Add a section (adapt the paths!):
Restart Apache so the changes take effect. Now you can use drupal, but clean URLS are not going to work. To get it working you need to adapt httpd.conf and .htaccess.
In httpd.conf locate the line
and move it under or directly above
Note: I'm not sure it's the right position for everything, but it sure works.
Then open .htaccess and uncomment (-#) the line:
Don't forget to restart Apache.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Great guide for XAMPP on Windows
I was using Linux, just had missed the .htaccess file. It was the first time I was doing a local test installation, I usually use web hosting and pay more attention.
As for the XAMPP on Windows I got curious and I think I will try this too.
Forgot; switch PHP
Thanks!
I forgot to add: it's perhaps wise to switch php version from 5.1.0 to one of the 4 versions with the included script (very simple). THEN adapt httpd.conf.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
nice and helpful
but to save some other's more aggravation, this is not a complete solution. So many people seem to think that because something works on their install, it must be right and the solution.
XAMPP has many quirks, and *if* you have only the one site, using localhost, perhaps these mods make it work. But if you have NameVirtualHost enabled, for example, it is still more complicated (I have not yet determined why). And how about if Zend encode ris in place? Ioncube? how about if you restore the Drupal database from a site hosted elsewhere... are you still able to log right into the admin account? I've had lots of problems.
At the every minimum lets all keep some humility in our posts - just because yours works doesn't mean the guy with continuing problems can't follow instructions.
I have a XAMPP install that runs Drupal fine except a glitch in the rewrite/conf prevents an admin login. The session is set, the online user is shown, but access denied for all login screens and YES, the lack of a mail server on the windows box DOES lock me out of diagnosis despite how many times people here claim it's as easy as creating a first user account or editing the user table with an MD5('pw'). What looks like a pw lockout is really a session / URL problem in disguise... no amount of reset will solve it. Each try as admin creates a new active user... all access denied.
I'll find it soon enough, but a half dozen "just do this" and "you have to change that and it works" and "I do it all the time and it works fine" posts have been more annoying than helpful.
SMTP
It is not a solution for the OP.
FYI Incompatible Zend & IONCube versions can wreak havoc on php installations; one should never use them before everything is setup well and running.
An SMTP server doesn't add much to your diagnostic possibilities; some strategically placed drupal_set_messages will.
To get some attention to your problem; could you post a new thread?
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Helpful info on XAMPP & Drupal
Helpful links & discussions on XAMPP & Drupal:
http://drupal.org/node/43330#comment-80514
http://drupal.org/node/43330#comment-80519
http://drupal.org/node/39745
http://drupal.org/node/45421#comment-98410
http://drupal.org/node/29581#comment-75442
http://drupal.org/node/29581#comment-93966
-----
Walt Esquivel, MBA, MA, Captain - U.S. Marine Corps (Veteran)
President, Wellness Corps, LLC
-----
Drupal Users and Developers by Geographical Location
http://drupal.org/node/46659