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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • Drupal: cannot run the upgrade script
Pages: [1]

Author Topic: Drupal: cannot run the upgrade script  (Read 2729 times)

DanilaD

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 11
Drupal: cannot run the upgrade script
August 15, 2009, 10:04:11 pm
Hello.

I'm working on a test copy of a site on local machine. When following steps of http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Upgrade+Drupal+Sites+to+3.0, after I delete previous folder with civicrm code and unpack new one, I cannot get to /civicrm/upgrade?reset=1 or actually to any page on the test site except the front one - all other pages become white.

When I restore code from 2.2.8 in civicrm folder, everything works fine.

How should I debug this? Breakpoints in some code, or just check some memory settings?

Regards,
Danila


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: Drupal: cannot run the upgrade script
August 16, 2009, 05:49:47 am

can u check the apache error logs to see whats the cause for the WSOD (white screen of death). That should give us a better idea of whats happening and why

thanx

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

DanilaD

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 11
Re: Drupal: cannot run the upgrade script
August 16, 2009, 05:39:04 pm
Code: [Select]
PHP Fatal error:  Cannot redeclare civicrm_form_alter() (previously declared in  ...... ....../sites/all/modules/civicrm/drupal/civicrm.module:780) in  ...... ....../sites/all/modules/civicrm_theme/civicrm_theme.module on line 46
 PHP Stack trace:
 PHP   1. {main}()  ...... ....../index.php:0
 PHP   2. drupal_bootstrap()  ...... ....../index.php:16
 PHP   3. _drupal_bootstrap()  ...... ....../includes/bootstrap.inc:983
 PHP   4. _drupal_bootstrap_full()  ...... ....../includes/bootstrap.inc:1072
 PHP   5. module_load_all()  ...... ....../includes/common.inc:2577
 PHP   6. drupal_load()  ...... ....../includes/module.inc:14

Looks like I need to switch off module "CiviCRM Theme" before upgrading CiviCRM. Will check this later.

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: Drupal: cannot run the upgrade script
August 16, 2009, 06:19:22 pm

u should file an issue with civicrm_theme

that hook in their module should be called: civicrm_theme_form_alter

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • Drupal: cannot run the upgrade script

This forum was archived on 2017-11-26.