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) »
  • Integrator Discussion (Moderators: JoeMurray, Parvez, pkeogan) »
  • Drupal 8 Integration Discussion
Pages: [1]

Author Topic: Drupal 8 Integration Discussion  (Read 603 times)

seb

  • I’m new here
  • *
  • Posts: 26
  • Karma: 1
  • CiviCRM version: 4.6.4
  • CMS version: Drupal 7/Drupal 8
  • MySQL version: Ver 14.14 Distrib 5.5.44, for debian-linux-gnu
  • PHP version: PHP 5.6.9-0+deb8u1
Drupal 8 Integration Discussion
August 24, 2015, 11:24:54 am
There doesn't seem to be an obvious place to discuss Drupal8 integration experiences with each other, so this might as well be a good place instead of the General Discussion thread..

So the first hurdle I seem to be having is that the CMS variable is not being set to Drupal8 but rather to %%cms%% causing the wrong functions to be called. For example:

Quote
User warning: Smarty error: unable to read resource: "CRM/common/%%cms%%.tpl" in Smarty->trigger_error() (line 1094 of libraries/civicrm/packages/Smarty/Smarty.class.php)."

%%cms%% being the default setting in civicrm.settings.php I just now realized, dumbdumb me :D

Now I have the civicrm Dashboard, but there is no css formatting to it, and no civicrm menu..Bbecause the resource URL has been set wrong:

http://d8.testage.ca/varwwwtestage.cadrupal8librariescivicrm
instead of
http://d8.testage.ca/libraries/civicrm

Fixing that and I now have a functional Civicrm interface.. Now to throw data into it and see what happens.

To sum up install problems so far:
  • The install process or description didn't set the CMS to Drupal8 or say to do so (and the setting file doesn't list Drupal8 as an option in the comments)
  • The Resource URL was set incorrectly
« Last Edit: August 24, 2015, 04:11:02 pm by seb »

jonathanjfshaw

  • I’m new here
  • *
  • Posts: 15
  • Karma: 1
  • CiviCRM version: 4.6
  • CMS version: Drupal 8
  • MySQL version: Pantheon
  • PHP version: 5.5
Re: Drupal 8 Integration Discussion
August 25, 2015, 12:59:38 am
I've not had the install problems you're having, so I do wonder if these aren't problems in the code. I wonder if rather your install is breaking part way through or something like that, for some reason the settings file is not getting written completely.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Integrator Discussion (Moderators: JoeMurray, Parvez, pkeogan) »
  • Drupal 8 Integration Discussion

This forum was archived on 2017-11-26.