Closed (fixed)
Project:
Shadowbox
Version:
6.x-2.1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Feb 2009 at 13:43 UTC
Updated:
5 Apr 2009 at 11:10 UTC
Shadowbox has worked very well for a long time on one of my clients sites. Until now. Every time a user clicks on a image that has rel=shadowbox attribute an error looking like this shows up in the sites reports: /sites/all/modules/shadowbox/shadowbox/build/lang/shadowbox-nb.js?5
is this an error?
i'm using norwegain bokmål and the only language file in that folder is shadowbox-no.js
Comments
Comment #1
psynaptic commentedIf the language you are using does not have a language file associated with it you will get this error. Just copy the file that matches what you want to be displayed to the filename you mention in your post and it will fix your issue.
Comment #2
minus commentedI did as you suggested, but now these messages appears in the reports section. Shadowbox does not work.
sites/all/modules/shadowbox/shadowbox/build/lang/shadowbox-nb.js?R
sites/all/modules/shadowbox/shadowbox/build/lang/shadowbox-nb.js?v
Any idea?
The norwegian language have two "languages" nb and nn. The file that is within the language folder has the .no extension, I guess this is the norwegian language file?
I have 4 sites with this conflict now :-S
Comment #3
psynaptic commentedSo is Drupal is looking for a file called shadowbox-nb.js?
If so just rename one of the language files to this and it should work.
Comment #4
minus commentedI have done that but I still get the error messages. Shadowbox is not working :-/
Comment #5
guldi commentedi have a similar error:
sites/all/modules/shadowbox/shadowbox/build/lang/shadowbox-de.js not found.
correct filename to search for would be: shadowbox-de-CH.js. this is what is delivered by shadowbox.
the problem is easy to solve: rename shadowbox-de-CH.js to shadowbox-de.js. but the question is, if it's a module-issue.