Support » Plugin: The Events Calendar » Event category slug produces 404 in bilingual menu (up)

Viewing 15 replies - 1 through 15 (of 27 total)
  • Even more…
    By default, the view is by list.
    When you switch to the month view, the URL is :
    http://www.uscars.biz/uscars.wordpress/events/mois/
    Note that something translates month by mois but the view is displayed.
    But if you want to switch back to the list view, the URL generated is :
    http://www.uscars.biz/uscars.wordpress/events/liste/
    And this time “liste” generates a 404 error but if you correct manually liste by list, the list view is correctly displayed again.
    It looks more like a bug because anyway, we don’t need that words of the URL are translated in the website language. It should just stay in english if the translation is too complicated to handle for a free product.
    Best regards.

    Plugin Contributor geoffgraham

    (@geoffgraham)

    Hey @uscarsfrance,

    That’s certainly odd! Thanks for the information, I think this will help us get started.

    I wonder if permalinks has something to do with this. Will you please try following the steps in outlined here to see if it makes any difference with the way the views are being redirected:

    Fixing HTTP 404 errors

    A couple of those steps will help flush permalinks, which I’m hoping will help a lot.

    Thanks!
    Geoff

    Hi Geoff.
    First the System Information :

    HOME URL
    
    Accueil
    SITE URL
    Accueil
    INSTALL KEYS - WORDPRESS VERSION 4.5.3 PHP VERSION 5.6.23 PLUGINS Akismet version 3.1.11 by Automattic(https://automattic.com/wordpress-plugins/) Broken Link Checker version 1.11.2 by Janis Elsts, Vladimir Prelovac(http://w-shadow.com/) Contact Form 7 version 4.4.2 by Takayuki Miyoshi(http://ideasilo.wordpress.com/) Dynamic To Top version 3.4.2 by Matt Varone(http://www.mattvarone.com) DZS Video Gallery version 9.31 by Digital Zoom Studio(http://digitalzoomstudio.net/) GT Tabs version 3.1 by Billy Bryant(http://www.CustomDesignSite.net/) Insert JavaScript & CSS version 0.2 by Ryan Nutt(http://www.nutt.net) Jetpack by WordPress.com version 4.1.1 by Automattic(http://jetpack.com) Limit Login Attempts version 1.7.1 by Johan Eenfeldt(http://devel.kostdoktorn.se) NextGEN Plus by Photocrati version 1.3.14 by Photocrati Media(http://www.photocrati.com) NextGEN Gallery version 2.1.49 by Imagely(https://www.imagely.com) One-Click Child Theme version 1.6 by tychay(http://terrychay.com/) PayPal Donations version 1.9.3 by Tips and Tricks HQ, Johan Steen(https://www.tipsandtricks-hq.com/) WPML Multilingual CMS version 3.4.1 by OnTheGoSystems(http://www.onthegosystems.com/) The Events Calendar version 4.2.3 by Modern Tribe, Inc.(http://m.tri.be/1x) TinyMCE Advanced version 4.3.10.1 by Andrew Ozz(http://www.laptoptips.ca/) UpdraftPlus - Backup/Restore version 1.12.17 by UpdraftPlus.Com, DavidAnderson(https://updraftplus.com) Video.js - HTML5 Video Player for WordPress version 4.5.0 by Dustin Lammiman, Steve Heffernan WooDojo version 1.5.4 by WooThemes(http://woothemes.com/) WooSidebars version 1.4.3 by WooThemes(http://woothemes.com/) WooCommerce Helper version 1.7.0 by WooCommerce(http://woocommerce.com/) Yoast SEO version 3.4 by Team Yoast(https://yoast.com/) WP-PostViews version 1.73 by Lester 'GaMerZ' Chan(http://lesterchan.net) WP UI - Tabs, accordions and more. version 0.8.8 by Kavin(http://kav.in) WP Video Lightbox version 1.8.1 by Tips and Tricks HQ, Ruhul Amin(https://www.tipsandtricks-hq.com/) WPML Media version 2.1.22 by OnTheGoSystems(http://www.onthegosystems.com/) WPML String Translation version 2.3.9 by OnTheGoSystems(http://www.onthegosystems.com/) WPML Translation Management version 2.2.1 by OnTheGoSystems(http://www.onthegosystems.com/) NETWORK PLUGINS - MU PLUGINS - THEME Canvas Reboot MULTISITE - SETTINGS recurring_events_are_hidden = hidden tribeEventsTemplate = tribeEventsBeforeHTML = <p style=\"text-align: left;\">Retrouvez dans le calendrier les prochains événements automobiles auxquels vous allez pouvoir participer.</p> <p style=\"text-align: left;\">Utilisez ce <a href="http://www.uscars.biz/uscars.wordpress/extras/ajout-au-calendrier/">formulaire</a> pour demander l'ajout d'un événement au calendrier.</p> tribeEventsAfterHTML = </br> previous_ecp_versions = Array ( [0] => 0 [1] => 3.0.2 [2] => 3.1 [3] => 3.2 [4] => 3.3.1 [5] => 3.4 [6] => 3.4.1 [7] => 3.5 [8] => 3.5.1 [9] => 3.6 [10] => 3.6.1 [11] => 3.7 [12] => 3.8.1 [13] => 3.9.1 [14] => 3.9.2 [15] => 3.9.3 [16] => 3.10 [17] => 3.10.1 [18] => 3.11 [19] => 3.11.1 [20] => 3.11.2 [21] => 3.12 [22] => 3.12.1 [23] => 3.12.2 [24] => 3.12.3 [25] => 3.12.5 [26] => 3.12.6 [27] => 4.0.1 [28] => 4.0.2 [29] => 4.0.4 [30] => 4.0.5 [31] => 4.0.6 [32] => 4.0.7 [33] => 4.1 [34] => 4.1.0.1 [35] => 4.1.1.1 [36] => 4.1.2 [37] => 4.1.3 [38] => 4.1.4 [39] => 4.2 [40] => 4.2.1 [41] => 4.2.1.1 [42] => 4.2.2 ) latest_ecp_version = 4.2.3 welcome_notice = 1 donate-link = postsPerPage = 10 liveFiltersUpdate = 1 showComments = showEventsInMainLoop = eventsSlug = events singleEventSlug = event multiDayCutoff = 00:00 defaultCurrencySymbol = € embedGoogleMaps = 1 embedGoogleMapsZoom = 10 debugEvents = stylesheetOption = tribe tribeEnableViews = Array ( [0] => list [1] => month ) viewOption = list tribeDisableTribeBar = monthEventAmount = 3 reverseCurrencyPosition = dateWithYearFormat = j F Y dateWithoutYearFormat = F j monthAndYearFormat = F Y dateTimeSeparator = @ timeRangeSeparator = - datepickerFormat = 4 earliest_date = 2014-05-29 00:00:00 latest_date = 2017-02-12 23:59:59 last-update-message = 4.2.3 schema-version = 4.2.3 earliest_date_markers = Array ( [0] => 4825 ) latest_date_markers = Array ( [0] => 8449 ) WORDPRESS TIMEZONE Europe/Paris SERVER TIMEZONE UTC COMMON LIBRARY DIR /home/uscars/www/uscars.wordpress/wp-content/plugins/the-events-calendar/common/src/Tribe COMMON LIBRARY VERSION 4.2.1.1

    Hi Geoff.
    I had a hard time following the advices of the page because I’ve been locked out trying to desactivate some plugins. The site is back now.
    So I tried the steps given to flush the permalinks cache. That does not fix the issue. The full System Information is above.
    Considering the issue that seems to be an evil translation of the slugs for at least “month” (mois), “list” (liste) and “category” (categorie), what would you want me to do to isolate the issue (as soon as I’m not a developer).
    Best regards.

    Plugin Contributor GeoffBel

    (@geoffbel)

    Hey Uscarsfrance,

    At my colleague’s request, I am chiming in because of my extensive experience with WPML.
    If you prefer, we can even continue this conversation in French.

    What is going on is that there are currently a couple of known bugs between the latest versions of our plugins and the latest versions of WPML.

    More specifically, certain slugs, when translated, are generating 404 URL messages.
    The good news is that we are working hand in hand with the good folks from WPML and that updates to fix these issues should be out fairly soon.

    You will be contacted when they do.

    In the meantime, the workaround is to not translate the following slugs:

    1. venue
    2. organizer
    3. list
    4. category

    The first two are found under WPML > Translation Management > Multilingual content setup

    The other ones can be temporarily “untranslated” using the string translation interface.

    Let me know how that goes.

    Best regards,
    Geoff B.

    Hi.
    Sorry for the late reply. I missed the notification.
    So “Venues” and “Organizers” are on “Do nothing” in the Multilingual Content Setup.
    In the String Translation panel, for the “the-events-calendar” domain :
    – “list” exact match -> every match (low or upper case) is set to “Not translated”
    – “category” exact match -> every match (low or upper case) is set to “Not translated”
    – “mois” -> no strings found
    Anyway the plugin wants to work with the URLs :
    http://www.uscars.biz/uscars.wordpress/events/liste/
    … that is broken from switching from month to list in the menu
    http://www.uscars.biz/uscars.wordpress/events/mois/
    http://www.uscars.biz/uscars.wordpress/events/categorie/salon-event/
    … that means that there’s a translation work somewhere that is unexpected for “month” and “category”.
    We can continue in French for the community.
    See you.
    Franck.

    Hi from France.
    I just updated to version 4.2.7 and all of the sudden, I notice that the whole set of broken URLs is now working. I don’t see anything about the reported issue in the changelog.
    Anyway, is my issue supposed to have been fixed in this version ?
    Best regards.

    • This reply was modified 1 year, 9 months ago by  uscarsfrance.
    Plugin Contributor GeoffBel

    (@geoffbel)

    Good afternoon Franck,

    Sorry about the delay answering back.

    You are correct, there has been a coordinated effort between us and the WPML team (which released version 3.5.3 of their plugin on Friday. Most of the issues above have been fixed.

    The only pending one would be the “category” slug that is not fixed yet (but we are working on it).

    Hang tight as we fix that glitch

    Regards,
    Geoff B.

    Hi.
    Just to let you know that all the good fixes introduced in version 4.2.7 are sadly gone. The base URL is still : http://www.uscars.biz/uscars.wordpress/events/
    – choosing the month view, the URL accessed is http://www.uscars.biz/uscars.wordpress/events/mois/ : 404 error (should be http://www.uscars.biz/uscars.wordpress/events/month/)
    – back to the list view, the URL accessed is http://www.uscars.biz/uscars.wordpress/events/liste/ : 404 error (should be http://www.uscars.biz/uscars.wordpress/events/list/)
    – clicking in an event category from an event, the URL accessed is http://www.uscars.biz/uscars.wordpress/events/categories/salon-event/ : 404 error (should be http://www.uscars.biz/uscars.wordpress/events/category/salon-event/).
    The actual WPML Multilingual CMS version is 3.6.1 and the actual The Events Calendar version is 4.3.4.1.
    Franck.

    • This reply was modified 1 year, 6 months ago by  uscarsfrance.
    Plugin Contributor GeoffBel

    (@geoffbel)

    Good evening Franck,

    We apologize for the inconvenience this might have caused.
    There are a couple of things at play here:

    1. Every update of our plugins while WPML is installed while require the permalinks to be re-saved
    2. The very latest version of WPML had some bits of code that created certain issues on some of our users’ installs unfortunately. To fix this (on top of re-saving the permalinks every step of the way), you might also need to deactivate and reactivate both our plugins and the WPML plugins + you might have to go to WPML > Support > Troubleshooting page and run the cleanup buttons (after a database backup)

    If all of this fails, reverting to the second to last version of WPML should help.

    Let me know how that goes.

    Best regards,
    Geoff B.

    Hi.
    Every update of our plugins while WPML is installed while require the permalinks to be re-saved
    > Done

    The very latest version of WPML had some bits of code that created certain issues on some of our users’ installs unfortunately. To fix this (on top of re-saving the permalinks every step of the way), you might also need to deactivate and reactivate both our plugins and the WPML plugins + you might have to go to WPML > Support > Troubleshooting page and run the cleanup buttons (after a database backup)
    > Done.

    It still does not want to work. And I can’t go back to any previous version of WPML as soon as I know the bugs they corrected for another website I have.

    WPML has also a very great support so it should be very probable that they would like to investigate with your team according to the number of websites that may run simultaneously WPML and Tribe Events Calendar.

    Happy New Year !

    @uscarsfrance,

    Thanks for bringing this to our attention, and I’ll make sure that this issue is passed along to my colleagues!

    Happy New Year to you as well!

    Shelby 🙂

    Plugin Contributor nicosantos

    (@nicosantos)

    Hey,

    I’m reaching out to let you know that we just released a fix for this issue. Please update The Events Calendar to version 4.4.1.1 (release notes) and let us know if this actually makes the issue right in your site.

    Best,
    Nico

    Hi. The issue is still there. Even after saving again the permalink structure. Sorry to have to tell that. Best regards. Franck.

    Hi. Any chance that there may be a permanent fix to the issue ? It exists at least since 6 months now and only one version of the plug-in has been compatible with current versions of WPML. I’m very surprised to be the only one to post here on this topic. There may be hundreds of websites that use WPML and The Events Calendar. Best regards. Franck.

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Event category slug produces 404 in bilingual menu (up)’ is closed to new replies.