Can not upload/import as I can't select a file

Home Forums Calendar Products Events Calendar PRO Can not upload/import as I can't select a file

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1207174

    We have found a bug … or an unsolvable problem.

    The bug prevents you from importing a CSV into Events Calendar from the WordPress admin panel.

    When we start the import process, regardless of the file type (or what we want to import for that matter), when we click “upload” to choose a file, we get the error “{“success”:false,”data”:{“message”:”Please provide the file that you wish to import.”}}

    The javascript error associated with the bug is:

    Uncaught TypeError: $(…).bumpdown is not a function

    Observations:
    • This bug seems to be associated with the https protocol. One potential cause is that Event Calendar resources are being loaded over http and not https. However, I found no evidence of that this is occurring.
    • This bug is recognized by other Events Calendar users but I wasn’t able to find a solution in any of the threads discussing the issue.
    For your reference: https://theeventscalendar.com/support/forums/topic/recurring-rules-button-not-showing-with-crazy-javascript-error/

    Threads I’ve read so far recommend the following:
    • Remove define(‘FORCE_SSL_ADMIN’, true); from wp-config – I did this
    • Use the SSL insecure content fixer plugin – we already have this plugin
    • Add a custom function that will rewrite the broken asset urls to https – this did not work

    In our staging environment (https://staging7.rtoinsider.com), I saw the same error that prevents importing CSVs with Events Calendar. Strangely, after deactivating all plugins, and re-activating them one by one, the error vanished. I cannot account for this since deactivating and reactivating plugins without changing any settings should have no effect. And, BTW, this didn’t fix things on our live site.

    I saw that the favicon was being loaded by Events Calendar using an insecure link (http not https). So I deleted the favicon. This did not resolve the issue. So, now it’s back.

    Any ideas on what’s going on here? I need to import events for 2017.

    #1207864
    Hunter
    Moderator

    Hello and welcome,

    Thank you for being so thorough in your post and sorry to hear you’re having troubles importing CSV files. I did a quick test on my local installation but didn’t run into the same issues you’re having. (see screenshot below)

    We do have a logged bug relating to the Uncaught TypeError: $(…).bumpdown is not a function error you’re seeing in the browser console. I don’t see any temporary workaround, but the bug is set to Priority 1, which means it’s being worked on an a fix should be released any day.

    I don’t have a concrete date when that will be, but please stay tuned to our Release Notes and the plugin changelogs for more information. Thanks again and let me know if you’ve got any additional questions or comments. Cheers!

    #1208595
    George
    Participant

    Hello!

    I wanted to share that we’ve just published The Events Calendar 4.3.5, which includes some fixes to our plugin JavaScript and asset loading. These fixes should help address some of the problems reported here.

    You can learn more about the release on this page → https://theeventscalendar.com/maintenance-release-the-events-calendar-4-3-5-event-tickets-4-3-5-and-premium-plugins/

    Cheers!
    George

    #1208636

    Yep. Update installed and I’m importing away.

    Thanks!!!!

    #1209297
    Hunter
    Moderator

    Meredith,

    Thank you for letting me know the issue has been resolved and please feel free to create a new thread if you have any more questions or comments. Take care!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Can not upload/import as I can't select a file’ is closed to new replies.