[Plugin: Slickr Flickr] Latest SlickrFlickr update causes Fatal Error
-
I updated SlickrFlickr yesterday. Now suddenly I am getting a “Fatal error: Theme CSS could not load after 20 sec. Please download the latest theme at https://galleria.io/customer”. Most probably the update broke my Wootheme. Could you please confirm what is happening. I don’t think I use this galleria plugin.
My website is rkmdelhi.org and I am using Kaboodle Wootheme.
-
Hi Chris,
I am sorry you are still having problems with Galleria 1.2.9
If you click the “Load scripts in footer” option in Slickr Flickr Admin advanced settings then Slickr Flickr will not load the galleria code if there is no galleria on the page – and hence the Galleria timeout will not occur.
Please post the URL of your site and I will investigate
Regards
Russell
Thanks for telling me about loading the scripts in the footer. At least that way I can keep trying without upsetting my client!
The url of the gallery page is https://www.luberonexperience.com/testsf/.
When it was a draft, I got this message:
Fatal error: Galleria had problems loading theme at https://www.luberonexperience.com/galleria/themes/folio/galleria.folio.min.js. Please check theme path or load manually.
Once I published it so I could show it to you here, it changes to
Gallery could not load.
Galleria cannot load the galleria theme at https://www.luberonexperience.com/galleria/themes/folio/galleria.folio.min.js as there is no file there.
Premium galleria themes do need to be loaded outside the plugins folder to avoid being wiped when the plugin is updated.
Therefore choosing a path of /galleria/themes/folio is a good choice of location, however it seems that the galleria themes files have not been uploaded there.
Your test page is showing a couple of missing files – the galleria theme and also your child theme’s stylesheet
Errors are:
Failed to load resource: the server responded with a status of 404 (Not Found) https://www.luberonexperience.com/wp-content/plugins/chris-responsive-twentyten/twentyten-child/style.css
Failed to load resource: the server responded with a status of 404 (Not Found) https://www.luberonexperience.com/galleria/themes/folio/galleria.folio.min.js
Right you are! I made that change and briefly was able to see the folio theme, although it looked really bad, but when I switched to classic and back, I’m getting the “Gallery could not load” message again. This time the location of the theme did NOT move, so I suspect the classic theme I’m able to see is the one in your plugin.
I’m not sure where that style call is coming from, but the style in the css folder is working so I’m not going to mess with it.
You have a plugin called chris-responsive-twentyten
See https://www.luberonexperience.com/wp-content/plugins/chris-responsive-twentyten/
If you are not using the plugin you should deactivate and delete it.
The plugin is missing an empty index.php so it allows the folder contents to be listed.
BTW, the Galleria Folio Theme is best on sites where you have a lot of control over the page formatting – so I would use Folio with a “Content-Driven” page on the Premise plugin or something like the OptimizePress or the Hybrid theme that gives you more control of layout.
Azur is my favorite premium Galleria theme that works well with most WordPress themes
I’ll sort that plugin problem out — thanks for pointing it out.
I’m not going to change the entire design of this website to be able to use the folio theme. I’ll try to get my money back and look for another solution.
You didn’t address why I’m back to the error just by changing themes on the slickr flickr settings page, although it may not be worth pursuing if that theme is not going to work on my site anyway. I changed to the full page template and that was no help. If it can’t run in a 940-wide space it’s way too fussy for me.
You might be able to swap Folio for Azur if you have problems getting a refund – this works okay with any theme.
You said:
“You didn’t address why I’m back to the error just by changing themes on the slickr flickr “I thought I did – the Folio theme files was not in the location indicated in the ‘Galleria theme’ settings
The free Galleria Theme, ‘Classic’, is bundled with Slickr Flickr and located in wp-content/plugins/slickr-flickr/galleria/themes/classic
Any premium galleria theme needs to be uploaded elsewhere and the path defined on the Slickr Flickr admin page
Yes, I moved the folio theme files to the right location, and successfully (sort of — it looked crappy) displayed it by changing to folio on your settings page. However, when I changed back to classic, on your settings page, then back to folio, I got the error again. The folio files had not moved in the few minutes since I’d just seen the gallery, and I’d changed nothing but that one word on your settings page.
The code in the footer looks fine – it loads Galleria first, then Slickr Flickr, then the Galleria theme, then it starts any gallerias, slideshows, etc
<script type='text/javascript' src='https://www.luberonexperience.com/wp-includes/js/thickbox/thickbox.js?ver=3.1-20121105'></script> <script type='text/javascript' src='https://www.luberonexperience.com/wp-content/plugins/slickr-flickr/galleria/galleria-1.2.9.min.js?ver=1.2.9'></script> <script type='text/javascript' src='https://www.luberonexperience.com/wp-content/plugins/slickr-flickr/slickr-flickr.js?ver=1.44'></script> <script type='text/javascript' src='https://www.luberonexperience.com/wp-content/plugins/soliloquy-lite/js/soliloquy.js?ver=1.0.0'></script> <script type="text/javascript"> Galleria.loadTheme("https://www.luberonexperience.com/galleria/themes/folio/galleria.folio.min.js"); jQuery.noConflict(); jQuery(document).ready(function() { jQuery("#flickr_bonnieux_976").data("options",{"autoplay":5000,"transition":"fade","transitionSpeed":0,"showInfo":true,"imageCrop":true,"carousel":true,"debug":false}); slickr_flickr_start(); }); </script>
Suggestion
One thing you could try is changing the Galleria debug setting to true. You can do this by adding the following to the slickr-flickr command
galleria_options=”debug:true”
This forces Galleria to give a more detailed error message; i.e. to explain why it could not load the gallery
Fatal error: Could not extract a stage height from the CSS. Traced height: 0px.
I’ve just sent a refund request to galleria. I can’t afford the time for tools that require this amount of work just to get them to work at all. I’ve already lost a day to this.
Fair enough.
It seems the folio needs an explicit height and width setting
For example,
[slickr-flickr tag=”yourtag” type=”galleria” items=”20″ galleria_options=”height=480; width=640″]
But you said it looked crappy anyway.
I will put some docs on Slickr Flickr to direct people away from Folio and towards Azur if they want something better than Classic
It appears that would be problematic with a mix of vertical and horizontal photos, the reason I went for this theme in the first place. The demo on the galleria site shows varying sizes so beautifully.
I do appreciate your help very much. Thank you!
Loading the script in the footer did the trick for me, thanks for posting this!
I use the gallery at travelmemo.com
- The topic ‘[Plugin: Slickr Flickr] Latest SlickrFlickr update causes Fatal Error’ is closed to new replies.