error 404 when adding an event

Home Forums Calendar Products Community Events error 404 when adding an event

Viewing 11 posts - 31 through 41 (of 41 total)
  • Author
    Posts
  • #992736
    Brook
    Participant

    Definitely a temporary solution. Thanks for letting us know Christoph. I hope you don’t mind, I nabbed your system information from a previous post of yours. I will use that as well. We set aside some more time for further testing today, so I will let you know the result.

    Cheers!

    – Brook

    #992982
    Dirk
    Participant

    This reply is private.

    #992989
    gonzalosanza
    Participant

    Hello team, as I need to fix this quickly, I have been working on my own, and I discovered that this error is coming when the language is not set to US english, or at least, it’s coming when the language is set to Spanish. I hope this can point you in the direction to fix the problem quickly, it’s been a bit frustrated.
    Thanks.
    Gonzalo.

    #993897
    Brook
    Participant

    That is interesting Gonzalo. It brings renewed scrutiny to this being an issue with language switching in WP.

    I have definitely tried switching WordPress to a different Language as that has been a common pattern thus far. With Spanish I don’t get a 404 in any of the following scenarios:

    • Going to: Community > Submit Event and clicking Submit
    • Going to: Community > My Events
    • Browsing the Calendar, or the WP Admin and adding/updating/deleting events.

    I noted many people had customized slugs. For example instead of the URL being “example.com/events/community/add” folks had changed it to something like “example.com/eventos/communidad/agregar/”. So I have tested extensively with custom slugs as well. Everyone here updated from a past version before experiencing an error, so I have tried that as well. That’s just for staters, there are many many different things I have tried and nothing reproduces the problem.

    At this point I am at a loss as to the cause. I am worried that the issue simply can not be reproduced on my systems. So I am going to try roping in someone else in a thoroughly different environment and see if they can do some extensive testing as well.

    – Brook

    #993966
    Christoph
    Participant

    I find out that the add page in version 3.11 is now named “hinzufuegen” in the german tranlsation.
    If I link to “example.com/events/community/hinzufuegen” instead of “example.com/events/community/hinzufuegen” everything seems to be working.
    Maybe in the spain version it is similar.

    #994025
    Brook
    Participant

    Aha! That makes sense. That seems the likely source of the problem. Thank you so much Christoph for taking the time to share that.

    In Community Events 3.11 we fixed a bug that had existed for a while. The last part of the URL for Community pages was not translating properly. So, in 3.10 running Spanish the the Community Add Event and My Events URLs were:

    • example.com/eventos/communidad/add/
    • example.com/eventos/communidad/list/

    But as of 3.11 and newer the final portion now translates:

    • example.com/eventos/communidad/ahregar/
    • example.com/eventos/communidad/lista/

    In my case, and the case of my colleagues, we have all been using the automatically generated link to the Community Events link which points to the new URL. But, I bet everyone here was using a link they had manually added and it goes to the old URL.

    The solution should be very easy. Update the Community Events plugin to 3.11. Grab the new URL by going to you WP Admin Bar, and clicking the Community: Submit Event link. Then use that URL to replace the old URL.

    community-url-grabber

    Most of you have probably added this URL to your menu, by going to WP Admin > Appearance > Menus, and adding an item to submit an event. If you edit that menu item, you can input the new update URL. No more 404s!

    I am truly sorry none of us thought of this before hand. Our entire team was likely using PHP to automatically generate the current version of the URL. Thus no one would have noticed a problem. This did not occur to me until Christoph kindly pointed out that it had changed.

    Does that solution fix things for everyone? Thanks again, Christoph!

    – Brook

     

    #994028
    gonzalosanza
    Participant

    nice!! 🙂

    #994042
    ANTONIO JOSE
    Participant

    Goodnight: I changed my menu to the new url http://rondainfinita.info/eventos/comunidad/agregar/ (not ahregar)
     and it WORKS!
    Thank you all for the contributions, if you pass by Ronda (Spain) invite you to a wine of Ronda 😉 Thanks

    #994060
    Hans-Gerd
    Participant

    I have solved the problem on my website with the hint from christoph:
    http://www.beispiel.de/veranstaltungen/community/hinzufuegen

    thanks

    #994114
    Stephan
    Participant

    Worked! 🙂 Thank you


    @Brook
    : I´ve changed my edit-event.php for more content.
    The changes have gone with the update to 3.11.
    Will this happen with every update?

    #994204
    Brook
    Participant

    Excellent! That is great news.

    @Stephan Yes they will be lost. When WordPress updates a plugin it deletes the existing plugin folder, and then unzips the file it just downloaded to replace it. All changes made to plugins and themes are lost when you update them in WordPress. However, WordPress also provides “hooks and filters” to make it easy to modify things. Most people create a Child Theme and put any modifications in there. You can even create a theme override as per our Themer’s Guide. If you need any help with this please open a new topic and hit us up with questions. We’d love to help.

    Since this issue is now resolved I am going to archive the topic. Thank you all for your patience and assistance in figuring this out. Cheers!

    – Brook

Viewing 11 posts - 31 through 41 (of 41 total)
  • The topic ‘error 404 when adding an event’ is closed to new replies.