Events Made Easy › Forums › Bug fixed or feature request implemented › date dissapearing when editing an event
- This topic has 9 replies, 3 voices, and was last updated 10 years, 10 months ago by Franky.
-
AuthorPosts
-
Wed 15 Jan 2014 at 21:01 #44132AnonymousInactive
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.
Wed 15 Jan 2014 at 21:02 #51080AnonymousInactiveWanted 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.
Wed 15 Jan 2014 at 23:11 #51081FrankyKeymasterWhat is the value of WPLANG in wp-config.php ?
Thu 16 Jan 2014 at 18:24 #51082AnonymousInactiveit 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
Thu 16 Jan 2014 at 20:19 #51083FrankyKeymasterThat 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.
Fri 17 Jan 2014 at 00:24 #51084AnonymousInactiveno 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
Fri 17 Jan 2014 at 12:39 #51085FrankyKeymasterOk, 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;">';
Fri 17 Jan 2014 at 19:29 #51086AnonymousInactiveExcellent! 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!!
Fri 31 Jan 2014 at 20:12 #51087AnonymousInactiveI’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’ 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
Fri 31 Jan 2014 at 20:29 #51088FrankyKeymasterPlease 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.
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.