• Resolved illusiodesign

    (@illusiodesign)


    Looks like the 404 error is a permalinks issue. When I specify a custom structure, the links to the events posts become broken. However, when leaving the setting to default, everything works fine.

Viewing 15 replies - 16 through 30 (of 42 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I’ve finally managed to duplicate this issue successfully, I’m guessing everyone’s sites are set up like this: https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    If so, below this line in classes/em-permalinks.php line 122 replace

    $events_slug = str_replace(trailingslashit(get_bloginfo('wpurl')),'', get_permalink($events_page->ID));

    with

    $events_slug = str_replace(trailingslashit(get_bloginfo('wpurl')),'', get_permalink($events_page->ID));
    $events_slug = str_replace(trailingslashit(get_bloginfo('url')),'', get_permalink($events_page->ID));

    if this doesn’t fix it, i’ll need more info to go on because if I can replicate the problem, fixing it isn’t a problem.

    I’ll release this today in 4.0.6

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    you need to go to your permalinks page and just click the update button after doing the above, to refresh your settings.

    kenneth

    (@mohanasundaram)

    I have this following problem
    When I try to add a new location from my buddypress profile I get the following error

    Not Found
    The requested URL /admin.php was not found on this server.

    I am not a php expert but I guess it has got something to do in
    templates/forms/location-editor.php

    <form enctype=’multipart/form-data’ name=’editcat’ id=’location-form’ method=’post’ action=’admin.php?page=events-manager-locations’ class=’validate’>

    Is this problem related to what is being discussed in this thread or I am doing something wrong?

    I am using
    Events Manager Version 4.0.5
    Wordpress 3.0.5
    Buddpress 1.2.8

    I’ve been trying everything I can think of and still can’t get it to work.

    My site is still in development so I have a landing page on the root URL (www.healers.la).
    The calendar itself can be found here: https://www.healers.la/healing.php/events/ and the location page can be found here: https://www.healers.la/healing.php/locations/

    Everything seems to be working fine except for the slugs – when I click on an event or location, I get the “not found” message.

    When I change the WP permalinks to the default, everything works fine.

    I’m using WP 3.1.2 and EM 4.0.5.

    I’m hoping to launch the site next week – please help!!

    Thanks, Ilan.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    @healersla
    I’m hopefully sorting this out once and for all today. I already have an install with this issue to fix, but if you send me ftp and wp admin creds via https://wp-events-plugin.com/contact-us/ I could also have a look to see if it fixes yours too.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    this is a really pesky bug. I’ve narrowed it down to IIS and most probably only people using this: https://codex.www.ads-software.com/User:ringmaster/IIS#Alternate_Rewrite_Methods

    If you download the current dev version, I’ve made a temporary workaround, as I don’t know how long this could take to fix. Basically, you can enable permalinks, but Events Manager will still work with querystrings, e.g.

    mysite.com/events/?event_id=x

    Once the problem is sorted, you’ll be able to just revert to normal permalink slugs and the automatic 301 redirects should maintain your google rankings.

    To enable this, you need to go to your config file and add this:

    define('EM_DISABLE_PERMALINKS',true);

    If you want, you can wait until the next update, I hope tomorrow but running a little late atm.

    you need to go to your permalinks page and just click the update button after doing the above, to refresh your settings

    The 4.0.6 update fixed this problem for me after I went to the permalinks menu and clicked update like in the pre-update fix. So if 4.0.6 didn’t appear to have fixed this for you, try refreshing your permalinks settings. Glad it’s finally worked out! Thanks.

    4.0.6 fixed the problem for me too – thank you!!

    Thread Starter illusiodesign

    (@illusiodesign)

    Ditto that on 4.0.6. It works great. Thanks for the fix!

    Nope – back to 404s again after upgrading.

    If I had hair left I’d be tearing it out. I’m already having similar trouble with others getting the ‘no event’ thing happening. Seems related to the theme I’m using, but now back to 404 errors after the upgrade.

    Done the permalinks update, but no change.

    This is frustrating as I’ll end up flipping to EventEspresso by the end of the week. I don’t have time to rebuild the site completely using a new theme as a base, the only other idea is to put the booking system on a subdomain and clean WP install. I’ll lose the calendar in the sidebar, but at least it’ll work as a temporary solution.

    I hope.

    Turned things on, off, on, off and back on again, reset the events page and it all works again – until I try to send a booking.

    Damn, so close.

    Looks like 4.0.6 has sorted the permalinks issue tho’. Well done on that one.

    Sorry for being MIA the last few days. I’ve been working on other projects.

    I just upgraded to 4.0.6 and the permalink issue appears to be solved. Thank you so much for your quick work on this issue.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    glad that issue is sorted. i’m curious, is everyone using the default permalinks or using the disabled permalinks solution I provided above?

    @simon, pls open up other issues in a seperate thread

    Using default permalinks this time.

    @marcus, Apologies – was smacking my head against a wall last night!

    I am using the default permalinks, as well. Thanks, Marcus.

Viewing 15 replies - 16 through 30 (of 42 total)
  • The topic ‘[Plugin: Events Manager] 404 errors on upgrade’ is closed to new replies.