By rodolfoancheta on
hey i read a lot of this to change the first account in the phpMyAdmin, but it doesnt work to me... when i set the MD5 in the function this change the password, but when try to gen logged on its only accept it but never log me in.... so what do i have to do??
Comments
What do you see when you go
What do you see when you go to http://yoursite.com/?q=user
Do you see a login form or only some of your user information?
If you don't see the login form, then you are already logged in and you have a different kind of problem.
i see it
when i go to http://yoursite.com/?q=user I see the log in form, and write again the user id and password, but just the same, the page just refresh and never get logged on...
If you don't see an "Invalid
If you don't see an "Invalid user name or password" message then there is a different problem. Hard to say what without information about how exactly you have set up Drupal (exact version, installation directory, the URL you use, the $base_url if there is one...)
First I would try to
- comment out the $base_url in setings.php if there is one.
- add a correct
ini_set('session.cookie_domain', '.yoursite.com');line (may be diferent if it is a subdomain)- clear the browser's cookies and restart the browser.
But there are more possibilities. See:
http://drupal.org/node/77106
but where?
here is the complete information that i have:
Apache/2.0.58 (Win32)
PHP/5.2.3
SQLite 2
MySQL 5.0.41-community-nt
Perl 5.8
i´m running it in a Server2go, this it´s like a server simulator, that allow you to have "web sites" in your pc, so, you can install the drupal and start to make changes in CSS and when your done u only upload the theme files via FTP to your web site and it´s all done, whit out that problem (i have that problem) to make a change in the CSS and then upload it, then refresh the site and see the changes, if i don´t like it, do the same, ....
I tried whit the cookies, and wasn´t hem.... and the next thing it´s... (i´m kinda new in drupal and all the programing stuff..) where is the setings.php? i look for it in all the folders and never saw it...
The settings.php file is in
The settings.php file is in /sites/default/settings.php. But if you have never touched it probably it is ok and you don't need to...
Cookies are a good place to look
I see this issue a lot with cookies. cog.rusty's suggestions around the cookie solution may be very helpful. If you watch the database while you login (and if this is the problem) you will see in the sessions table that your UID=0 (anonymous) session is being updated even after you've logged in and the UID=1 session should be updated.
-----------------------------------------
Blog: Adding Understanding
Web Services: Brauer Ranch
--