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 »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • How to test on D6?
Pages: [1]

Author Topic: How to test on D6?  (Read 1708 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
How to test on D6?
December 26, 2011, 05:32:40 am
Hi,

Wanted to test with a bigger database that is on D6.

I recall that having D6 & D7 side by side was not possible and it needed some adjustment. Is there something special to do to have 4.1 svn installed on D6?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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: How to test on D6?
December 26, 2011, 05:48:47 pm

1. do and svn checkout and build from the 4.1 branch

2. svn switch the drupal module directory to the 3.4 branch

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

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: How to test on D6?
January 05, 2012, 10:49:56 am
Did you get this working? There's some code in distmaker/dists/drupal6_php5.sh which I looked at too.

I'm trying to test an upgrade though (which I'd assume would be the main reason to use D6 instead of 7), but civi is looking for a civicrm_setting table, which looks like it was added in 4.1, so the site won't even load.

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: How to test on D6?
January 05, 2012, 11:27:42 am

Can you download the D6 beta1 tarball from sourceforge and see if that works?

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

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: How to test on D6?
January 05, 2012, 03:10:44 pm
It's during civicrm_intialize, when it tries to initialize the config singleton in line 272. This eventually leads to CRM_Core_BAO_Setting::retrieveDirectoryAndURLPreferences() which is looking for this table.

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: How to test on D6?
January 05, 2012, 10:35:57 pm
I get the same error on a completely separate installation/server, using the tarball.

Based on the code as noted above it would seem like nobody would be able to do an upgrade, even starting from a D7-4.0 install ? ? ?
« Last Edit: January 05, 2012, 10:40:01 pm by demeritcowboy »

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: How to test on D6?
January 05, 2012, 11:31:42 pm
You need to set the UF in civicrm.settings.php to drupal6 not drupal
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

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: How to test on D6?
January 06, 2012, 12:17:46 am
Thanks but it doesn't seem to be a d6/7 issue. And yes I did set that to Drupal6.

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: How to test on D6?
January 06, 2012, 12:39:30 pm
The problem was that you have to be logged in to Drupal BEFORE you replace the old code files, and don't log out until you're all done. It isn't specific to Drupal 6 or Civi 4.1.

I've updated the wiki docs.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • How to test on D6?

This forum was archived on 2017-11-26.