(I posted this question to the "Post installation" forum as well, not sure if I'm more likely to get a response there or here.)
I am a recent convert to Drupal, and have just finished installing and configuring it for a site I'm developing. The only problem I had during the config process was setting the timezone. The site is in the Atlantic timezone (-0400), but when I choose this option currently, the time is one hour behind. I could set the timezone to -0500, but that wouldn't be correct, and I'd have to remember to change it twice a year.
Anyway, I found this patch http://drupal.org/node/11077 which seems to do what I need, but I can't get the patch applied. So I have two questions:
1) Right now I'm working on this site on my development server, so I have shell access and can apply the patch. What happens if I move the site to the client's host and don't have shell access in order to apply the patch?
2) The patch itself did not work (see below) - any idea why? I'm guessing maybe there is a more up-to-date version or something, but I have no idea where to look for it.
can't find file to patch at input line 88 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: modules/node.module |=================================================================== |RCS file: /cvs/drupal/drupal/modules/node.module,v |retrieving revision 1.403 |diff -u -F^f -r1.403 node.module |--- modules/node.module 21 Sep 2004 18:43:54 -0000 1.403 |+++ modules/node.module 26 Sep 2004 03:00:19 -0000 --------------------------
can't find file to patch at input line 112 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: modules/system.module |=================================================================== |RCS file: /cvs/drupal/drupal/modules/system.module,v |retrieving revision 1.178 |diff -u -F^f -r1.178 system.module |--- modules/system.module 22 Sep 2004 17:50:55 -0000 1.178 |+++ modules/system.module 26 Sep 2004 03:00:19 -0000 --------------------------
TIA for any clues as to what I've done wrong!
Sarah
On Tuesday 07 August 2007 12:36:26 Sarah Adams wrote:
(I posted this question to the "Post installation" forum as well, not sure if I'm more likely to get a response there or here.)
I am a recent convert to Drupal, and have just finished installing and configuring it for a site I'm developing. The only problem I had during the config process was setting the timezone. The site is in the Atlantic timezone (-0400), but when I choose this option currently, the time is one hour behind. I could set the timezone to -0500, but that wouldn't be correct, and I'd have to remember to change it twice a year.
Anyway, I found this patch http://drupal.org/node/11077 which seems to do what I need, but I can't get the patch applied. So I have two questions:
There are actually several patches in that node, and you didn't mention which one you were using. I'm assuming you just grabbed the first patch and didn't actually read through the thread, or even the dates of the comments.
- Right now I'm working on this site on my development server, so I
have shell access and can apply the patch. What happens if I move the site to the client's host and don't have shell access in order to apply the patch?
Option 1: Work with the hosters to see if they will patch it for you. Option 2: If you have FTP access, patch the files on your computer and upload them to where they need to be. Option 3: Try to figure out how to do what you want done with a module.
- The patch itself did not work (see below) - any idea why? I'm
guessing maybe there is a more up-to-date version or something, but I have no idea where to look for it.
The patch was created for a version of Drupal before 5, and you're using version 5 or later. The files the patch is looking for are in different locations.
can't find file to patch at input line 88 Perhaps you used the wrong -p or --strip option? The text leading up to this was:
|Index: modules/node.module |=================================================================== |RCS file: /cvs/drupal/drupal/modules/node.module,v |retrieving revision 1.403 |diff -u -F^f -r1.403 node.module |--- modules/node.module 21 Sep 2004 18:43:54 -0000 1.403 |+++ modules/node.module 26 Sep 2004 03:00:19 -0000
That file is now located in modules/node, so it should be modules/node/node.module (similarly with the other .module files). However, since it is for an older version of Drupal, I wouldn't take bets on it's actually working.
TIA for any clues as to what I've done wrong!
Try reading the entire thread and finding a patch that is for the version of Drupal you are using (I'm assuming 5.2). The thread seems to span from 4.x to (now) 7.x. Also, since there is a lot of discussion in the thread with no real conclusion, I'd be very cautious in applying any patch.
I am a recent convert to Drupal, and have just finished installing and configuring it for a site I'm developing. The only problem I had during the config process was setting the timezone. The site is in the Atlantic timezone (-0400), but when I choose this option currently, the time is one hour behind. I could set the timezone to -0500, but that wouldn't be correct, and I'd have to remember to change it twice a year.
Anyway, I found this patch http://drupal.org/node/11077 which seems to do what I need, but I can't get the patch applied. So I have two questions:
There are actually several patches in that node, and you didn't mention which one you were using. I'm assuming you just grabbed the first patch and didn't actually read through the thread, or even the dates of the comments.
Ah... I didn't realize the comments could have attachments as well. Looks like I need to investigate this patch a little further. Thanks for setting me straight - I'm in a whole new world here, just trying to get my bearings :)
Quoting Sarah Adams mr.sanders@geekjock.ca:
(I posted this question to the "Post installation" forum as well, not sure if I'm more likely to get a response there or here.)
I am a recent convert to Drupal, and have just finished installing and configuring it for a site I'm developing. The only problem I had during the config process was setting the timezone. The site is in the Atlantic timezone (-0400), but when I choose this option currently, the time is one hour behind. I could set the timezone to -0500, but that wouldn't be correct, and I'd have to remember to change it twice a year.
Ugh, DST, http://for-my-kids.com/cms/node/194
Anyway, I found this patch http://drupal.org/node/11077 which seems to do what I need, but I can't get the patch applied. So I have two questions:
Was the patch for _your_ Drupal _version_?
- Right now I'm working on this site on my development server, so I
have shell access and can apply the patch. What happens if I move the site to the client's host and don't have shell access in order to apply the patch?
Development servers are for development, you would deploy to production the code you have in development which would already have the patch applied.
- The patch itself did not work (see below) - any idea why? I'm
guessing maybe there is a more up-to-date version or something, but I have no idea where to look for it.
Probably the patch was for a different Drupal version than you are executing.
Earnie -- http://for-my-kids.com/