By rl on
Happy New Year!
I am relocating my drupal site from my sites public_html/drup474 to public_html so that my site url is now mysite.com instead of mysite.com/drup474. After I moved the files and changed the settings.php file I expected things to work. I get something, but no themes and no ability to log in. Any idea what else I need to change?
Thanks
Rich
Comments
Here is what I did to get it working
I needed to edit the database backup I made with the backup module (or you could use your phpmyadmin program or other database backup method). My backup was in ascii form. I edited the file and made a search and replace of the old path with the new. There were thousands of them. Created a new database (using cpanel in my case) and imported the edited database with pypmyadmin. Edited settings.php to point to the new database and all is well.
Cheers
Rich
Not for me
The only mentions I see of the path on my PC is in Watchdog entries, which I am assuming I really don't need on the remote server.
My host forces a prefix on my database and usernames; I don't know if that's a problem.
I added that prefix onto my $db_url, but Drupal keeps telling me that it couldn't connect. I'm totally lost now.
Nancy W.
proudly running 3½ sites on Drupal so far
NancyDru
If it appears "themeless" it
If it appears "themeless" it is almost certainly a problem with your $base_url in your /sites/default/settings.php. If you have set one, try to disable it with a # in front now that you are not in a subdirectory.
Also make sure that your .htacess file has been moved along with all the other files, because it is a "hidden" file, and a normal copy or move command leaves it behind.