WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Recurring events page (28 posts)

  1. David Hunt
    Member
    Posted 1 year ago #

    When I set up a recurring event -- e.g. a weekly event -- the recurrences appear in a nice list on the Events page as expected. However, when I click on an individual link for one of the recurrences, I get a 404 (Page Not Found) error.

    From browsing the support forum for Events Manager, it seems that recurring events do not have an events page -- is that right? If so, what is the recommended way to link each instance of a recurring event to a description page?

    Best,

    David

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    hi,

    can you provide us a sample link? also, can you try to re-save your wp permalinks (e.g. choose default permalink > save then back)?

  3. David Hunt
    Member
    Posted 1 year ago #

    I've tried the permalink suggestion a couple of times already (it was in the Troubleshooting docs). Even when permalinks are set to default, the recurring events' individual page link is 404.

    Site is currently on a non-public server, so I'd prefer not to link to it here. I realise that makes it more difficult to troubleshoot ... do you have any other suggestions?

  4. agelonwl
    Member
    Posted 1 year ago #

    I understand, can I know what is your server? e.g. iis

  5. David Hunt
    Member
    Posted 1 year ago #

    Sure, it's Linux-based. From my cPanel:

    Apache version 2.2.22
    PHP version 5.2.17
    MySQL version 5.1.54
    Architecture i686

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    recurrences are single events too, the recurring event template is a different CPT that gets duplicated and created like a normal post.

    What if you try re-saving a specific recurrence, or click the "view post" link?

    Also, without disclosing the domain, what's your event url path that's 404ing?

  7. David Hunt
    Member
    Posted 1 year ago #

    Sorry for the delay in reply; I still haven't resolved this problem.

    I tried re-saving the recurring event, and also trashing it and creating a new one. Still the same problem.

    On the recurring event edit page, it says I can edit individual recurrences from the events edit page. However, the events edit page does not list any of the individual recurrences, so I cannot see how to edit them.

    My test settings are: weekly event (every Wednesday), from 1 June 2012 to 1 June 2013. The event title is "Weekly workshop". From the recurring event edit page, if I hover on "View post", the link says it will go to:

    http://domain.com/events-recurring/weekly-workshop/

    But when I click on the "View post" button, it redirects to

    http://domain.com/events/weekly-workshop-2012-06-06/

    i.e. the first recurrence within the defined dates (but note that this is in the past). But this page results in a 404 error, as do all other recurrences listed on the events index page (i.e. http://domain.com/events/).

  8. David Hunt
    Member
    Posted 1 year ago #

    Note this is not due to any custom theme. The same problem occurs using the default Twenty Eleven theme.

  9. David Hunt
    Member
    Posted 1 year ago #

    I have done more testing and found there is a conflict with the WPML plugin. Deactivating the WPML plugin makes the recurring post pages display. Reactivate and the 404 error occurs. This is rather critical as the website I am developing must be bilingual, and WPML is the best plugin for that purpose.

    Is there any way I can help you to bugfix this conflict?

  10. David Hunt
    Member
    Posted 1 year ago #

    In em-posts.php, in the definition of $event_recurring_post_type, I set 'has_archive' => true

    This has seemingly fixed the error. Can you see any problem with changing $event_recurring_post_type in this way?

  11. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    as far as I'm aware, there's plenty of users using WPML without this problem. did you try resaving your permalinks when changing themes or deactivating other plugins? you'd need to do that with this sort of error.

  12. dops
    Member
    Posted 1 year ago #

    Im running into exactly the same issue. Unfortunatly has_archive => true doesnt fix it for me..
    Turning off WPML does but i kinda need it for the rest of my site ^^

  13. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    I'll test WPML again asap, it may be that changes to 3.4 broke something in between the two plugins

  14. David Hunt
    Member
    Posted 1 year ago #

    Hi Marcus,

    I was wondering if you were able to test WPML again? It seems this issue still exists with the most recent versions of WPML (2.5.2) and WordPress (3.4.1).

  15. David Hunt
    Member
    Posted 1 year ago #

    By the way, after upgrading to the latest version of WPML, WordPress and Events Manager (5.1.8.5), the above has_archive => true hack no longer fixes things for me too.

  16. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    Haven't had a chance yet.

    If someone could post this in the WPML support site, I'd appreciate some insight from a developer on their side of things. Since it's a 3.4 related issue they may save me some digging.

  17. David Hunt
    Member
    Posted 1 year ago #

    I've also posted this on the WPML forums and one of their developers has been assigned.

    So far he thought that the permalinks flush trick fixed it, but the problem still happens for newly-added recurring events.

    In other words, if you set permalinks to default and then back to whatever setting you really want, it does fix the 404 errors. But then if you add a new recurring event, then that NEW event's permalinks all have 404 errors. But all the previously-added recurring events permalinks work ... even if you have never tried to visit a particular recurrence of that event.

  18. David Hunt
    Member
    Posted 1 year ago #

    Additionally, after doing the permalinks flush, the individual recurrences show up in the Events editing list (i.e. edit.php?post_type=event). But the NEW recurring event's individual recurrences are not in that list.

  19. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    what's the link to the forum post? I'll keep an eye on that too and chime in there.

  20. David Hunt
    Member
    Posted 1 year ago #

    Here's the link:

    http://wpml.org/forums/topic/events-manager-plugin-404-error-for-recurring-events/

    It seems the WPML developer knows that the problem is, and is going to be contacting you shortly!

  21. David Hunt
    Member
    Posted 1 year ago #

    Hi Marcus,

    I was wondering if you could confirm that the WPML developers have got in touch with you about these issues?

    Best,

    David

  22. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    I'll post on there. I was going to take a closer look at this during the week so any insight to make that easier would be nice.

  23. Annette Pretorius
    Member
    Posted 1 year ago #

    Hi Sorry, I started a new thread for the variation of my problem, and wanted to delete my previous post and discovered I couldn't. Please ignore. . .

  24. guidowalter@yahoo.com
    Member
    Posted 1 year ago #

    Same issue here. I deactivated the WPML plugin and recurring events works!!!

  25. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    @guidowalter
    Currently Recurring evnets don't work with WPML. In fact, this current recurring event will probably never work because of the way it was made and how WPML expects posts to act. Not blaming them here, although I'm not necessarily taking the blame either :)

    asap, we'll be completely rewriting recurrences to add various other features to it and I'll do it in a way that it works for WPML and other ML plugins.

  26. Shreyo
    Member
    Posted 1 year ago #

    @Marcus
    first, thanks for the plugin.

    i'm using you plugin and there is no problem in display. but its very strange that the recurring events are trashed automatically over mid-night (end of the day). initially, i thought this was accidental, but its happening for the last 2 days and i'm restoring them every morning.

    can you help out?

    thanks in advance.

  27. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    we can try, but pls ask on a new thread, this is old and resolved.

    I'd try disabling other plugins though, this isn't normal behaviour

  28. Shreyo
    Member
    Posted 1 year ago #

    thanks marcus,
    i will post this issue as a new topic as you suggested.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic