Active
Project:
Views Slideshow: Galleria
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2011 at 09:50 UTC
Updated:
21 Mar 2012 at 14:47 UTC
I'm getting the following Javascript error when trying to get this module to work. Error cocurs when trying to render a page view that uses Views Slideshow: Galleria
Uncaught Error: Fatal error: Theme at /sites/all/libraries/aino-galleria-cd07497/src/themes/classic/galleria.classic.js could not load, check theme path. galleria.js:4612
Galleria.raise galleria.js:4612
(anonymous function) galleria.js:4441
I'm using:
I also use multilingual system with Language negotiation set as "Path prefix with language fallback". I tried all other options too.
Can anyone help?
Comments
Comment #1
goofrider commentedOK I fixed it.
The offending Javascript code in the rendered page was:
Since the location for the theme is correct. I decided to try adding my site's base URL in the front, so that Galleria.loadTheme() is called with a fully-qualified URL like
http://foobar.com/sites/all/libraries/aino-galleria-cd07497/themes/classic/galleria.classic.jsIn
./sites/all/modules/views_slideshow_galleria/themes/views_slideshow_galleria.theme.incChanged line 121 to:
Now Galleria.loadTheme() executes correctly.
Comment #2
ainz commentedThanks goofrider your post helped me figure out my issue although it was a little different.
Here's what worked for me:
http://drupal.org/node/877864#comment-5760420