Organizer Name Already Exists / Venue Name Already Exists when it does not

Home Forums Calendar Products Community Events Organizer Name Already Exists / Venue Name Already Exists when it does not

Viewing 15 posts - 1 through 15 (of 43 total)
  • Author
    Posts
  • #1014604
    Jim
    Participant

    Similar to https://theeventscalendar.com/support/forums/topic/organizer-name-already-exists-error/

    Community event form during data entry displays “Organizer Name Already Exists” and/or “Venue Name Already Exists”.
    Prior to submitting the form.
    May display this message before the field forms are filled in.
    The venue/organizer does not exist.
    Anonymous submissions enabled.

    This error did not occur in prior testing, e.g. pre 3.12.x

    #1014674
    Nico
    Member

    Hi Jim,

    Thanks for reaching out to us and sorry to hear about this issue. Glad to help you out once again here ๐Ÿ™‚

    I see you marked that you tested this with default WordPress theme (TweentyFifteen for example) and with no other plugins active, right? Any other setting that I might need to configure to test this on my end?

    When you mention this didn’t occur prior to 3.12.x, What product are you referring too: PRO, Core, both?

    Thanks,
    Nico

    #1014738
    Jim
    Participant

    Hi Nico,

    Yes, I tested this with 2014 and no-plugins.

    Settings? Here’s the community events settings page.

    You should probably also know that I’m experiencing another problem with Community submissions:

    Previously entered event name displayed in lists My Venue, My Organizer

    #1015161
    Nico
    Member

    Hey Jim,

    Thanks for pointing that other thread out, I’ll try to coordinate efforts with George.

    I’ve set Community Events on my local site following your settings (logged-in or as anon), but I’m not seeing any errors. So not really sure what’s happening here. Just out of curiosity, Do you have any values set for Venues or Organizers in the ‘Default Content’ tab?

    As both issues cannot be reproduced by us -until now at least-, Can you please try to re-install our plugins? Check out this article describing how to do this manually: https://theeventscalendar.com/knowledgebase/manual-updates/ (the process for re-installing is the same as for upgrading).

    Please let me know if re-installing solves the issue,
    Best,
    Nico

    #1016315
    Jim
    Participant

    Hi Nico,

    Reinstallation did not change the result.
    The defaults for organizer and venue are both “No default”.

    The message does not appear immediately; floats to the right of the input field:

    #1016687
    Nico
    Member

    Hi Jim,

    Sorry to hear re-installing the plugin had no effect on this ๐Ÿ™ Unfortunately I’m still not able to reproduce this on my end.

    Have you imported the Organizers/Venues from a CSV or other source? By any chance have you created an Organizer/Venue with empty name?

    Can you share the site URL in a private reply? Is it possible to access the submit form anonymously? I would like to take a look to it, maybe some clue shows up.

    Thanks for your patience on this,
    Best,
    Nico

    #1016770
    Jim
    Participant

    Hi Nico,
    Nothing was imported, but testing for creating a venue or organizer without a name may have led to progress on another issue.

    The site is now live and accepting draft event submissions anonymously at http://www.jimtovey.ca/events/community/add

    Please label any test submissions with obvious data; I’ll let the event coordinator know you’re testing.

    I’ve found I can sometimes just wait for the “already exists” flag to appear spontaneously, sometimes I enter a few characters or fields and wait.

    #1017435
    Nico
    Member

    Hey Jim,

    Thanks for sending over the URL! I’ve tested the on your site and I could narrow down this down to the a back-end issue (apparently). Everything looks good on the ajax call but the ‘check for existing venue/organizer’ function is always returning ‘0’ which means that there’s an existing venue/organizer with that name. The function runs a SQL to check on this, so I guess the error might be with the query itself, Can you check the server error logs for any clues on this?

    Thanks again for your patience, hope we can get this right soon,
    Have a great weekend,
    Nico

    #1021886
    Jim
    Participant

    Can you check the server error logs for any clues on this?

    Apparently, with the client’s hosting package, server logs are only available after specific requests via their support staff. This has been requested and I expect to accumulate some data shortly. Sorry if this means you need to simulate some event tasks again.

    #1022082
    Nico
    Member

    Jim,

    Don’t worry at all. I’ll be waiting for that info!

    Thanks for keeping me posted!
    Best,
    Nico

    PS: at this point I’m mostly sure your name is not Jim, it’s just your client name XD

    #1022911
    Jim
    Participant

    Checking up on the production of error logs, I have found that no server error logs can be provided. The client’s hosting package (GoDaddy Managed WP) does not cannot provide hosting error logs other than from WP debug due to GoDaddy’s server setup and implementation. I find this hard to believe, but that is their claim.

    Using data I can provide: I’ve found an anomaly between the anonymous submission form displayed on the live site versus localhost where fields for organizer and venue are displayed very differently.

    0. Both sites are configured identically in “Community Events Settings”:

    Which is the expected, correct scenario for logged-in users?

    1. On localhost both organizer and venue accept creation of new entries:

    2. On live hosting both organizer and venue do not allow for creation of new entries:

    #1023255
    Nico
    Member

    Hi there,

    Thanks for following up! Oh didn’t know about that log policy, what a bummer!

    From what you show me the local behaviour is the default behavior for sure. Do you have any configuration that might be messing up with user roles/capabilities? If you allow anonymous submissions in the live site, Does it allow new venue/organizer creation?

    The code itself that outputs the Add New option is the following:

    $venue_pto = get_post_type_object( self::VENUE_POST_TYPE );
    if ( ! empty( $venue_pto->cap->create_posts ) && current_user_can( $venue_pto->cap->create_posts )) {
    echo '<option value="0">' . esc_html( sprintf( __( 'Use New %s', 'tribe-events-calendar' ), $this->singular_venue_label ) ) . '</option>';
    }

    So maybe there’s some configuration on user roles that is preventing this from printing out?

    Best,
    Nico

    #1024178
    Jim
    Participant

    Hi Nico,

    From what you show me the local behaviour is the default behavior for sure. Do you have any configuration that might be messing up with user roles/capabilities? If you allow anonymous submissions in the live site, Does it allow new venue/organizer creation?

    I don’t know of any config that would come into play with user roles. Anonymous submissions are allowed on both sites, only the live site disallows creating new venues/organizers. The TEC Community Events > Access Control config is “Block access to WordPress dashboard”=selected, all other options are not set.

    So maybe thereโ€™s some configuration on user roles that is preventing this from printing out?

    Perhaps? Except that the unexpected behaviour is shown when the user is not logged-in, adding their events anonymously. It appear that the single (?) most significant difference is the delivering host server. I’ll provide the System Information for both installations in another, private post.

    #1024179
    Jim
    Participant

    This reply is private.

    #1024874
    Nico
    Member

    Hi there,

    Thanks for following up! This is certainly a strange thing, I see everything is ok with the system info just different PHP versions but not sure is this is the cause. I’m suspecting it might related with this bug: http://theeventscalendar.com/support/forums/topic/anonymous-users-unable-to-add-new-venues-or-organizers/. A maintenance release for community events is coming out later today addressing this bug. Can you update and re-test after? If the issue is still present it’s probably a bug we might have to log and take look!

    Thanks again for your patience on this,
    Best,
    Nico

Viewing 15 posts - 1 through 15 (of 43 total)
  • The topic ‘Organizer Name Already Exists / Venue Name Already Exists when it does not’ is closed to new replies.