Hi James,<br><br>According to what I have seen, drupal 7 no longer uses MD5 to save password and hence they will not accept the old passwords in case of transferring data from older versions.<br>I too faced this problem, the way i solved was, just click on lost your password, and a process is followed, you can try that, or else you can also try using "password-hash.sh" in scripts folder, to generate a password, and directly changing it in DB. I have not yet tried generating a password from this file, but if you dont get a solution, you can try this as well.<br>
<br><div class="gmail_quote">On Sat, Feb 26, 2011 at 9:01 PM, James R Stone <span dir="ltr"><<a href="mailto:fndtn357@gmail.com">fndtn357@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>I have moved sites before this problem, but have never experienced this; I could use some troubleshooting advice.</div><div><br></div><div>I moved my domain from one hosting service (GoDaddy) to a new hosting service (HotDrupal).</div>
<div><br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
This works fine.</blockquote><div><br></div><div>I moved my website from one hosting service (Hostgator) to a new hosting service (HotDrupal).</div><blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;">
</blockquote><ul><li>I created a new database and a sub-domain called "<a href="http://ported.mywebsite.com" target="_blank">ported.mywebsite.com</a>" inside of "<a href="http://mywebsite.com/sites" target="_blank">mywebsite.com/sites</a>".</li>
<li>I ran an import to the new database with the original website's data.</li><li>I moved all of the files, from the original website, into the new sub-domain directory.</li><li>The settings.php file did not need to be modified except for changing localhost to "127.0.0.1".</li>
</ul><blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;"></blockquote><blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;"></blockquote>
<div> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Everything works fine and I was able to log in as /user/1 and work on the website at "<a href="http://ported.mywebsite.com" target="_blank">ported.mywebsite.com</a>".</blockquote><div><br></div><div>** This is where the problem happens.</div>
<blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;"></blockquote><ul><li>I moved my website from "<a href="http://ported.mywebsite.com" target="_blank">ported.mywebsite.com</a>" to "<a href="http://mywebsite.com" target="_blank">mywebsite.com</a>" on the server ("<a href="http://mywebsite.com" target="_blank">mywebsite.com</a>" is the domain and "<a href="http://ported.mywebsite.com" target="_blank">ported.mywebsite.com</a>" is a sub-domain).</li>
<li>I ran an import to the database with "<a href="http://ported.mywebsite.com" target="_blank">ported.mywebsite.com</a>'s" data.</li><li>I moved the "sites" directory from "<a href="http://ported.mywebsite.com" target="_blank">ported.mywebsite.com</a>" replacing "<a href="http://mywebsite.com" target="_blank">mywebsite.com</a>'s" sites directory.</li>
</ul><blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;"></blockquote><div><br></div><div>I can no longer log in as /user/1.</div><div><ul><li>I told the Drupal application that I could not remember the password and it emailed me a one time log in that did not work.</li>
<li>I modified the password from phpmyadmin by creating a new one and adding MD5 hash. I cannot log in.</li><li>I changed a user's rid to administrator (a role I gave all permissions to) and logged in with that username but I was unable to login to the administration menu (even thought it is one of the allowed permissions within the admin role I created).</li>
</ul></div><div><br></div><div>Some pertinent (?) information</div><div>Old cPanel Version 11.28.83 | Apache version 2.2.17 | PHP version 5.2.15 | MySQL version 5.1.52</div>
<div>New cPanel Version 11.28.76 | Apache version 2.2.16 | PHP version 5.2.14 | MySQL version 5.0.91-50-log</div><div><br></div><div>.htaccess looks okay.</div><div>settings.php looks okay.</div><div><br></div><font color="#888888"><div>
-- <br>
<div>Best Regards,</div><div>James R Stone</div><div><a href="mailto:fndtn357@gmail.com" target="_blank">fndtn357@gmail.com</a></div><div><br></div><div><br></div>"The skill of coding is to create a context in which other people can contribute."<br>
<br>
</div>
</font><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Vaibhav Jain<br>