Hello,
I have an installation of an older version of Drupal - 4.5.1 I believe - which was working great on a server, but I was forced to move it.
I copied all the files, and re-loaded the MySQL db - which loaded in just fine. I then edited the config.php file to update the DB info, and also the URL. I'm having a problem now that I'm unable to view a lot of content, or access anything that was aliased in the navigation.
I noticed a lot of the images are linking like this:
http://www.myurl.com/images/image.jpg
when the base URL is set to be:
http://www.myurl.com/drupalsubdomain.com
and I'd expect to see:
http://www.myurl.com/drupalsubdomain.com/images/image.jpg
So I was expecting that to propagate to all the images and links in the site.
If I manually add the "druplasubdomain.com" to the url in a browser window, I'm usually able to see images.
I am unable to log in to the administration section as well.
I really need to get this site back up, so any help is appreciated. I guess if I was able to turn aliases off somehow, and could get drupal to use the default URLs things might work. I do have full access to the DB, but like I said, I'm unable to get into the admin section.
Thanks!
Comments
htaccess
In your example you do not use the ?q= part. Do you have clean URLs enabled? If so, check that your .htaccess file is updated to the new directory as well, and double-check the base_url setting in settings.php.
Alternatively, you can unset the clean_url option in the database. It's located in the "variable" table. look for the "clean_url" variable and set it to 's:1:"0";' . That should disable clean urls. You will still have to fix any hard links of course, but this way you'll at least be able to get into the administration pages.
Either one of those should get your site up and running.
-------------------------------
GU d- -p+ c++++ l++ e* m* s+ n+ h+ f? g+ w+++ t- r y?
Madcap - design - development - consultancy
http://www.madcap.nl
Thanks! Fixed
Thanks so much for your quick response. Disabling clean URLs in the DB allowed me to log in, and then I was able to start fixing the hard coded links etc.