Line 32 in the js is being pointed to as the issue. Do i have this set up wrong?

CommentFileSizeAuthor
#6 9.jpg37.06 KBashoks

Comments

jazzdox’s picture

jazzdox’s picture

Status: Active » Closed (fixed)

fixed

psynaptic’s picture

What was the issue?

icekream’s picture

Priority: Normal » Critical
Status: Closed (fixed) » Active

What was the issue? I get Uncaught ReferenceError: Shadowbox is not defined trying to add it to a field in the view?

jhuon’s picture

I have a similar issue. I just installed Shadowbox and got an error "Shadowbox is not defined". jazzdox, can you explain what did you do to resolve this?

ashoks’s picture

StatusFileSize
new37.06 KB
manfer’s picture

Status: Active » Closed (won't fix)

This won't fix as there are newer version long ago. If anyone has problems with newer versions can report back.

caspercash’s picture

I did a fresh install of drupal 6 and enabled the shadowbox module. When I went to admin/settings/shadowbox, a this js error appeared. Anyone knows how to fix this?

BTW, the error occurred on these lines:

  Shadowbox.setup();

for the file shadowbox_auto.js

And

<!--//--><![CDATA[//><!--
Shadowbox.path = "/sites/all/libraries/shadowbox/";
Shadowbox.init(Drupal.settings.shadowbox);    
//--><!]]>

located below the page.

caspercash’s picture

same here jhoun.. im experiencing same error as you.. have you fixed this one?

caspercash’s picture

okay im really sorry... my bad.. i haven't downloaded the shadowbox library http://www.shadowbox-js.com/download.html. Now its working ok.