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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • CiviCRM 4.1 Migration Troubles!
Pages: [1]

Author Topic: CiviCRM 4.1 Migration Troubles!  (Read 1059 times)

DerekL

  • I post frequently
  • ***
  • Posts: 132
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
CiviCRM 4.1 Migration Troubles!
March 05, 2012, 10:48:09 am
Hi Guys and Gals,

I am hoping I might find some assistance about a rocky migration I was having, I performed "due diligence" on the available resources.

 I have a Drupal 7 and Civi 4.1 install that I just ported over to a VPS.

I have the Drupal side of things covered, all modules working except for Civi, by simple backing up files and databases, and recreating them on the new server.

When I attempted to go to mysite/civicrm, I get a message saying "Error The website encountered an unexpected error. Please try again later."

With nothing being output to my apache logs.

I reviewed : http://wiki.civicrm.org/confluence/display/CRMDOC40/Moving+an+Existing+Installation+to+a+New+Server+or+Location

1. I did not selectively import/export CiviCRM data.
2. I did disable CiviCRM, port, then enable CiviCRM.

3. I corrected the following lines: 

Code: [Select]
$civicrm_root = '/<system path here>/sites/all/modules/civicrm';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/<system path here>/sites/default/files/civicrm/templates_c/' );

in civicrm.settings.php.

4. I did not manipulate the CiviCRM database in any way, other than to do a straight phpmydmin dump and restore.

I spent many hours last night repeating this process last night with all roads leading to that same "unexpected error message".

Is there any way to get debugs or further diagnose what's going on?

---------
Update:

I am able to access: http://site/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1, and the directories look good, but still not working...

« Last Edit: March 05, 2012, 11:10:45 am by DerekL »

DerekL

  • I post frequently
  • ***
  • Posts: 132
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
Re: CiviCRM 4.1 Migration Troubles!
March 05, 2012, 01:22:28 pm
Ok, I took a look at Drupal's error logs and saw this:

Exception: XML data could not be loaded. Make sure you specified the correct path. in IDS_Filter_Storage->getFilterFromXML() (line 220 of /var/path/path/stage/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php).

Some googling pointed me to the culprit:


/sites/default/files/civicrm/ConfigAndLog/Config.IDS.ini

deleting this guy solved the issue and CiviCRM is loading just fine.

Tony Horrocks

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 7
    • Fabriko Limited
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7
Re: CiviCRM 4.1 Migration Troubles!
March 06, 2012, 06:19:30 am
Look in the sites/default/files/civicrm folder and delete the templates_c folder.
Tony Horrocks
Author of the CiviCRM CookBook https://www.packtpub.com/web-development/civicrm-cookbook

dschafer

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 3
    • Backoffice Thinking
  • CiviCRM version: 3.2.3 - 4.4.4
  • CMS version: Drupal 6.x, 7.x, Wordpress
  • MySQL version: 5.1.x - 5.5.x
  • PHP version: 5.2.x - 5.4.x
Re: CiviCRM 4.1 Migration Troubles!
April 13, 2012, 10:45:00 am
I just added this to the wiki

If you have edited the IDS ini file to add any custom exclusions then you need to edit the settings for the three paths in the file,
filter_path, tmp_path, HTML_Purifier_Cache.

If these paths are not accessible Civi pages will display blank.

If you just delete the file you will lose your customized settings.

pike67

  • I post occasionally
  • **
  • Posts: 55
  • Karma: 0
  • CMS version: drupal7
Re: CiviCRM 4.1 Migration Troubles!
October 10, 2012, 06:12:26 am
Excellent, exactly what has been happening to me after upgrade from drupal 7.13 to 7.15.
I had not modified Config.IDS.ini, but the values in there were wrong - legacy - they had never caused any trouble until after the upgrade.

Quote
I just added this to the wiki
Which wiki is that ?

thanks,
*-pike

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • CiviCRM 4.1 Migration Troubles!

This forum was archived on 2017-11-26.