WordPress.org

Ready to get started?Download WordPress

Forums

Shabbat Zman Widget
[resolved] Plugin Does Not Seem to bew Accurate (14 posts)

  1. itsjustathought
    Member
    Posted 10 months ago #

    For my 29609 zip code, sunset Friday and Saturday are given as three in the afternoon, making all the other times incorrect.

    http://wordpress.org/plugins/adatosystems-friday-zmanim/

  2. adatosystems
    Member
    Plugin Author

    Posted 10 months ago #

    I'm trying it on one of my demo sites and it's coming out fine for me.
    Shabbat Times for Oct 11, 2013
    Greenville, SC 29609, USA
    7 Cheshvan, 5774
    ז׳ בְּחֶשְׁוָן תשע״ד
    Parashat Lech-Lecha / פרשת לך־לך
    Plag haMincha (GR''A) is 5:47:42 PM
    Candle Lighting Time: 6:41:13 PM
    Sunset Friday: 6:59:13 PM
    Sunrise: 7:32:48 AM
    Latest Shema (GR''A) is 10:24:24 AM
    Havdalah (72 min): 8:09:55 PM

    Please check the following:

        That there are no spaces or extra characters in the zip code (you shouldn't. I only allow 5 characters)
        that your web server is able to contact can contact the maps.googleapis.com server. (some web servers are behind a firewall and it's blocked. Most standard hosting servers have no problem

    After that, click the "debug" checkbox at the bottom of the widget, click refresh on your website, and post the output here.

  3. itsjustathought
    Member
    Posted 10 months ago #

    At 11;31 PM East Coast Time, for 29609 the plugin reported:

    Shabbat Times for Oct 11, 2013
    7 Cheshvan, 5774
    Parshas Lech-Lecha / פרשת לך־לך
    Candle Lighting Time: 2:41 PM
    Sunset Friday: 2:59 PM
    Latest Shema (GR''A) is 6:24 AM
    Sunset Saturday: 2:57 PM
    Havdalah (72 min): 4:09 PM

  4. adatosystems
    Member
    Plugin Author

    Posted 10 months ago #

    What does the debut output give you?

  5. adatosystems
    Member
    Plugin Author

    Posted 10 months ago #

    Sorry, DEBUG, not debut.

  6. itsjustathought
    Member
    Posted 10 months ago #

    Shabbat Times for Oct 11, 2013
    Lat and Long is: 34.9208336 and -82.3777335
    Time zone is Eastern Daylight Time, tzoffset is -18000, dstoffset is 3600 and offset is -14400
    saturday is 2013-10-12
    http://www.hebcal.com/hebcal/?v=1;nh=off;nx=off;year=2013;month=x;ss=off;mf=off;c=off;s=on;i=off;lg=ah
    Day of the week is 3
    7 Cheshvan, 5774
    Parshas Lech-Lecha / פרשת לך־לך
    timestamp: 1381464000 and friday_db is
    halachichour: 3430.33333333
    plaginseconds:
    Candle Lighting Time: 2:41 PM
    Sunset Friday: 2:59 PM
    Latest Shema (GR''A) is 6:24 AM
    Sunset Saturday: 2:57 PM
    Havdalah (72 min): 4:09 PM

  7. adatosystems
    Member
    Plugin Author

    Posted 10 months ago #

    My guess is your server is running an earlier version of PHP, which doesn't support the "next friday" option I'm using.

    I'll get a work around in place for you (and anyone else) in the next few days (I'll also add a line in the debug output to show the current PHP version).

    IF you can update your version of PHP to 5.3, that should fix it. Many hosts will let you do that yourself by selecting which version of PHP to run under.

    Thanks!

  8. itsjustathought
    Member
    Posted 10 months ago #

    My cPanel offered "default", PHP4 or PHP5. Selecting PHP5 didn't help.

  9. adatosystems
    Member
    Plugin Author

    Posted 10 months ago #

    When you have a chance, update to the newest version (1.1). It has additional debugging info, plus it calculates some of the dates differently if the initial attempt fails.

    If it's still not accurate, please turn on debugging and post the complete output here.

  10. itsjustathought
    Member
    Posted 10 months ago #

    At half-past noon, the new version debug says:

    Shabbat Times for Oct 18, 2013
    14 Cheshvan, 5774
    Parshas Vayera
    Candle Lighting Time: 1:56 PM
    Sunset Friday: 2:14 PM
    Sunset Saturday: 2:13 PM
    Havdalah (72 min): 3:25 PM
    Current PHP version: 5.2.17
    Lat and Long is: 34.1030032 and -118.4104684
    Time zone is Pacific Daylight Time, tzoffset is -28800, dstoffset is 3600 and offset is -25200
    Friday timestamp: 1382068800 and Friday text is Oct 18, 2013
    Saturday timestamp: 1382155200 and Saturday text: 2013-10-19
    Friday Sunset: 2:14 PM
    Saturday Sunset: 2:13 PM
    Hebcal jewish date URL: http://www.hebcal.com/hebcal/?v=1;nh=off;nx=off;year=2013;month=x;ss=off;mf=off;c=off;s=on;i=off;lg=a
    Weekday number: 1
    halachichour:
    plaginseconds:

  11. adatosystems
    Member
    Plugin Author

    Posted 10 months ago #

    Send me an email at leon (at) adatosystems.com and let's see if we can work this out directly.

  12. adatosystems
    Member
    Plugin Author

    Posted 10 months ago #

    I've made another update which may resolve your issues. Please install the 1.3 version and let me know if it works better for you.

  13. itsjustathought
    Member
    Posted 10 months ago #

    Does your ZIP Code start with something like 901nn?

  14. adatosystems
    Member
    Plugin Author

    Posted 10 months ago #

    The default zipcode is 90210 (Beverly Hills, CA). Several of my clients use 44122. The sample at http://www.adatosystems.com/abby/ is using yours - 29609.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.