-
AuthorPosts
-
October 2, 2014 at 5:27 pm #329108
Just did the update, and my front page slideshow isn’t showing up. Inspect Element in Chrome says “Uncaught SyntaxError: Unexpected token ILLEGAL”.
October 2, 2014 at 6:09 pm #329131Hi!
Can you check if this happens with all LS sliders? try creating a new LS test slider and put it on a new page and check if the issue persists there too.
Cheers!
JosueOctober 2, 2014 at 6:18 pm #329133Yes, I’ve been testing this all morning. IE’s debugger was the most helpful (I know, right?), and pointed out the problem. Here’s the Error:
Console: SCRIPT1023: Expected hexadecimal digit
Debugger: lsjQuery(“#layerslider_10”).layerSlider({responsiveUnder: 1920, layersContainer: 1920, hideOnMobile: true, hideUnder: 400, twoWaySlideshow: true, loops: 10, skin: ‘fullwidth’, navStartStop: false, navButtons: false, hoverBottomNav: true, showCircleTimer: false, thumbnailNavigation: ‘disabled’, skinsPath: ‘http://beta.geology.utah.gov/wp-contentE:\www\ugsweb\wp-content\themes\enfold\config-layerslider\LayerSlider/static/skins/’})
I bolded the problem (I don’t know how to fix it though since the problem is a folder path is the root folder for my entire site). I guess /u is unicode and expects a hexidecimal digit afterwards (http://msdn.microsoft.com/en-us/library/ie/13ht9e2w(v=vs.94).aspx). If the /u is to be interpreted literally, there needs to be a //u. Any ideas how to fix this?
October 2, 2014 at 7:06 pm #329148Hey!
Try changing the $skinpath directly in /config-layerslider/LayerSlider/init.php, line 41:
$skinpath = $GLOBALS['lsPluginPath'].'skins/';
Best regards,
JosueOctober 2, 2014 at 7:19 pm #329155That may be my problem…I don’t have a init.php in that folder path…I have an index.php and layerslider.php and a bunch of other folders.
October 2, 2014 at 7:52 pm #329179Is this a file that I should have?
October 2, 2014 at 8:17 pm #329206Hi!
Yes, it should be there – http://i.imgur.com/m2lHa4S.png
I’d suggest re-uploading the theme again via FTP.
Best regards,
JosueOctober 2, 2014 at 8:52 pm #329233I just downloaded the newest version of enfold directly from themeforest.net and there is no init.php file. What am I missing here? http://i.imgur.com/5ZyoqU4.png
October 2, 2014 at 10:19 pm #329293Hi!
My mistake, i was looking at a slightly older version of Enfold.
Regarding your issue, i tried checking it again but it no longer has a LS slider on the homepage.
Cheers,
JosueOctober 2, 2014 at 10:32 pm #329298I replaced it….the broken one is back.
October 2, 2014 at 11:52 pm #329352Just to discard, have you tried disabling all third-party plugins to see if it gets fixed?
The root of the issue is indeed the \u thing in the skinsPath declaration but it is weird that your site builds the URL like that:
beta.geology.utah.gov/wp-contentE:\www\ugsweb\wp-content\themes\enfold\config-layerslider\LayerSlider/static/skins/
It should be just:
beta.geology.utah.gov/wp-content/themes/enfold/config-layerslider/LayerSlider/static/skins/
Regards,
Josue- This reply was modified 10 years, 1 month ago by Josue.
October 3, 2014 at 1:02 am #329373Disabling plugins didn’t help either unfortunately. I would love to continue using the layer slider. Do you know where in the code the skinspath declaration is being constructed (I haven’t been able to find it)? There wasn’t a problem with the most recent version of Enfold.
October 3, 2014 at 2:09 am #329400Hi!
It’s in /enfold/config-layerslider/LayerSlider/includes/slider_markup_init.php, line 36:
$slides['properties']['attrs']['skinsPath'] = dirname(LS_Sources::urlForSkin($skin)) . '/';
Try changing that to:
$slides['properties']['attrs']['skinsPath'] = 'http://beta.geology.utah.gov/wp-content/themes/enfold/config-layerslider/LayerSlider/static/skins/';
Regards,
JosueOctober 3, 2014 at 9:47 am #329573I was having the same issue and that solution worked for me. Thanks
October 3, 2014 at 3:10 pm #329726October 3, 2014 at 4:34 pm #329775I went through a bad time, but luckily that solution worked for me to.
ThanksOctober 3, 2014 at 7:44 pm #329864Glad it worked for you guys, hope it does for OP too :)
Cheers!
JosueOctober 3, 2014 at 7:45 pm #329865Thank you for your help. That fixed the issue. I really appreciate all the hard work you guys put into this product.
Is this something I’ll need to edit manually after updating Enfold or will this be addressed in the next version?Thanks again!
October 3, 2014 at 8:51 pm #329885Hi!
Seems to be an issue with the new version of LS and a particular kind of WP set-up, i’ll keep an eye on it.
Best regards,
JosueOctober 4, 2014 at 11:37 am #330173after updating layer slider doesn’t work any more.
http://led-professionals.de is empty expect menus etc.
wp admin avia layout builder is trying to load templates endlessly…
October 4, 2014 at 9:18 pm #330294October 6, 2014 at 5:31 pm #331006Have just updated to 3.0.1 and this still seems to be a problem.
October 7, 2014 at 9:37 am #331428Hey!
@Dogmut: Please refer to Josue’s fix here: https://kriesi.at/support/topic/layer-slider-enfold-3-0-not-working/#post-329400Best regards,
IsmaelOctober 29, 2014 at 4:46 pm #342803In /enfold/config-layerslider/LayerSlider/includes/slider_markup_init.php, line 36:
$slides['properties']['attrs']['skinsPath'] = dirname(LS_Sources::urlForSkin($skin)) . '/';
I tried to change this line with this
$slides['properties']['attrs']['skinsPath'] = LS_ROOT_URL.'/static/skins/';
and layer slider works but I don’t know why and if it’s correctOctober 29, 2014 at 5:51 pm #342840Hi!
Yes that’s correct,
LS_ROOT_URL
it’s the theme path + /config-layerslider/LayerSlider.Best regards,
JosueNovember 3, 2014 at 6:30 am #345085i have tried changing slider_markup_init.php in http://www.padprinting.in
still its not working
silders show in ie11 but it doesnt show in chrome and firefox
how do i troubleshoot my problem please helpNovember 4, 2014 at 4:49 am #345714Hi!
@careprint: There are jquery issues reported on the console when I checked the site on Chrome. Please try to deactivate all plugins then test it again. As Josue suggested, please try to create a new slider then create a test page with the slider on it.Regards,
IsmaelNovember 4, 2014 at 5:34 am #345725dear ismael
i have tried disabling all plugins, creating a new slider and new page with the new slider
check out http://www.padprinting.in/test
i do not understand how its working in ie11 and not working in chrome and firefox
i have disabled cloudflare and check that also
what might be the problem?November 5, 2014 at 11:29 am #346439@careprint: You forgot to activate jQuery. Thats your problem.
Try to use the layer slider configuration “Use Google CDN version of jQuery”.
Why the problem issn’t fixed in Enfold Version 3.0.2?
Its bad for windows users. Dont know if linux users have this problem, too.- This reply was modified 10 years ago by christmann_info. Reason: Added option in line 2
November 6, 2014 at 4:20 am #346954Hi!
@Patrick: Thank you for sharing the fix. I hope it helps @careprint.
@careprint: Please try @Patrick’s suggestion. If you enabled Rocket Loader (Asynchronous Loading of Javascript) on CloudFlare, it is the last option under “Performance Settings” tab, please disable because it tends to break the layer slider.Cheers!
Ismael -
AuthorPosts
- The topic ‘Layer Slider Enfold 3.0 Not Working’ is closed to new replies.