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) »
  • Upgrade from 4.4.6 to 4.5 Drupal on Windows server
Pages: 1 2 [3]

Author Topic: Upgrade from 4.4.6 to 4.5 Drupal on Windows server  (Read 5192 times)

SemperFi

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 3
  • CiviCRM version: 4.5.4
  • CMS version: Wordpress 4.0.1
  • MySQL version: MySQL 5.5.16
  • PHP version: PHP 5.3.17
Re: Upgrade from 4.4.6 to 4.5 Drupal on Windows server
September 23, 2014, 09:13:28 am
OK Dan, thanks for the explanation.

But then, if I save the new path to be "C:\xampp\htdocs\wprc/wp-content/plugins\files\", why doesn't it take it into account and update the resources paths to :
  • C:\xampp\htdocs\wprc/wp-content/plugins\files\civicrm\upload/ (temp files)
  • C:\xampp\htdocs\wprc/wp-content/plugins\files\civicrm\persist/contribute/ (pictures)

instead... without the "/civicrm/", I first added in my test ?

This should cancel the first change of path where I added "civicrm/" after "c:\...\files\" - shouldn't it ?

Thanks
« Last Edit: September 23, 2014, 10:30:51 am by SemperFi »

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: Upgrade from 4.4.6 to 4.5 Drupal on Windows server
September 23, 2014, 10:26:11 am
SemperFi, so you are saying that it updated the temp files directory path but not the pictures path?

I had the same issue on my end, adding civicrm to the end of your base directory causes a lot of issues (no matter which OS you are on).  I'm not sure if the same is true if you add a different folder name.  Although if only the images directory path is not being updated that is a different issue.

pmoz, I believe that you have some site specific issues showing up like you just found.  I noticed what you said earlier about having a ton of dynamic folders show up when you keep changing your base directory, but once I cleaned them up things seemed to be fine for display.  So I'm not sure if this is a bug in Civi or just a consequence of testing code (and the previous bug).
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

SemperFi

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 3
  • CiviCRM version: 4.5.4
  • CMS version: Wordpress 4.0.1
  • MySQL version: MySQL 5.5.16
  • PHP version: PHP 5.3.17
Re: Upgrade from 4.4.6 to 4.5 Drupal on Windows server
September 23, 2014, 11:04:19 am
No sorry, this was a mistake when writing. I was expecting to have directories without the extra "civicrm/' on both (I forgot to remove it on my example for the "picture").

So my point is that despite that I did not add again "civicrm/" in the new resource path, it did not not update the existing temp and pictures resources to remove the extra "civicrm/" I added in my previous test.

Thanks to your explanation, I understand why now (it only cares about the URL part until the "/files/" folder so whatever you put after this it will always consider that the base directory is the same).

pmoz

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.0, 4.5.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.68
  • PHP version: 5.4.9
Re: Upgrade from 4.4.6 to 4.5 Drupal on Windows server
September 23, 2014, 02:21:15 pm
Quote
pmoz, I believe that you have some site specific issues showing up like you just found.  I noticed what you said earlier about having a ton of dynamic folders show up when you keep changing your base directory, but once I cleaned them up things seemed to be fine for display.  So I'm not sure if this is a bug in Civi or just a consequence of testing code (and the previous bug).

I agree Dan, the whole chicken and the egg thing.

I'm going to try 4.5 again on a fresh IIS install...a glutton I know.

Thanks everyone.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Upgrade from 4.4.6 to 4.5 Drupal on Windows server
September 23, 2014, 02:23:00 pm
I encourage gluttony when it comes to fixing bugs :)
Thanks for all your hard work, everyone!
Try asking your question on the new CiviCRM help site.

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: Upgrade from 4.4.6 to 4.5 Drupal on Windows server
September 23, 2014, 06:14:19 pm
Ok, unless I hear otherwise that someone finds something overnight, I will be submitting my PR in the morning.
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: Upgrade from 4.4.6 to 4.5 Drupal on Windows server
September 24, 2014, 06:27:30 am
PR has been submitted to this issue - https://issues.civicrm.org/jira/browse/CRM-15365
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: Upgrade from 4.4.6 to 4.5 Drupal on Windows server
October 01, 2014, 06:24:12 pm
Thanks for shedding some light on this after several hours of pulling my hair out.  Particularly trying to have a local WAMP/pantheon server and use civicrm_settings overrides to make things more portable.  The big moment was when i read: "The base directory is not stored in the database.  It is actually generated based on the Image Upload Directory path."  I was trying to override.  So many errors relating to all these paths / config management if you read the forums.  glad this fix is in the works.  initial testing looks good.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Upgrade from 4.4.6 to 4.5 Drupal on Windows server
October 06, 2014, 10:56:36 am
FYI due to the large number of posts from people suffering major javascript failures due to incorrect url settings, we are switching core javascript to no longer rely on those settings on 4.5.1 (scheduled for this week) - this should make people's upgrade experiences smoother, although getting those settings correct is still a good idea.
Try asking your question on the new CiviCRM help site.

Pages: 1 2 [3]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade from 4.4.6 to 4.5 Drupal on Windows server

This forum was archived on 2017-11-26.