Various Shabbat Parashat values are empty
gzh1960 opened this issue · comments
fyi php version is 7.1, I also reverted back to 5.6 reran Calculate but it is no different. Now back to 7.1 again.
What has changed on your system since this was working? Also, What is in the MySQL yahrzeit table for this?
Sarah,
- Only thing changed to my knowledge was upgrading the Hebrew Calendar Helper after the last issue #19 'Fatal error after changing PHP from Version 5.6 to 7.1'.
- civicrm_fountaintribe_yahrzeits_temp is showing empty values for the parashat columns.
regards
Garry
Can confirm that the call to Hebcal is returning the correct data. Following URL I believe would be constructed and it works.
Straight after the Hebcal call in the code it then tries to update the yahrzeit table and I can only think it is failing here for some reason or somehow returning null or an empty value without failing which might be more likely. Could you have a look in this area perhaps please?
I can see that the yahrzeit_shabbat_morning_before and yahrzeit_shabbat_morning_after contain correct date values e.g. 2018-09-08 00:00:00
Any other thoughts or things you would like me to review/check?
Regards
Garry
The Hebcal.com site is now redirecting all http:// requests to https:// I updated the extension to use https:// when connecting to hebcal.com. (otherwise the redirect breaks things)
Installed in dev and tested OK and now prod with success. Thank you so much Sarah. We make a good team. My php is improving although slowly!
FYI: I also reported this issue to the hebcal.com people: hebcal/dotcom#32