Hi Folks,

Have spent tons of time on this with no luck so I'm at your mercy now :)

I had 5.3 running on my host.
Got a new host and wanted to move my site over and upgrade to 5.7
I followed the instructions in the cookbook for upgrading to a newer version. Here's what I did. I uploaded drupal 5.7 and unpacked it in the root. I uploaded all my contributed modules and themes. Then I copied over the 'files' folder and the settings.php file from the original backed up site. What I didn't do was move the .htaccess file as I can't find it. I'm on a Mac and I guess the mac makes the .files invisible so maybe that's my problem...

When I go to the mysite/upgrade.php it walks me through but when it's done and I try to go to the admin pages I get "access denied" Plus any other urls, like mysite.com/admin results in an error.

My front page shows if I just go to the root directory but its completely unformatted and looks bad.

Any help is most appreciated!

Comments

vm’s picture

A) find the setting on your mac that allows you to view hidden files.
B) backup your DB
C) back up your files
D) read the upgrade.txt file of drupal 5.7 and follow those instructions.

If your site was originally installed with fantastico, then it becomes more difficult to help as I've never used it, beyond testing it to realize I don't like that I have no control over it.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

jburnard’s picture

Thanks for the reply. It was set up with fantastico so I guess I'll see how that affects things.

One thing that confuses me. Since I'm moving to a new location AND upgrading is that messing things up? In other words, the first thing it says to do is login as User 1 and change the theme to the default. Well in my case I have nothing in the new location to begin with. Should I be 'moving' my site THEN upgrading or is it possible to do both at the same time?

Thanks again.

vm’s picture

uprading and moving adds a layer of complexity. yes.
I'd upgrade, then move.

or move then upgrade may be safest bet in this case because you are moving a site originally installed with fantastico which could also add a layer of complexity to what you are doing.

what I do when I move a site.
turn off clean urls
clear my cache tables in the DB
clear my browser cache
insure that settings.php reflects the correct $base_url if it was set originally

you still have to make sure you can move the .htaccess file, to do so you have to be able to view hidden files on a mac. This page should help with that -- slashdotdash.net/articles/2006/12/02/show-hidden-files-in-mac-os-x-finder

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

pschopf’s picture

Can you explain how you do this?

rernst’s picture

If your .htaccess file is missing, it's likely that clean URLs may be disabled, or at least unable to work correctly.

Does your site work if you access pages like mysite.com/?q=admin ?

jburnard’s picture

Actually when I go to mysite.com//?q=admin I get 'ACCESS DENIED'

pschopf’s picture

The Terminal.app on the mac will let you find and copy the .htaccess file. Finder won't.

in terminal:

cd /path-to-your-old-site/
ls -a 

Does this show .htaccess (you could do something like ls -a .??* to get a list of only those files that start with . and have at least 2 characters)

then

cp .htaccess /path-to-your-new-site/