Node repeat that repeats every week or every second week etc. have all repeat nodes time set to 0.00 - 0.30. When node repeat is set to repeat each month all repeat nodes have the correct time.

I have testet this and found out that it must be related to PHP version 5.3

On PHP version 5.2.17-0.dotdeb.0 all repeat nodes have the correct time.

I have also testet the other versions of node repeat 6.x-2.x-dev, 6.x-2.x-dev, 6.x-1.x-dev, 6.x-1.1.
They all have the same isue.

Can anyone figure out what changes in PHP 5.2->5.3 that makes the code break?

CommentFileSizeAuthor
Issue node repeat.png27.3 KBiwerksom
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gagarine’s picture

Component: Code » Documentation

Thanks a lot for you tests.

It's really strange than nobody see that before (specially because you say it the same with all the version). So I think it's a problem with your PHP 5.2 configuration but I'm really not sure about that. Sadly, I just switch my machine on PHP 5.3 and erase all PHP 5.2 stuff... so I can't test it for the moment.

Someone can test and confirm that?

iwerksom’s picture

Hi Gagarine and others
I can see there are other issues with node repeat and PHP 5.3
http://drupal.org/node/1027330
So I guess there must be something wrong with the way datetimes are calculated.

I have tried using all the different formats to handle the time fomat for the date field (UTC, site timezone etc.) This does not do the trick.

What happens when you try to repeat a data every week and have PHP 5.3 installed?
I am using a shared host. But have also triede it on localhost using Wamp.

For dependency I have installed
Date repeat api 6.x-2.x-dev

gagarine’s picture

Oups sorry I read it to fast and understand the problem was with the PHP 5.2.

I'm going to try to reproduce your problem on my machine. I mainly test with month repetition (because I easier to see if it's correct) so it's possible than I didn't see the problem.

The PHP 5.3 issue from #1027330: Drupal 7 version of Node Repeat is certainly not linked.