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) »
  • Drupal 7 install fails with Cannot redeclare timer_stop()
Pages: [1]

Author Topic: Drupal 7 install fails with Cannot redeclare timer_stop()  (Read 1402 times)

bstackhouse

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.12
  • MySQL version: (test) 5.1.34 (production) 5.1.63
  • PHP version: (test) 5.3.0 (production) 5.3.10
Drupal 7 install fails with Cannot redeclare timer_stop()
September 28, 2012, 04:06:41 pm
Installing civicrm by downloading civicrm-4.2.0-drupal.tar.gz and decompressing in the sites/all/modules directory. Filled in parmaters in the install page and clicked the install button, the script runs. It fails with a php error  Cannot redeclare timer_stop(). It appears the bootstrap.inc file is being included twice.

[Fri Sep 28 15:38:31 2012] [error] [client ::1] PHP Fatal error:  Cannot redeclare timer_stop() (previously declared in /Library/WebServer/Documents/nwta/includes/bootstrap.inc:488) in /Library/WebServer/Documents/NWTA/includes/bootstrap.inc on line 504, referer: localhost/nwta/sites/all/modules/civicrm/install/index.php
[Fri Sep 28 15:38:31 2012] [error] [client ::1] PHP Stack trace:, referer: localhost/nwta/sites/all/modules/civicrm/install/index.php
[Fri Sep 28 15:38:31 2012] [error] [client ::1] PHP   1. {main}() /Library/WebServer/Documents/nwta/sites/all/modules/civicrm/install/index.php:0, referer: localhost/nwta/sites/all/modules/civicrm/install/index.php
[Fri Sep 28 15:38:31 2012] [error] [client ::1] PHP   2. Installer->install() /Library/WebServer/Documents/nwta/sites/all/modules/civicrm/install/index.php:249, referer: localhost/nwta/sites/all/modules/civicrm/install/index.php
[Fri Sep 28 15:38:31 2012] [error] [client ::1] PHP   3. drupal_bootstrap() /Library/WebServer/Documents/nwta/sites/all/modules/civicrm/install/index.php:1018, referer: localhost/nwta/sites/all/modules/civicrm/install/index.php
[Fri Sep 28 15:38:31 2012] [error] [client ::1] PHP   4. _drupal_bootstrap_full() /Library/WebServer/Documents/nwta/includes/bootstrap.inc:2167, referer: localhost/nwta/sites/all/modules/civicrm/install/index.php
« Last Edit: September 28, 2012, 04:18:18 pm by bstackhouse »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Drupal 7 install fails with Cannot redeclare timer_stop()
September 29, 2012, 04:26:45 pm
Hi. Is this OS/X? I noticed something in your error, which I bolded here:

Cannot redeclare timer_stop() (previously declared in /Library/WebServer/Documents/nwta/includes/bootstrap.inc:488) in /Library/WebServer/Documents/NWTA/includes/bootstrap.inc on line 504,

Is that the same directory? Also the line numbers are different...

I'm not sure what's going here actually. Is this a vanilla Drupal, i.e. from drupal.org?
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.

bstackhouse

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.12
  • MySQL version: (test) 5.1.34 (production) 5.1.63
  • PHP version: (test) 5.3.0 (production) 5.3.10
Re: Drupal 7 install fails with Cannot redeclare timer_stop()
September 29, 2012, 07:59:58 pm
The installation was moved to a test machine. The problem WAS the case of the directory name. Thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 7 install fails with Cannot redeclare timer_stop()

This forum was archived on 2017-11-26.