Just installed on Drupal 6.9 the modules Photos 6.X-2.6-beta1 and dfgallery 6.x-1.0-beta1.

I've also installed the latest corrections for dfgallery http://drupal.org/node/396322.

Pictures are uploaded and showing up in Photos like expected
but when clicking 'slideshow' the flash window opens and hangs with the error text:

"Loading gallery data - Invalid XML Data".

What can go wrong? some missing point during the installation? some wrong settings?

CommentFileSizeAuthor
#6 photos-Clean-URL.zip19.5 KBeastcn

Comments

eastcn’s picture

u site link?

Morn’s picture

You have to activate the "Clean URLs" - that worked for me-

Marc Hoefman’s picture

It seems to me that dfgallery is not looking for the images where they are located now:
/sites/default/files/photos/

currently I installed
dfgallery in /sites/all/modules/dfgallery
photos in /sites/all/modules/photos

Is there, like some other forum treads indicated in the past, dfgallery to be installed within photos?

jjancel’s picture

Impossible for me to activate "Clean URL" - What other solution ?

Marc Hoefman’s picture

The problem is indeed solved with activating "clean url's".

If this is confirmed to be the solution, I propose that the install documentation be updated to mention that "clean url's" is mandatory.

To enable clean url's with Bluehost server:

1. by default the htaccess file included in the drupal install is originally named htaccess.txt. I assume this is so it doesn't overwrite any .htaccess file you might already have.

I renamed htaccess.txt into to .htaccess (do not forget the "." )

2. enable clean URLs from admin

eastcn’s picture

StatusFileSize
new19.5 KB

Please apply this patch, Need to modify multiple files, you can directly download attachment:


-      return dfgallery_html(array('url' => url("photos/data/album/$node->nid", array('absolute' => true, 'query' => array('type' => 'json.json'))), 'width' => $width, 'height' => $height));;

+        return dfgallery_html(array('url' => url("photos/data/album/$node->nid/json.json", array('absolute' => true)), 'width' => $width, 'height' => $height));

eastcn’s picture

Status: Active » Needs review
StS’s picture

Status: Needs review » Reviewed & tested by the community

I had the same problem and activating 'clean urls' always results in server errors.

I applied your patch and for a short test the slideshow works perfect. This seems to be the real solution.

CRAZyBUg-1’s picture

the fix is not working for me, i am unable to run album photos + dfgallery together. getting all the time

http://drupal.org/files/issues/dfgallery_error_02.png message.

cutemiffy’s picture

I applied the patch suggested by eastcn, however I got a screen where it said "Loading locale en" and it keep loading and loading, until the browser is non-responsive. This problem occurs in IE. While using Firefox and Safari, it works ok though. Any idea on how to fix the IE issue? Thanks!

vako’s picture

The patch didn't work for me as well. This IOError happens for IE & FireFox for me and on several websites that I tried to install and use this module with Photo Albums. After the error is displayed, the module works fine, but seems a little embarrassing to see an error on the site.
Since there are so many people affected on this, hopefully we can have a solution. This is definitely a bug.
At least if anyone can show us how to disable that error message on the code, I searched and couldn't find it.

eastcn’s picture

try:

Error: lack of language packs:

The error will disappear in seconds. It is caused by a lack of language pack, cvs does not support the language pack(.eden) format.
Based on the wrong path, please create an empty file. eg: ..../modules/dfgallery/dfgallery/resources/locale/dfgallery_en.eden

vako’s picture

That's it! this resolved the issue, thank you very much eastcn!
I had the file but it had .txt extension, just removed it and the error disappeared.

Actually the file has the wrong extension in the source of ver 6.x-1.0-beta2 as of 2009-Mar-24. Someone should remove the .txt extension from the package.

nathaniel’s picture

Status: Reviewed & tested by the community » Closed (fixed)