Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The galleria is working on the nodes on the home page but under views where the image should be I get the error: Fatal error: Theme at http:/sites/all/libraries/galleria/themes/classic/galleria.classic.min.js,http://sites/all/libraries/galleria/themes/classic/galleria.classic.min.js could not load, check theme path.
The file galleria.classic.min.js is there in the correct place. What does this error mean?
Thanks
Comments
Comment #1
afsolano CreditAttribution: afsolano commentedI have the same problem
Comment #2
kroimon CreditAttribution: kroimon commentedThe Galleria javascript could not load it's theme file. The reason is that the paths are absolute ("http://" at the beginning) which should not be the case.
What's even more strange is that it works on the home page and normal nodes, but not on views?
Do you use any URL fixing / redirect modules?
Comment #3
afsolano CreditAttribution: afsolano commentedHello and thanks for your answer. In my case the problem happens in all cases, views and nodes.
I think the only modules I have enabled it to influence the urls of the site are the path and pathauto, besides having clean urls enabled. I tried to disable but the problem persists.
Comment #4
LTech CreditAttribution: LTech commentedI only get the error on views.
I have pathauto enabled and clean URLs.
Comment #5
sebas5384 CreditAttribution: sebas5384 commentedI have the same problem.
Why is this happening?
cheers
Comment #6
sebas5384 CreditAttribution: sebas5384 commentedComment #7
sebas5384 CreditAttribution: sebas5384 commentedI tried with a page display and it worked!
But i really need to be a block, i noted that when is a block the Drupal.settings.galleria.themepath is loading more than 1 theme, and the it gives the error of loading the themes. So i modified the javascript to only load the first one, but now the error is another, something about the hight, etc..
Some help, please! :)
Comment #8
Golem07 CreditAttribution: Golem07 commentedI get the same error in views, no matter what view type.
Comment #9
kingswoodute CreditAttribution: kingswoodute commentedHi I get the same problem, did anyone find a fix?
Thanks heaps.
Comment #10
Talkless CreditAttribution: Talkless commentedIt's 2014 already and I got same problem...
Comment #11
ElitPeter CreditAttribution: ElitPeter commentedWow. Same problem here. 2015