404 Error

Home Forums Calendar Products Community Events 404 Error

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #996094
    Houman
    Participant

    I just installed community events but the link won’t work: http://www.storytrading.com/events/community/add

    I get a 404 error. Also I want to know can an “add event” button be added to the main calendar page? it’s here: http://www.storytrading.com/events/

    #996208
    Nico
    Member

    Hi Houman,

    Thanks for reaching out to us and sorry to hear about this issue 🙁

    We received a couple of reports of this 404 issue, and our dev team is looking into this.

    Can you please check on the suggestions on this article: Fixing HTTP 404 errors?

    Please let me know if that fixes the issue,
    Best,
    Nico

    #996428
    Houman
    Participant

    Hi Nico,

    I tried the first suggestion in that article and it made no difference. I’m not a developer so don’t think I can try the other suggestions on my own…

    Ben

    #996433
    Houman
    Participant

    Nico,

    I added the below code to the bottom of my theme’s functions.php file and it took down the site:

    <?php
    /*
    * Possible solution for Single Event page 404 errors where the WP_Query has an attachment set
    * IMPORTANT: Flush permalinks after pasting this code: http://tri.be/support/documentation/troubleshooting-404-errors/
    */
    function tribe_attachment_404_fix () {
    if (class_exists(‘TribeEvents’)) {
    remove_action( ‘init’, array( TribeEvents::instance(), ‘init’ ), 10 );
    add_action( ‘init’, array( TribeEvents::instance(), ‘init’ ), 1 );
    }
    }
    add_action( ‘after_setup_theme’, ‘tribe_attachment_404_fix’ );

    • This reply was modified 10 years, 8 months ago by Houman.
    #996437
    Houman
    Participant

    update: okay tried the functions suggestion again. had to remove <?php as it was already at the top of the file. Site works now but the community links still does not work…

    #996627
    Nico
    Member

    Hey Ben,

    Thanks a lot for trying that out, and sorry this still an issue in your site.

    We are still trying to find a common pattern on sites experiencing this issue, but with no luck yet 🙁

    Can you share your system information with me in a private reply? That might helps us to debug this.

    Thanks a lot for your patience on this,
    Best,
    Nico

    #996725
    Nico
    Member

    Hey Ben,

    Just reviewed your case with the team, and a possible solution came up. Can you try adding this code at the end to your functions.php file?


    add_action( 'init', 'ce_rehook_community_parse_request' );

    function ce_rehook_community_parse_request() {
    if ( ! class_exists( 'WP_Router' ) ) return;
    $callback = array( WP_Router::get_instance(), 'parse_request' );

    remove_action( 'parse_request', $callback, 5 );
    add_action( 'parse_request', $callback );
    }

    You can delete the code you previously added.

    Sorry for the extra work this is requiring,
    Hope we can get this right soon,
    Best,
    Nico

    #996755
    Houman
    Participant

    Hi Nico!

    This is working now: http://www.storytrading.com/events/community/add

    I have a few questions now that the page is appearing:

    1. events submitted here go directly into the main event calendar here? http://www.storytrading.com/events/ if yes – what is the purpose of http://www.storytrading.com/events/community/list ? When would I want to use the /list/ link instead of /events/ ?
    2. how can I edit the layout of the page to remove the widget sidebar and the ratings widget that appears on the top? This page isn’t appearing in pages tab of wpadmin so not sure how to edit those things.
    3. how can I hide venue details, organizer details, and event cost? they aren’t necessary for our submissions. I deal with those extra fields on the backend – but for front-end users, it’s alot of extra mess.

    Thanks so much Nico!

    #996764
    Houman
    Participant

    Hi Nicos,

    I’m testing this out and i see that community events get added to the main events calendar. That’s good.

    However – the submission form has no “tag” field which makes the plugin pretty much completely useless for me as all use-generated content on our site needs to be organized by tag. Is there anyway to add this field to the front-end submission form?

    If not – I may need to request a refund as it’s pretty much unuseable for me without tags.

    Also let me know about 2 and 3 above. Thanks!

    Ben

    #996765
    Houman
    Participant

    also I’d like to hide the “not you? logout” text. Not sure why that’s there.

    Thanks!

    #997102
    Nico
    Member

    Hi Ben,

    Thanks for following up! Glad the original problem is solved 🙂

    Typically I would require you to create a new threads for each new question, I’m not doing so this time so you can have a faster reply. But please note that if you have many follow-up questions on this it might be healthier to create separate topics for each one.

    1. events submitted here go directly into the main event calendar here? http://www.storytrading.com/events/ if yes – what is the purpose of http://www.storytrading.com/events/community/list ? When would I want to use the /list/ link instead of /events/ ?

    Community events will show up in your calendar with the status set in ‘WP-Admin > Events > Settings > Default status for submitted events’. If status is set to Published they will be visible right away after the form is submitted, other statuses require admin approval. The difference between /events/ and /community/list/ is that the later only shows your submitted events, while the first shows the calendar with all events.

    2. how can I edit the layout of the page to remove the widget sidebar and the ratings widget that appears on the top? This page isn’t appearing in pages tab of wpadmin so not sure how to edit those things.

    You can change the page-template the calendar loads in, at ‘WP-Admin > Events > Settings > Events template’. If none of the two options fulfill your needs you can always create a new page-template inside your theme.

    3. how can I hide venue details, organizer details, and event cost? they aren’t necessary for our submissions. I deal with those extra fields on the backend – but for front-end users, it’s alot of extra mess.

    You can perform a template override of the submit-and-edit template as described in William’s post.

    Is there anyway to add this field to the front-end submission form?

    Please try the solution provided by Gustavo in this thread.

    also I’d like to hide the “not you? logout” text. Not sure why that’s there.

    You can override the template located at ‘/wp-content/plugins/the-events-calendar-community-events/src/views/community/modules/header-links.php’, please note that only logged in users see this.

    Hope that clear out your doubts,
    Best,
    Nico

    #1001233
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘404 Error’ is closed to new replies.