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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • FYI Upgrade to 4.1 produces spurious error message
Pages: [1]

Author Topic: FYI Upgrade to 4.1 produces spurious error message  (Read 1113 times)

galdi56

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.1.beta3
  • CMS version: Drupal 6
  • MySQL version: 5.1.49
  • PHP version: PHP Version 5.3.3-7+squeeze3
FYI Upgrade to 4.1 produces spurious error message
February 21, 2012, 02:14:07 am
"Upgrade CiviCRM to Version 4.1.0

    Oops! - The path for including CiviCRM code files is not set properly. Most likely there is an error in the civicrm_root setting in your CiviCRM settings file (sites/default/civicrm.settings.php).

    » civicrm_root is currently set to: /var/www/dqmgroup.com/sites/all/modules/civicrm/.

    Please review the Drupal Installation Guide and the Trouble-shooting page for assistance. If you still need help installing, you can often find solutions to your issue by searching for the error message in the installation support section of the community forum."

This is the correct path and it's properly defined - is it looking at the period in dqmgroup.com and inferring something incorrect?

This is a FYI only as the upgrade seemed to work ok otherwise...

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: FYI Upgrade to 4.1 produces spurious error message
February 21, 2012, 02:59:06 am
Very interesting. I tried my first Drupal 6 site upgrade from CiviCRM 3.4.1 to 4.1 and I see:

Code: [Select]
Upgrade CiviCRM to Version 4.1.0
Array

on the upgrade page. No way to proceed. :(
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.

galdi56

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.1.beta3
  • CMS version: Drupal 6
  • MySQL version: 5.1.49
  • PHP version: PHP Version 5.3.3-7+squeeze3
Re: FYI Upgrade to 4.1 produces spurious error message
February 21, 2012, 03:36:47 am
It may or may not be relevent but when setting up 4.1 beta on Drupal 6 I had to basically ignore the instructions a bit and ended up configuring my settings.php with:

$db_prefix = array(
  'default' => '',
  'civicrm_acl'                              => '`civicrm`.',
  'civicrm_acl_cache'                        => '`civicrm`.',
  'civicrm_acl_contact_cache'                => '`civicrm`.',
  'civicrm_acl_entity_role'                  => '`civicrm`.',
  'civicrm_action_log'                       => '`civicrm`.',
  'civicrm_action_mapping'                   => '`civicrm`.',
  'civicrm_action_schedule'                  => '`civicrm`.',
 .....
.....

note the use of $db_prefix rather than the array as indicated in the setup instructions...

I am using two different databases configured as...

db_url['default'] = 'mysql://xxxx:xxxxxd@localhost/dqm';
$db_url['civicrm'] = 'mysql://xxxx:xxxxx@localhost/civicrm';
$db_prefix = '';

This may help someone else

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: FYI Upgrade to 4.1 produces spurious error message
February 21, 2012, 04:40:29 am
I realized that I failed to modify civicrm.settings.php so perhaps that's why mine failed.
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]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • FYI Upgrade to 4.1 produces spurious error message

This forum was archived on 2017-11-26.