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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Migration issues Civi 3.1.4 Joomla 1.5.17
Pages: [1]

Author Topic: Migration issues Civi 3.1.4 Joomla 1.5.17  (Read 2849 times)

talexander

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Migration issues Civi 3.1.4 Joomla 1.5.17
May 27, 2010, 03:38:32 am
Dear All,

Am having a bit of a nightmare trying to get a migrated site up and running.  Managed to get most things working but CiviCRM was proving troublesome.  FOund this site which proved useful:

http://akekarat.com/content/how-move-civicrm-another-location

However once I have run:
http://<joomla_site>/administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1

and clicked save I get this output:

Fatal error: Uncaught exception 'Exception' with message 'XML data could not be loaded. Make sure you specified the correct path.' in /var/www/trbcp/administrator/components/com_civicrm/civicrm/packages/IDS/Filter/Storage.php:220 Stack trace: #0 /var/www/trbcp/administrator/components/com_civicrm/civicrm/packages/IDS/Filter/Storage.php(111): IDS_Filter_Storage->getFilterFromXML() #1 /var/www/trbcp/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php(189): IDS_Filter_Storage->__construct(Object(IDS_Init)) #2 /var/www/trbcp/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php(142): IDS_Monitor->__construct(Array, Object(IDS_Init)) #3 /var/www/trbcp/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(79): CRM_Core_IDS->check(Array) #4 /var/www/trbcp/administrator/components/com_civicrm/admin.civicrm.php(72): CRM_Core_Invoke::invoke(Array) #5 /var/www/trbcp/administrator/components/com_civicrm/admin.civicrm.php(45): civicrm_invoke() #6 /var/www/trbcp/libraries/joomla/application/componen in /var/www/trbcp/administrator/components/com_civicrm/civicrm/packages/IDS/Filter/Storage.php on line 220

Someone suggested editing the Invoke.php file and commenting out line 74.  However line 74 seems to be a } and have no actual commands on it.  Could anyone else possibly help me out?

Thanks in advance

Tim

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Migration issues Civi 3.1.4 Joomla 1.5.17
May 27, 2010, 05:22:53 am
first go to:
/media/civicrm/templates_c/
and delete the contents of that directory. the IDS cache is stored there and needs to be cleaned out and rebuilt to reflect the new folder location of your site.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

talexander

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Re: Migration issues Civi 3.1.4 Joomla 1.5.17
May 27, 2010, 07:59:13 am
Thanks for that.  That allowed me to run the reset thing.  Next issue has arisen though when I tried to upgrade to 3.1.5.  All going well until I ran the Database Upgrade Script.  When I click the Upgrade Now button I get this:

 
Sorry. A non-recoverable error has occurred.
Database check failed - the database looks to have been partially upgraded. You may want to reload the database with the backup and try the upgrade process again.

Return to home page.


Does anyone have any thoughts about how to get round this?

Regards

Tim

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Migration issues Civi 3.1.4 Joomla 1.5.17
May 27, 2010, 08:34:06 am
did you make a backup before triggering the upgrade? (as super-strongly encouraged on every piece of documentation regarding installation/upgrading)

you'll need to import the backup and try running the upgrade script again. what version are you upgrading from?
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

talexander

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Re: Migration issues Civi 3.1.4 Joomla 1.5.17
May 28, 2010, 02:59:21 am
Luckily I did pay heed to the advice, though only after having learnt my lesson the hard way before.  I have restored the database to the pre upgrade state but notice that CiviCRM is now saying it is 3.1.5.  Should I run the upgrade script again of will it be happy as is?  I am upgrading from 3.1.4 by the way.

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Migration issues Civi 3.1.4 Joomla 1.5.17
May 28, 2010, 04:52:06 am
I would try again, yes.

You can look up what database alterations are part of a certain revision by going to:
CRM/Upgrade/Incremental/sql/ and looking for the revision number (not all revisions have database alterations, so you may see some skipped).

The only alterations for 3.1.5 were to the state and country tables (inserting and updating some values). So you look at your database manually and confirm if those modifications were made if you wanted to.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

talexander

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Re: Migration issues Civi 3.1.4 Joomla 1.5.17
May 28, 2010, 06:52:57 am
Keep getting the same fatal error as before.   :(  Is there a guide to completely removing CiviCRM?  Am thinking if I do that I can start from scratch and hopefully avoid these errors.  Considering our CiviCRM stuff is relatively small I do not think it will take long to import the data back in to it.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Migration issues Civi 3.1.4 Joomla 1.5.17

This forum was archived on 2017-11-26.