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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrading from 4.3.1 to 4.3.4
Pages: [1]

Author Topic: Upgrading from 4.3.1 to 4.3.4  (Read 989 times)

crazywolf

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7
  • MySQL version: 4.10
  • PHP version: 5
Upgrading from 4.3.1 to 4.3.4
May 22, 2013, 07:59:50 am
Hi,
After downloading 4.3.1 , I have done lots of customization. I have changed Theme of drupal and had to carry some changes to CiviCRM screens.

I am afraid that if upgrade to 4.3.4 directly, I will loose all these changes. How can I preserve changes made between upgrades?

Thanks

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Upgrading from 4.3.1 to 4.3.4
May 22, 2013, 12:43:19 pm
Do you mean that you have made modifications to the code in within the civicrm directory on your server? This is highly discouraged for exactly the reason you described.
There are at least a half-dozen alternative ways to customize Civi without hacking the core code. Let me know if you are unable to find documentation about it.
Try asking your question on the new CiviCRM help site.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgrading from 4.3.1 to 4.3.4
May 23, 2013, 12:43:40 pm
crazywolf, your Drupal theme will be unaffected by a CiviCRM upgrade.

If the CiviCRM changes were done via the regular web interface, then those should also be OK.

Try the upgrade on a COPY of your site and see what happens.
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.

crazywolf

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7
  • MySQL version: 4.10
  • PHP version: 5
Re: Upgrading from 4.3.1 to 4.3.4
May 23, 2013, 03:09:01 pm
Quote from: Coleman Watts on May 22, 2013, 12:43:19 pm
Do you mean that you have made modifications to the code in within the civicrm directory on your server? This is highly discouraged for exactly the reason you described.
There are at least a half-dozen alternative ways to customize Civi without hacking the core code. Let me know if you are unable to find documentation about it.
Hi,
Could you please list them to me and I will try and take care of it next time onwards. I am going to carry a test upgrade to see if it breaks.

Thanks

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Upgrading from 4.3.1 to 4.3.4
May 23, 2013, 05:21:17 pm
@crazywolf I still don't quite know what you've done. What customizations have you done and how did you do them?
Bottom line is that if you upgrade CiviCRM then you have to replace the civicrm directory on your server. So you should not have changed anything in there or of course it will not survive the upgrade.
Everything else you do to customize civicrm will be fine, which includes things like
- Tweaking the css using your own theme
- Changing settings via the UI
- Adding modules or extensions
- Overriding or appending templates in your custom tpl directory
- Adding custom searches, etc.
Try asking your question on the new CiviCRM help site.

crazywolf

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7
  • MySQL version: 4.10
  • PHP version: 5
Re: Upgrading from 4.3.1 to 4.3.4
May 24, 2013, 06:16:54 am
Hi Coleman,
I need to know which directories below I need to worry about.

[~/public_html/trial]# find . -name civicrm -print
./sites/all/modules/civicrm
./sites/all/modules/civicrm/drupal/modules/views/civicrm
./sites/default/files/civicrm

I can use the modified date to locate which failes have been altered from the time of install.

I still don't quite know what you've done. What customizations have you done and how did you do them?
>> I listed some modifications within CiviCRM screens and I am not sure what my developer friend have done so far.

Does 4.3.1 to 4.3.3/4  upgrade involve any database update?

Thanks

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Upgrading from 4.3.1 to 4.3.4
May 24, 2013, 10:23:27 am
Quote
I need to know which directories below I need to worry about.
The folder that gets replaced in the upgrade is ./sites/all/modules/civicrm
So ensure nothing in there has changed.
If it has, inform your developer that there are better ways to customize things, implementing hooks in a custom module/extension is usually the best method of tweaking Civi's functionality.
Quote
Does 4.3.1 to 4.3.3/4  upgrade involve any database update?
Yes there are very minor db updates in the upgrade, nothing to worry about.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrading from 4.3.1 to 4.3.4

This forum was archived on 2017-11-26.