I tried to upgrade from 6.15 to 6.19. Before I realised things weren't working well, I was also trying to upgrade pathauto module and install the webform module.

When I tried to run update.php or when activating or deactivating a module I got white screens, but the admin pages seemed ok when I went back to them.

After a short while, everything stopped working. I get access denied for all the /admin pages and Page Not Found for all the menu item links. I can't access the /user/login page. The front page of my site appears to load ok but the content links don't appear to do anything (www.philhart.com).

I didn't disable Clean URLs before I upgraded which someone else has suggested. Is there anything I can do to recover the situation?

Phil

Comments

philiphart’s picture

I've tried to access the admin login page with the non-clean URL (eg http://philhart.com/?q=user/login) and that doesn't seem to work either?

chempes’s picture

I have the same error!

philiphart’s picture

My site is hosted with OpenSourceHost:

Apache version 2.2.15 (Unix)
PHP version 5.2.13
MySQL version 4.1.22-standard

philiphart’s picture

I restored my site from a (not so recent) backup to v6.15

Then I removed a few old redundant modules (including Categories and Views).

Then I followed the minor upgrade instructions on this page: http://drupal.org/node/390448

Then the upgrade to v6.19 worked fine.

madrush’s picture

You might be missing the .htaccess file. I mistakenly copied the 6.19 files from my Finder (in Mac) -- where .htaccess was a hidden file and thus didn't copy. Once I replaced the file, clean urls were working again and no more Page Not Found errors.

cafescott’s picture

hi,
i have a similar problem as the original poster. i am trying to finish upgrading a site from Drupal 5 to Drupal 6. at some point during the upgrade i lost the ability to view public pages (e.g., home). However, i still can access the administration area.

i've tried just about everything to get this matter resolved. i found this page:
http://drupal.org/node/238760

I created a temporary index.php that rebuilt my menu_router table. (I tried this several times. the last time i truncated the table prior. It does fill new records in.)

i've tried running cron and update a few times. i've changed the theme the public sees from Garland to Minnelli. (I'm still running in offline mode.) I've looked over the menu configuration, and don't see anything to change. i've verified that i have clean_urls enabled; and i've tried the public pages without the clean url; e.g., ?q=home.

i don't particularly want to go back to a previous point during the upgrade. this is because i don't know how far back i have to go. also, it took many hours to reach the point where i had all the Drupal 6 modules installed that matched the Drupal 5 ones i had.

does anyone have any suggestions? thanks in advance.

hansopanso’s picture

Same here…. Can’t log on anymore.
Upgraded to 6.19 and everything was going real well…. I thought. Then I tried to log on again.
Geen toegang (access denied)
U heeft niet voldoende toegangsrechten voor deze pagina.

Is the only solution really to roll back the installation?
If yes: How do I do that?

Thanks in advance.

Cbeck’s picture

PROBLEM: I moved from 6.17 Acquia to 6.19 and the URLs were not accessible.
SOLUTION: You need .htaccess file. The new install comes with the file .htaccess.standard.txt. rename it to .htaccess or copy your old customized one. Same for robots.txt

It is okay to feel stupid sometime. It happens to the best of us.

onlineguy’s picture

I just did a minor core upgrade from 6.16 to 6.19 (a lot of leg work just to have upgraded security!) and had what seems like a similar situation to the issue (404 Page Not Found Error) raised here. I hope an easier process to upgrade D7 is added, because I have plenty of other work to do and this has taken more of my time than seems reasonable as being site maintainer/updater is just a small part of my workload.

While it didn't solve everything, **re-enabling all modules and running update.php again** solved a lot of 404 error problems.

At the moment I'm looking into why some content is still missing, and since I'm working with a themer at a remote development location, at some point may lateral to them for help. Primary Menus and some externally-linked video content are still missing (and there is no error to alert us of this, just small empty content frames where the video images should be and missing menus. I thought I re-enabled every related module, but am just digging into the issues and wanted to mention the above right away in case it helps any of you.

hansopanso’s picture

That's the problem. I can't enable or diable any modules because it's impossible to log on.
What I can do is place the old database back and place back the entire (old) site.
Update.php however will only run when the site is placed off line....

jason_pbws’s picture

See the full instructions at http://drupal.org/node/157632

I followed onlineguy's advice to re-enable modules and it fixed the

undefined function filter_xss_bad_protocol() in //includes/common.inc on line 1053

problem I was getting after trying to update from 6.17 to 6.19.

Guy Shepperd’s picture

I rolled my site back 10 6.15 and i still have the access denied issue.

granted the website is now working......but now it will let me log in, but when i try to edit the user1 profile or go to admin pages.....Aceess denied.

Any suggestions?

-Guy

(WIMP install)
Windows 2k8 r2
iis 7
Mysql 5.1
PHP 5.2

onlineguy’s picture

I've run update.php several times successfully without the site being in Offline mode.
This may be because my site is not in the (HTML) document root but instead is semi-
permanently located in a subdomain?

hansopanso’s picture

Okay…What I did to restore the site.
1) First I restored the database (6.15)
2) Then uploaded my backed up website.
Guess what?! I could logon again. Next the update.
1) Placed the site in "Off-line" mode
2) Turned off all non-core modules.
3) Uploaded the 6.19 version (except the "sites" directory and files such as ".htaccess" and "robots.txt")
4) The update.php and it runs perfectly.
5) Turned the modules on again and run update.php again.
6) Uploaded modules upgrades and…. run update.php again.
Mind you, I’m still logged on. However, when I opened another browser and used another username…… access denied. Even as user1: access denied.
Last time after the update and after logging out, I had no way of logging on again.
Drupal says it is a security update, but this is too secure for me.

Is there anyone out there who has a solution for this problem?

hansopanso’s picture

Hopefully the site is okay now. It seems there is a file inside either the directory "includes" or "misc" which blocks the access.
After restoring these directories I could logon again.

Edit: It is a file in the "includes" folder!

onlineguy’s picture

Thanks for following up on your earlier post; glad you solved the issue!

hansopanso’s picture

Did it help you any?

tfranz’s picture

Just added/ changed the following line in the settings.php and it worked again:

$cookie_domain = $_SERVER['HTTP_HOST'];

Hope it helps someone ...