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 migration issue
Pages: [1]

Author Topic: drupal migration issue  (Read 911 times)

fourpoints

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: x
  • CMS version: drupal
  • MySQL version: x
  • PHP version: x
drupal migration issue
February 05, 2014, 01:30:09 pm
When trying to access Civicrm after a recent migration, we are getting this error below. I checked and the user can write to the folder. I looked up other support requests on this and one suggested removing the items in the templates_c folder, which I did - but it did not help.... More suggestions?


Fatal error: Uncaught exception 'Exception' with message 'Please make sure the sites/default/files/civicrm/templates_c/\en_US\ folder is writable' in /home/manalife/public_html/dv_members/sites/all/modules/civicrm/packages/IDS/Monitor.php:218 Stack trace: #0 /home/manalife/public_html/dv_members/sites/all/modules/civicrm/CRM/Core/IDS.php(139): IDS_Monitor->__construct(Array, Object(IDS_Init)) #1 /home/manalife/public_html/dv_members/sites/all/modules/civicrm/CRM/Core/Invoke.php(91): CRM_Core_IDS->check(Array) #2 /home/manalife/public_html/dv_members/sites/all/modules/civicrm/drupal/civicrm.module(381): CRM_Core_Invoke::invoke(Array) #3 [internal function]: civicrm_invoke() #4 /home/manalife/public_html/dv_members/includes/menu.inc(348): call_user_func_array('civicrm_invoke', Array) #5 /home/manalife/public_html/dv_members/index.php(18): menu_execute_active_handler() #6 {main} thrown in /home/manalife/public_html/dv_members/sites/all/modules/civicrm/packages/IDS/Monitor.php on line 218

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: drupal migration issue
February 05, 2014, 11:09:59 pm
Looks like civicrm can not write to the civicrm/templates_c folder:
Quote
Please make sure the sites/default/files/civicrm/templates_c/\en_US\ folder is writable'

So you have to change the access rights to the folder. I assume you will have to ask your hosting company to do that for you. If you host it yourselves you could do that by using the linux command
Code: [Select]
sudo chmod a+w -R /home/manalife/public_html/dv_members/sites/default/files/civicrm/templates_c
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

prakharcse

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.2.13
  • CMS version: Drupal 7
  • MySQL version: 4.5.6
  • PHP version: 5.0
Re: drupal migration issue
February 06, 2014, 02:21:07 am
Hii, I am migrating d6 to d7 same time i have to migrate civicrm 3.2 to civicrm 4.4.3 . I have followed the steps mentioned in various forum that to update civicrm first then to upgrade drupal but still i am facing errors in some links of civicrm. Global settings page is showing me this error

"Your database is marked with an unexpected version number: 4.4.3. The v4.2.13 codebase may not be compatible with your database state. You will need to determine the correct version corresponding to your current database state. You may want to revert to the codebase you were using until you resolve this problem.
OR if this is an svn install, you might want to fix civicrm-version.php file."

I am new to civicrm .Please guide me through this.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: drupal migration issue
February 06, 2014, 03:43:31 am
fourpoints, try to remove files/civicrm/ConfigAndLog/Config.IDS.ini and see if that helps.

prakharcse, please post your own fresh thread as your issue does not appear to be related to this forum thread. Thank you.
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.

fourpoints

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: x
  • CMS version: drupal
  • MySQL version: x
  • PHP version: x
Re: drupal migration issue
March 18, 2014, 12:23:24 pm
Hershel, thank you! The host company resolved the permissions and I'm into CiviCRM again. Now to fix all the other issues...!!!Thank you!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • drupal migration issue

This forum was archived on 2017-11-26.