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 »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Which message template does it use?
Pages: 1 [2]

Author Topic: Which message template does it use?  (Read 2000 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Which message template does it use?
September 05, 2013, 09:20:31 pm
Yay
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

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: Which message template does it use?
September 06, 2013, 07:42:28 pm

curious as to how you did the schema rebuild and how the data was affected. Any idea the sequence of steps u ran?

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

FrTommy

  • I post frequently
  • ***
  • Posts: 273
  • Karma: 2
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.32
  • PHP version: 5.3
Re: Which message template does it use?
September 07, 2013, 10:22:30 am
Sure, my original database was stuck at 4.3.3 and had gone through many upgrades and a couple times had some errors on the upgrade. Even after switching to civihosting my 4.3.3 database gave a trigger error that triggers weren't enabled. We (Hershel and I) determined that it had to be with the db. So I got the bright idea to do  compare the structures of the corrupt db with a clean 4.3.3 structure. Here are the steps I took:

  • I did a structure dump of the Corrupt DB minus the custom tables.
  • I imported the civicrm.mysql file from the 4.3.3 build into a clean db
  • I did a structure dump of the clean import and then compared the files using a Diff tool. There were alot of issues that confirmed for me it was the db. I ensured that all column names matched between the two db's.
  • I then did a structure dump of the custom tables in the corrupt db, then a data dump of the custom tables in the corrupt db, then a data dump of all the other tables in the corrupt db.
  • Then I imported into the clean db in the following order: the structure of the custom tables, the data of the custom tables, the data of the other tables.
  • Then I ran the upgrade to 4.3.5 and it upgraded without any errors

I'm not sure why the Foreign Keys got mixed up. It's very possible that it was my fault because I had tried to do some clean up on the database that didn't work.  But now everything works great and as expected.

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Which message template does it use?

This forum was archived on 2017-11-26.