Forums

[Plugin: AmR iCal Events List] Displaying "No events found within start and end date" (8 posts)

  1. downsdesign
    Member
    Posted 3 months ago #

    I have ran though all the trouble shooting on http://icalevents.anmari.com/troubleshooting/ and I still seem to be getting the error "No events found within start and end date"

    I have tried using my own calendar as well as the one listed as a sample on the site "[iCal:http://icalevents.anmari.com/calendar/]" and still am having no luck?

    Suggestions?

    Here is the link to where I am getting the error...
    http://woodcarvingsbyklingers.com/events/

    Thanks for your time!

  2. anmari
    Member
    Posted 3 months ago #

    Hi downsdesign

    Are you on a shared server - possibly with safe mode enabled?

    I think there may be a problem with wp_mkdir_p in that situation. I have made some changes and done some testing, but it is late here so will not upload new version till tomorrow and another test.

  3. downsdesign
    Member
    Posted 3 months ago #

    anmari-

    Thanks for your response.

    I am not on a shared server I am on MT's DV server but I have double checked that 'PHP 'safe_mode' is disabled.

    What kind of effect 'wp_mkdir_p' have on its opperation?

    Thanks so much!

  4. anmari
    Member
    Posted 3 months ago #

    in trying to see what your problem may be caused by, I found this
    http://core.trac.wordpress.org/ticket/8830

    wp_mkdir_p is used to create the cache folder and the previous code had a trailing slash for the cache folder creation. I have removed that and adjusted other code to add the slash back for the cache filename spec.

    I have also added a few more debugging notes for if one runs a event page with ?debuf or &debug. See version 2.5.3 just uploaded - check the version before re downloading - sometimes it takes a while to show up.

    Let me know when/if you have done it, so we can see what the problem may be.

  5. anmari
    Member
    Posted 3 months ago #

    Wow - For a moment there I thought I was going nuts!
    I started having what might have been your problem on another site I look after. So I had it working locally on a windows server and on my main test site, but not on this other site.....I googled wp_remote_open till I was blue in the face! since that was returning a '1' instead of the file content.

    It too me for ever, but then I changed two things
    1) they were using a private URL for the google calendar even though the calendar was public

    2) they still had the "old" filter in the page instead of the new shortcode. ie [iCal:url] instead of [iCal url]

    Changed both and it worked. It's late, I'm tired so won't look into which of it it was etc, but just wanted to let you know if you still have problems, try checking both.

  6. downsdesign
    Member
    Posted 3 months ago #

    Whoohooo!!

    Your the man it looks like the problem was the shortcode as soon as I changed [iCal:url] to [iCal url] my calendars began to show up. I guess I assumed it was right because I copied it off your to use as a demo to test.

    Thanks for your help anmari!

  7. downsdesign
    Member
    Posted 3 months ago #

    Well I guess it's halfway working I still seem to be getting this error

    http://woodcarvingsbyklingers.com/events/

    "Error opening remote file url

    Please check you are using shortcode syntax in your page [iCal url], not [iCal:url]. Plugin moved to shortcode usage only several versions back, after maintaining compatibility for a period.

    Error loading or cacheing ical calendar

    However the calendar is displaying?

    I'm lost again...

  8. anmari
    Member
    Posted 3 months ago #

    It looks like somehow it thinks it has two urls, one of them blank?

    If I pass the ics file as a parameter (so one url only)
    http://woodcarvingsbyklingers.com/events/?ics=http://www.google.com/calendar/ical/tppmurdbvhmrvjgsab2te1iabg%40group.calendar.google.com/public/basic.ics

    then it looks fine.

    I can create what looks like that behaviour by having a new line instead of a space between the iCal and the url.

    Please double check your shortcode - the url must not be a hyperlink, there must be no carriage returns, line feeds, just a space:

    purely [iCal url].

    Meanwhile I will check on the wordpress shortcode and try to strip away any such bad characters so they don't hit the url validation.

Reply

You must log in to post.

About this Topic