Hello, firstly sorry for my bad english, now..i have a problem, i followed this steps:

STEP 1: Download and unzip juice library in httodocs/profile/nameprofile/libraries/juice with documentation module structure.
STEP 2: i download module juice and put enable (module ubication is sites/all/modules/contrib/
STEP 3: I followed this videotutorial https://www.youtube.com/watch?v=Uf7HF3SL6TQ

and when i created a gallery and this show (image captured)

I view same issues but i couldnt resolve the problem.

Any solution?

Thanks for all !

Comments

elrokket created an issue. See original summary.

josecarlosss’s picture

Assigned: josecarlosss » Unassigned
Status: Active » Closed (fixed)

I used the explanation of another issue:

juicebox/includes/JuiceboxGallery.inc could be modified in such a way that things still work even if some other module injects whitespace to all Drupal output. The suggestion is to change the end of the renderXml() method on line ~182 from:

return $dom->saveXML();

to:

return $dom->saveXML($juicebox);

and worked

josecarlosss’s picture

Assigned: Unassigned » josecarlosss
Status: Closed (fixed) » Needs review
StatusFileSize
new562 bytes

I made the patch with changed line

Status: Needs review » Needs work

The last submitted patch, 3: juicebox-xmlnotfound-2563151-739.patch, failed testing.

rjacobs’s picture

Assigned: josecarlosss » Unassigned
Status: Needs work » Closed (duplicate)
Issue tags: -bootstrap xml
Related issues: +#2312037: There is whitepspace in your Juicebox XML that causes problems, is there something you can/should do about it?

Hello,

It looks like this is a duplicate of #2312037: There is whitepspace in your Juicebox XML that causes problems, is there something you can/should do about it?.

If the code modification that you tested made the problem go away then it's almost certain that you have some other module or theme printing extra whitespace in all Drupal responses. The best solution is going to be to locate the source of that extra whitespace and remove it, as that will also help prevent many other problems with your Drupal setup that are unrelated to Juicebox.

If you have any other comment on all this I suggest posting them within #2312037: There is whitepspace in your Juicebox XML that causes problems, is there something you can/should do about it?. I'll mark this as a duplicate of that issue for housekeeping.