irolla
Forum Replies Created
-
Fixed for me. Variable _SERVER[SCRIPT_NAME] was missing.
@yani.iliev
Do you always get my replies via email? It’s a bit confusing since there is no ticket number in “Subject field”. Can I reply somewhere but not in email?@tekhneco:
If give me your IM, I’ll try to help@TekneCO try to go wp-admin -> events -> add new event and open source code of this page. Try searching “add_new_event.js”.
I had no such js before commented out the ‘if’ in class-ai1ec-app-controller.php, that’s why nothing worked for me.// Load the js needed when you edit an event / add a new event //if( $this->check_if_creating_new_event() === TRUE || $this->check_if_editing_event() === TRUE ) { // Load script for adding / modifying events $script_to_load = 'add_new_event.js'; //}I found it:
./wp-content/plugins/all-in-one-event-calendar/app/controller/class-ai1ec-app-controller.php:
// Load the js needed when you edit an event / add a new event
if( $this->check_if_creating_new_event() === TRUE || $this->check_if_editing_event() === TRUE ) {
// Load script for adding / modifying events
$script_to_load = ‘add_new_event.js’;
}
If I comment out the condition then it loads “add_new_event.js” and I’m able to pick up a date and time in “add event” admin page.@yani.iliev could you please check it?
I’ve already tried to activate one of standart WP themes and ajax still doesn’t work in wp-admin -> events -> add event -> choose date
It’s still doesn’t work 🙁
Nothing in developer console(chrome), nothing in php-logs.Hey guys,
Any progress on this issue? You still have an access to my installation.Just did the following things:
1. Installed new wordpress
2. Installed my wp theme
3. Installed all-in-one calendar plugin 1.8.2 from WP repo
4. Added event – ajax works OK when adding dates for event
5. Upgraded to 1.8.3 premium version
6. Ajax stopped working in ‘Add event’I’ve already sent an address of the new installation to your email, please check it.
I’ve replied to help@then.ly with wp-admin credentials. Did you get it?
sent
I’ve added some debug:
./wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/scripts/calendar/load_views.js: 50 var initialize_view = function() { 51 // Make current view actively selected in view dropdown button. 52 var classes = $('body').attr( 'class' ).split( ' ' ); 53 console.log("[debug] classes = " + classes); // DEBUG 54 for ( i in classes ) { 55 // Extract current view from the body class. 56 var matches = /ai1ec-action-([\w]+)/.exec( classes[i] ); 57 console.log("[debug] matches = " + matches); // DEBUG 58 if ( matches != null ) break; 59 } 60 // Get the dropdown menu link of the active view. 61 var $selected_view = $( '#ai1ec-view-' + matches[1] );Results:
[debug] classes = page,page-id-125,page-template,page-template-page-FullWidth-php,logged-in,admin-bar,customize-support,undefined load_views.js:53 [debug] matches = null load_views.js:57 [debug] matches = null load_views.js:57 [debug] matches = null load_views.js:57 [debug] matches = null load_views.js:57 [debug] matches = null load_views.js:57 [debug] matches = null load_views.js:57 [debug] matches = null load_views.js:57 [debug] matches = null load_views.js:57 Uncaught TypeError: Cannot read property '1' of null : load_views.js:61Looks like there is no ‘ai1ec-action-‘ classes
It’s under construction. I can give you a link with pass&login in private
And I’ve already tried to completely reinstall calendar. It doesn’t help.