CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
Pages: [1] 2

Author Topic: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7  (Read 4379 times)

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
"Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 27, 2013, 10:53:12 am
Hi all,

1. I successfully upgraded a Drupal 6 site from CiviCRM 3.4.8 to 4.1.5.
2. I upgraded the entire Drupal 6 site to Drupal 7.
3. I deleted sites/modules/all/civicrm and replaced it with the Drupal 7 version (4.1.5).
4. I changed the Drupal6 to Drupal in my civicrm.settings.php file.
5. I emptied /templates_c
6. I deleted ConfigAndLog/Config.IDS.ini

Now, when I try to access civicrm or civicrm/upgrade, I get the "Page not found."

Can anyone help me trouble-shoot?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 27, 2013, 04:49:54 pm

can u goto your drupal modules page and ensure that civicrm is enabled

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 27, 2013, 04:51:59 pm
Sorry I wasn't clearer about that but, yes, I've made sure (several times over) that civicrm is enabled.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 27, 2013, 05:00:14 pm

i would check drupal's system table and see the location of civicrm that is being used. might give u a clue

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 27, 2013, 05:02:41 pm
Meant to mention that, too. It's sites/all/modules/civicrm/drupal/civicrm.module, which seems correct?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 27, 2013, 05:39:24 pm
You didn't mention if you cleared all drupal's caches
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 27, 2013, 05:45:46 pm
Thanks for asking. Yes, I did clear all drupal caches.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 29, 2013, 06:51:44 am
I would delete civicrm.settings.php and then install fresh into a temp DB and then edit the new civicrm.settings.php to point to your real DB.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 29, 2013, 07:25:19 am
Shucks; I thought that was a great idea, but it didn't bear any fruit. Even after a fresh install, I still get 'Page not found.'

It's puzzling that this only happens with the Drupal 7 version, but not Drupal 6?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 29, 2013, 07:46:12 am
Can you:

1. Disable CiviCRM
2. Remove civicrm.settings.php
3. Remove sites/default/files/civicrm
4. Reinstall fresh
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 29, 2013, 08:20:26 am
Alas, that produced the same result. All went well until I clicked the Configuration Checklist link and returned to "Page not found." :-(

In the meantime, I did notice that my Drupal system table had lingering entries to, e.g., the Drupal 6 civitheme module, despite the fact that its directory/file were gone. I deleted those entries, but it didn't help. Could the problem be something similar I haven't look at yet?

Thanks for all the help, so far!

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 29, 2013, 08:46:13 am
I went back and not only cleared the caches, but also deleted all the '*civi*' entries from my Drupal system table. Then I did a fresh install.

That certainly changed things. I now get the WSOD on my site (it's not prod, so I'm not panicking), but there's noting in the error logs.

I think that means I'm past the 'page not found' problem, but could still use some trouble-shooting advice for the WSOD.

TIA!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 29, 2013, 10:02:15 am
Blank pages or "white screen of death" (WSOD)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
May 31, 2013, 08:42:49 am
Thanks for that suggestion. I've found enough help there to get past WSOD, but now I'm stumped by this error:

Code: [Select]
Fatal error: Cannot redeclare drupal_error_levels() in /home/scethics/dev.scethics.org/includes/errors.inc on line 16
I've emptied my Drupal cache and sessions tables many times. The only way to prevent this error is to manually disable (status=0 in the Drupal system table) the civicrm module.

This only seems to happen with the Drupal 7 version of CiviCRM 4.1.5. I'm tempted to try a later version of CiviCRM, but that may just be desperation. Can anyone offer a more rational suggestion?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7
June 01, 2013, 01:12:44 pm
Google for "Cannot redeclare drupal_error_levels" as there are other reports of this, most of which not related to CiviCRM. Seems other modules can cause this.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • "Page not found" after upgrading 4.1.5 from Drupal 6 to Drupal 7

This forum was archived on 2017-11-26.