Events Made Easy Forums Bug fixed or feature request implemented date dissapearing when editing an event

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #44132
    Anonymous
    Inactive

    When editing an event the date is not showing up in the available boxes. If try to finalize the update without re-adding the dates than it fails because those are required fields.

    I’ve updated to the current version of both wordpress (3.8) and the EME plugin (1.2.2)

    I did find an old thread on this board that sounded similar (http://www.e-dynamics.be/bbpress/topic.php?id=79#post-400) except that I don’t think the fields are filled in but hidden.. I tried his fix but it hasn’t helped.

    #51080
    Anonymous
    Inactive

    Wanted to clarify 1 thing.. the event shows up properly on the site, and the date is being stored in the database. It’s just not populating the text field on the edit page.

    #51081
    Franky
    Keymaster

    What is the value of WPLANG in wp-config.php ?

    #51082
    Anonymous
    Inactive

    it started as blank, and then I tried changing it to:

    define (‘WPLANG’, ‘custom-en’);

    based on the feedback from that other thread and nothing changed

    #51083
    Franky
    Keymaster

    That is not a correct value for ity. Try the default en_GB, or read the wordpress doc for changing the language.

    Also cherck for javascript errors in your browser.

    #51084
    Anonymous
    Inactive

    no luck.. I tried turning off all other plugins and reverting to the wordpress Twenty Fourteen them as well and it’s still there

    here are the javascript errors reporting from the edit events page

    _____

    Timestamp: 1/16/2014 7:22:22 PM

    Error: Blocked loading mixed active content “http://maps.google.com/maps/api/js?v=3.1&sensor=false”

    Source File: https://www.*********.com/wp-admin/admin.php?page=events-manager&action=edit_event&event_id=35

    Line: 0

    ____

    Timestamp: 1/16/2014 7:22:22 PM

    Error: Blocked loading mixed active content “http://maps.google.com/maps/api/js?v=3.1&sensor=false”

    Source File: https://www.******.com/wp-admin/admin.php?page=events-manager&action=edit_event&event_id=35

    Line: 0

    ______

    Timestamp: 1/16/2014 7:22:23 PM

    Error: ReferenceError: google is not defined

    Source File: https://www.*****.com/wp-admin/admin.php?page=events-manager&action=edit_event&event_id=35

    Line: 374

    #51085
    Franky
    Keymaster

    Ok, it seems you’re running https.

    The reason for your problems is that newer versions of browsers no longer mix http and https content anymore. My plugin already takes https into account for the frontend, but apparently I overlooked the admin part.

    Can you try to change this:

    – in eme_events.php, around line 3460:

    from:

    <script type='text/javascript' src='http://maps.google.com/maps/api/js?v=3.1&sensor=false'></script>

    to a protocol relative link (so just remove the “http:” text):

    <script type='text/javascript' src='//maps.google.com/maps/api/js?v=3.1&sensor=false'></script>

    And idem in eme_locations.php on line 1377:

    from

    $res .= '<form action="http://maps.google.com/maps" method="get" target="_blank" style="text-align:left;">';

    to

    $res .= '<form action="//maps.google.com/maps" method="get" target="_blank" style="text-align:left;">';

    #51086
    Anonymous
    Inactive

    Excellent! That has fixed the problem!

    Also, in case this comes up for anybody else I noticed another bug that was being caused by this.

    When editing the details I tried to add a link to another page in the site, and the list of existing pages was not being populated. This also is working now that those 2 lines were changed.

    Thanks so much for your help!!

    #51087
    Anonymous
    Inactive

    I’m having the same problem (disappearing date). But I’m not running https /SSL in my Backend. I changed the two lines in eme_locations.php andeme_events.php but this didn’t fix the error.

    Language in wp-config.php is define(‘WPLANG’, ‘de_DE’);

    This is the output from my console when I try to change an event:

    Uncaught Error: cannot call methods on autocomplete prior to initialization; attempted to call method ‘http://reunioncountry.de/wp-content/plugins/events-made-easy/locations-search.php&#8217; load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=3.8.1:3

    x.extend.error load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=3.8.1:3

    (anonymous function) load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,suggest,wp-ajax-response,jquery-color,…:13

    x.extend.each load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=3.8.1:3

    x.fn.x.each load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=3.8.1:3

    e.fn.(anonymous function) load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,suggest,wp-ajax-response,jquery-color,…:13

    (anonymous function) admin.php?page=events-manager&action=edit_event&event_id=227:557

    c load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=3.8.1:3

    p.fireWith load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=3.8.1:3

    x.extend.ready load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=3.8.1:3

    q load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=3.8.1:3

    Consider using ‘dppx’ units instead of ‘dpi’, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In media query expression: (min-resolution: 130dpi) editor_plugin.js?ver=359-20131026:1

    Consider using ‘dppx’ units instead of ‘dpi’, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In media query expression: (min-resolution: 130dpi) editor_plugin.js?ver=359-20131026:1

    event.returnValue is deprecated. Please use the standard event.preventDefault() instead. load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=3.8.1:4

    #51088
    Franky
    Keymaster

    Please don’t hijack a thread.

    You have a totally different problem: judging by your console output some other javascript is causing troubles. Disable all other plugins and try again, then re-enable one by one until you find the guilty one, then let me know. If that doesn’t work: try the default theme, maybe your theme is acting up.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top