dfgallery: no show !
Marc Hoefman - March 10, 2009 - 17:03
| Project: | album photos |
| Version: | 6.x-2.6-beta1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Description
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?

#1
u site link?
#2
You have to activate the "Clean URLs" - that worked for me-
#3
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?
#4
Impossible for me to activate "Clean URL" - What other solution ?
#5
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
#6
Please apply this patch, Need to modify multiple files, you can directly download attachment:
<?php
- 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));
?>
#7
#8
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.
#9
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.
#10
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!