Home › Forums › Calendar Products › Community Events › Community Events: Can't add event, error 404
- This topic has 11 replies, 4 voices, and was last updated 10 years, 1 month ago by
Leah.
-
AuthorPosts
-
February 15, 2016 at 3:15 am #1072961
mastres
ParticipantHi can’t see add event there’s an 404 error
http://coordinacioncultural.com/eventos/sugerir-evento/add
RegardsFebruary 15, 2016 at 9:09 pm #1073509Geoff B.
MemberGood evening Oscar and welcome back!
Thank you for reaching out to us.
We are sorry to hear about the 404 error on your add event page.
We will gladly try to assist you on this topic.It might require a bit of back and forth to pinpoint the cause of this so we appreciate your patience.
Here a couple of suggestions for you:
- First read and go through all the procedures presented in https://theeventscalendar.com/knowledgebase/fixing-http-404-errors/ and in https://theeventscalendar.com/knowledgebase/404_and_seo/ , especially “flushing” your permalinks (re-saving them without changing anything)
- If that does not work properly, I am thinking there might be a conflict with a plugin or with your WordPress theme. Could you also please go through our testing for conflicts procedure (preferably in a staging/dev environment or local install of your WordPress website) and let us know what you find out. Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.
Let me know how that goes.
Have a great day!
Geoff B.
February 16, 2016 at 1:11 am #1073544mastres
ParticipantHi before post i tried this article but didn’t work https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
I disable plugins and nothing happend
I try with permalinks but don’t work too.
I have add the snippets to childtheme functions.php this is what i see
http://www.awesomescreenshot.com/image/999744/627e1782a179d2b1c10b69bc0d0a7280
RegardsFebruary 16, 2016 at 11:47 am #1073945Geoff B.
MemberGood afternoon Oscar,
Thank you for trying things out. I am sorry to see none of these solutions worked out for you.
You did not mention any test results with using a default WordPress theme (e.g.: twenty-fifteen)It is a bit odd however that the snippets would display HTML code on your page. Perhaps this is due to the
<?phptag (you probably already had one in your functions.php file, which means you wouldn’t need the one from the snippet.In any case, I am also noticing that you are using WPML, was the problem gone after disabling WPML ?
The reason I am asking is because we do not provide official support for using WPML alongside the Community plugin. There is still a chance it might work though.
If you haven’t already I would make sure your settings match those suggested in the following Knowledge base article.
As an additional test, I would also make sure you are not translating the community slug with WPML (in the string translation settings).
I’m looking forward to hearing back from you.
Have a great day!
Geoff B.
February 17, 2016 at 12:44 am #1074183mastres
ParticipantI try with twenty-fifteen theme but don’t show anything
In functions only have one php tag
/*———————————————————————————–*/
/* You can add custom functions below */
/*———————————————————————————–*//*
* 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’ );
// Checks the URL for the debug parameter
// example.com/event/event-name/?tribe_query_debug=true
function tribe_events_pre_get_posts_dumper ($query) {
$show_debug_info = isset($_GET[‘tribe_query_debug’]) ? $_GET[‘tribe_query_debug’] : false;if(($show_debug_info == “true” && $query->is_main_query() === true) || $show_debug_info == “full”) {
echo “<Tribe Events Query>
“;
tribe_spit_it_out($query);add_filter(‘the_posts’, ‘tribe_dump_return_query’, 100, 1);
}}
add_action(‘pre_get_posts’, ‘tribe_events_pre_get_posts_dumper’);function tribe_dump_return_query($query) {
echo ‘<p>Query Results:</p>’;
tribe_spit_it_out($query);echo ‘<p>is_404() = </p>’;
var_dump(is_404());echo ‘
</Tribe Events Query>
‘;
// Only run this once
remove_filter(‘the_posts’, ‘tribe_dump_return_query’, 100, 1);return $query;
}function tribe_spit_it_out($var_for_dumping) {
echo ‘'; var_dump($var_for_dumping); echo '
‘;
}/*———————————————————————————–*/
/* Don’t add any code below here or the sky will fall down */
/*———————————————————————————–*/I disable wplm and don’t work too.
The problem comes before update event calendar plugin…
February 17, 2016 at 8:22 pm #1074756Geoff B.
MemberGood evening Oscar,
Thank you for your reply.
It does appear that the extra function is not going to work in your specific case unfortunately 🙁There is one more test I would like you to run (at least temporarily). Could you revert the slugs back to the default one (comunidad for community instead of sugerir-evento) and see if that changes anything ?
Let me know how that goes.
Best regards,
Geoff B.February 18, 2016 at 12:27 am #1074795mastres
ParticipantHi, yesterday i tried this, i changed the slug to another and didn’t work, don’t work too with “community” slug 🙁
February 19, 2016 at 5:10 am #1077968Geoff B.
MemberGood day Oscar,
I’m sorry to hear this did not work for you.
We just released new versions of the plugin. Could you please try installing these new versions to see if that fixes it ?
Best regards,
Geoff B.
February 19, 2016 at 8:01 am #1078097mastres
ParticipantHi Geoff i solved the problem
It’s a problem of translation, but not wpml, your translation
In preferences
http://coordinacioncultural.com/eventos/sugerir-evento/add
http://www.awesomescreenshot.com/image/1012479/e44050c3b8b4a476b8aadcfac4a8301bBut if i try to add using plugin menu it gives this link
http://coordinacioncultural.com/eventos/sugerir-evento/agregar
http://www.awesomescreenshot.com/image/1012489/9b5a37a395e810cee6178e29b03dfaeaRegards
-
This reply was modified 10 years, 1 month ago by
mastres.
February 19, 2016 at 1:25 pm #1078507Geoff B.
MemberGood afternoon Oscar,
Wow! What a great catch!
We will absolutely correct that to avoid further confusion.
Thank you for sharing your solution. I’m sure this will benefit other users as well.
Have a good week-end,
Geoff B.
March 5, 2016 at 8:35 am #1085530Support Droid
KeymasterThis 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.March 14, 2016 at 1:38 pm #1088686Leah
MemberHello,
Thank you for reporting this issue. We weren’t able to get a fix for it into our upcoming release (4.1). However, please know that the problem is still on our radar and is ticketed within our system to be addressed in a future maintenance release. We’ll do our best to keep you posted when we are able to get a solution in place. Thank you for your patience while we improve and expand our plugins.
Best,
Leah -
AuthorPosts
- The topic ‘Community Events: Can't add event, error 404’ is closed to new replies.
