-
AuthorPosts
-
February 22, 2018 at 12:19 pm #915990
Hi,
My website did not work like before after updating enfold 4.2.4
My slider disappeared on my home
Thanks
February 22, 2018 at 12:25 pm #915992i’ve the same probleme with another website
February 22, 2018 at 2:22 pm #916072Hi serge,
Please add this function to shortocdes.js
// ------------------------------------------------------------------------------------------- // Avia AJAX Portfolio // ------------------------------------------------------------------------------------------- (function($) { "use strict"; $.avia_utilities = $.avia_utilities || {}; $.fn.avia_portfolio_preview = function(passed_options) { var win = $(window), the_body = $('body'), isMobile = $.avia_utilities.isMobile, defaults = { open_in: '.portfolio-details-inner', easing: 'easeOutQuint', timing: 800, transition: 'slide' // 'fade' or 'slide' }, options = $.extend({}, defaults, passed_options); return this.each(function() { var container = $(this), portfolio_id = container.data('portfolio-id'), target_wrap = $('.portfolio_preview_container[data-portfolio-id="' + portfolio_id + '"]'), target_container = target_wrap.find(options.open_in), items = container.find('.grid-entry'), content_retrieved = {}, is_open = false, animating = false, index_open = false, ajax_call = false, methods, controls, loader = $.avia_utilities.loading(); methods = { load_item: function(e) { e.preventDefault(); var link = $(this), post_container = link.parents('.post-entry:eq(0)'), post_id = "ID_" + post_container.data('ajax-id'), clickedIndex = items.index(post_container); //check if current item is the clicked item or if we are currently animating if(post_id === is_open || animating == true) { return false; } animating = true; container.find('.active_portfolio_item').removeClass('active_portfolio_item'); post_container.addClass('active_portfolio_item'); loader.show(); methods.ajax_get_contents(post_id, clickedIndex); }, scroll_top: function() { setTimeout(function() { var target_offset = target_wrap.offset().top - 175, window_offset = win.scrollTop(); if(window_offset > target_offset || target_offset - window_offset > 100 ) { $('html:not(:animated),body:not(:animated)').animate({ scrollTop: target_offset }, options.timing, options.easing); } },10); }, attach_item: function(post_id) { content_retrieved[post_id] = $(content_retrieved[post_id]).appendTo(target_container); ajax_call = true; }, remove_video: function() { var del = target_wrap.find('iframe, .avia-video').parents('.ajax_slide:not(.open_slide)'); if(del.length > 0) { del.remove(); content_retrieved["ID_" + del.data('slideId')] = undefined; } }, show_item: function(post_id, clickedIndex) { //check if current item is the clicked item or if we are currently animating if(post_id === is_open) { return false; } animating = true; loader.hide(); if(false === is_open) { target_wrap.addClass('open_container'); content_retrieved[post_id].addClass('open_slide'); methods.scroll_top(); target_wrap.css({display:'none'}).slideDown(options.timing, options.easing, function() { if(ajax_call) { activate_shortcode_scripts(content_retrieved[post_id]); $.avia_utilities.avia_ajax_call(content_retrieved[post_id]); the_body.trigger('av_resize_finished'); ajax_call = false; } methods.remove_video(); the_body.trigger('av_resize_finished'); }); index_open = clickedIndex; is_open = post_id; animating = false; } else { methods.scroll_top(); var initCSS = { zIndex:3 }, easing = options.easing; if(index_open > clickedIndex) { initCSS.left = '-110%'; } if(options.transition === 'fade'){ initCSS.left = '0%'; initCSS.opacity = 0; easing = 'easeOutQuad'; } //fixate height for container during animation target_container.height(target_container.height()); //outerHeight = border problems? content_retrieved[post_id].css(initCSS).avia_animate({'left':"0%", opacity:1}, options.timing, easing); content_retrieved[is_open].avia_animate({opacity:0}, options.timing, easing, function() { content_retrieved[is_open].attr({'style':""}).removeClass('open_slide'); content_retrieved[post_id].addClass('open_slide'); //+ 2 fixes border problem (slides move up and down 2 px on transition) target_container.avia_animate({height: content_retrieved[post_id].outerHeight() + 2}, options.timing/2, options.easing, function() { target_container.attr({'style':""}); is_open = post_id; index_open = clickedIndex; animating = false; methods.remove_video(); if(ajax_call) { the_body.trigger('av_resize_finished'); activate_shortcode_scripts(content_retrieved[post_id]); $.avia_utilities.avia_ajax_call(content_retrieved[post_id]); ajax_call = false; } }); }); } }, ajax_get_contents: function(post_id, clickedIndex) { if(content_retrieved[post_id] !== undefined) { methods.show_item(post_id, clickedIndex); return; } content_retrieved[post_id] = $('#avia-tmpl-portfolio-preview-' + post_id.replace(/ID_/,"")).html(); //this line is necessary to prevent w3 total cache from messing up the portfolio if inline js is compressed content_retrieved[post_id] = content_retrieved[post_id].replace('/*<![CDATA[*/','').replace('*]]>',''); methods.attach_item(post_id); $.avia_utilities.preload({container: content_retrieved[post_id] , single_callback: function(){ methods.show_item(post_id, clickedIndex); }}); }, add_controls: function() { controls = target_wrap.find('.ajax_controlls'); target_wrap.avia_keyboard_controls({27:'.avia_close', 37:'.ajax_previous', 39:'.ajax_next'}); //target_wrap.avia_swipe_trigger({prev:'.ajax_previous', next:'.ajax_next'}); items.each(function(){ var current = $(this), overlay; current.addClass('no_combo').bind('click', function(event) { overlay = current.find('.slideshow_overlay'); if(overlay.length) { event.stopPropagation(); methods.load_item.apply(current.find('a:eq(0)')); return false; } }); }); }, control_click: function() { var showItem, activeID = container.find('.active_portfolio_item').data('ajax-id'), active = container.find('.post-entry-'+activeID); switch(this.hash) { case '#next': showItem = active.nextAll('.post-entry:visible:eq(0)').find('a:eq(0)'); if(!showItem.length) { showItem = $('.post-entry:visible:eq(0)', container).find('a:eq(0)'); } showItem.trigger('click'); break; case '#prev': showItem = active.prevAll('.post-entry:visible:eq(0)').find('a:eq(0)'); if(!showItem.length) { showItem = $('.post-entry:visible:last', container).find('a:eq(0)'); } showItem.trigger('click'); break; case '#close': animating = true; target_wrap.slideUp( options.timing, options.easing, function() { container.find('.active_portfolio_item').removeClass('active_portfolio_item'); content_retrieved[is_open].attr({'style':""}).removeClass('open_slide'); target_wrap.removeClass('open_container'); animating = is_open = index_open = false; methods.remove_video(); the_body.trigger('av_resize_finished'); }); break; } return false; }, resize_reset: function() { if(is_open === false) { target_container.html(''); content_retrieved = []; } } }; methods.add_controls(); container.on("click", "a", methods.load_item); controls.on("click", "a", methods.control_click); if(jQuery.support.leadingWhitespace) { win.bind('debouncedresize', methods.resize_reset); } }); }; }(jQuery));
If you need further assistance please let us know.
Best regards,
VictoriaFebruary 22, 2018 at 3:48 pm #916142Hi,
Thanks
It works for my first website but not on my second website
February 22, 2018 at 8:14 pm #916286Hi,
Your second site has ALB conpletely disabled ( as I can see the shortcodes ) so that is why it does not work.
Best regards,
BasilisFebruary 23, 2018 at 9:47 am #916561Hi,
What are you talking about ? ALB ? i’ve disabled nothing ! How to enable it if it is disabled as you say ? Before update 2.4.2, everything was working fine ! the problem don’t come from my website but from your update !
Thanks to understand that and find a solution
Thanks
February 23, 2018 at 12:57 pm #916629Hi serge,
We have added minification of css and js in the version. Here is a short description from Kriesi
If you need further assistance please let us know.
Best regards,
VictoriaFebruary 23, 2018 at 1:27 pm #916654Hi,
Ok i understand but i still don’t have a solution
my second website is using WPML and i see these css files in /wp-content/uploads/dynamic_avia/:
enfold_child.css
enfold_child_en.cssBut no js
On my first website, it doesn’t work again (even with the new function by victoria)…
i see this in /wp-content/uploads/dynamic_avia/:
avia-footer-scripts-51bd723933befe683d1d5abe554ef146.js
avia-merged-styles-ed6ff75a04fadcd32b6ea93a8f40373b.css
enfold.css
enfold_child.cssFebruary 23, 2018 at 1:44 pm #916673Hi serge,
So the server permissions on the second server do not allow for the js file to be put in that folder.
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look? And FTP as well?
Best regards,
VictoriaFebruary 23, 2018 at 3:28 pm #916736Ok, info in private box
February 23, 2018 at 3:36 pm #916740We also experienced the JS error of the missing function. After manually adding the missing function to enfold > js > shortocdes.js this was resolved. So are we to understand that version 4.2.4 is missing a required JS function?
I also noticed the grid content element is not longer displaying correctly. Will roll back to version 4.2.1 and see if the issues go away.
Update: rolling back to version 4.2.1 resolved both issues.- This reply was modified 6 years, 8 months ago by SwitzerBaden. Reason: downgrading resolved issue
February 23, 2018 at 4:53 pm #916766My site gives error 500 afer upgrading to 4.2.4
Where can I get an earlier version to roll back to and how?
Regards
Stefan- This reply was modified 6 years, 8 months ago by StefanASV.
February 23, 2018 at 7:45 pm #916805Hi enfold team, please push an update to Themeforest, it’s critical…
ThanksFebruary 23, 2018 at 8:13 pm #916836I have the same issue, please fix!
February 23, 2018 at 11:02 pm #916906Hi,
Slider shows up fine on my end. I attached a screenshot in private content field. Could you please check if it is working fine on your end as well?
Edit: @vailjazz, @pako69, @stefanasv, @SwitzerBaden if you have not already, please start a new thread under Enfold sub forum and attach FTP and WP admin logins in private content field so we can look into each site.
If you post them here, they will be visible to creator of this thread as well and thread will probably get confusing so it would be better to keep them separate :)Best regards,
Yigit- This reply was modified 6 years, 8 months ago by Yigit.
February 24, 2018 at 10:58 am #917046Hi,
It’s not a slider but a layerslider and i never said there was a problem with layerslider which is not, touched by your update 4.2.4 as it depends from layerslider js and not from avia js.If you scroll down on the page you can see there is a problem:
– after “Un tableau de bord marketing tout en un”) i used a picture with hotsport but it’s invisible since update 4.2.4
– after “Intégration de vos données et des outils leaders du marché” there are tabs but invisible too since update 4.2.4Best
February 24, 2018 at 2:00 pm #917096Hi StefanASV,
Which version of php are you running? Can you please check server log for error?
Best regards,
VictoriaFebruary 24, 2018 at 5:24 pm #917174It’s on PHP 7.1
No – my ISP dont provide access to logs.//Stefan
February 24, 2018 at 5:30 pm #917176Got the log:
February 24, 2018 at 9:38 pm #917224@Yigit: Do you have designated BETA testers? If you don’t I recommend that you start adopting that practice. That way, you can get a wider range of testing for the different PHP versions, WP versions, one-off hosting scenarios, etc. etc.
Also, it would be helpful to provide a secure link to previous versions of Enfold. Perhaps include the link in a sticky post on the support board.
I cannot recall an Enfold update that happened without consequence.
February 25, 2018 at 12:52 am #917242This reply has been marked as private.February 25, 2018 at 11:21 am #917341Up !!!!
February 26, 2018 at 9:31 am #917702February 26, 2018 at 10:27 am #917731Any news on this?
Still cannot acces any part of my site .-(Can I myself get an older version of enfold to roll back to?
Regards
StefanFebruary 26, 2018 at 3:00 pm #917854Resolved by downloading 4.2.4 and manually FTP-ing over the existing installation.
Apparantly something went wrong updating the theme via wp-admin.Regards
StefanFebruary 26, 2018 at 8:26 pm #917959Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Basilis -
AuthorPosts
- The topic ‘error after update 4.2.4’ is closed to new replies.