Hi,

I installed photos.module 6.x-2.6-beta1 with dfgallery 6.x-1.0-beta1. I also downloaded the json.php, renamed it to json-php4.php and put it into the dfgallery folder.

The "album view" works absolutely fine. When I start the slideshow, I get the following errors -> see attached pictures... first the error from pic1 than the error from pic2.
Would be great, if you could help me out. Please let me know if you need more info.

Regards,
Stefan

Comments

ctalley5’s picture

I'm getting one of the same errors -

An IOError occured while reading file
'http://..................../sites/all/modules/photos/flash_gallery/dfgallery/resources/locale/dfgallery_en.eden'

Funny thing is - the error shows up for about 2 seconds, then disappears, then it seems to work fine.

Not quite sure what's going on, but after the error it is an extremely nice looking slideshow.... so i'm just thrilled it is working at all!

eastcn’s picture

StatusFileSize
new3.72 KB

error 1: lack of language packs. Based on the wrong path, please create an empty file. eg: ..../modules/dfgallery/dfgallery/resources/locale/dfgallery_en.eden

error 2: Try the revised document.

milanod’s picture

I can tell you Im far from knowing php, but I did have the same problem as both your pics. I am still trying to figure out the language file problem, but I think the folder/file is missing completely.

By no means am I saying this is the "correct" way to do it, but to fix the other problem, edit the modules/photos/inc/photos.album.inc line 143 and remove or comment the '_photos_l' from the beginning of the array string.

this worked for me and should get the album flash running.

Change this:
return dfgallery_html(array('url' => _photos_/(url("photos/data/$type/$node->nid", array('query' => array('type' => 'json.json')))), 'width' => $width, 'height' => $height));

to this:
return dfgallery_html(array('url' => /*_photos_l*/(url("photos/data/$type/$node->nid", array('query' => array('type' => 'json.json')))), 'width' => $width, 'height' => $height));

eastcn’s picture

You are correct, but better to use absolute path:

return dfgallery_html(array('url' => url("photos/data/$type/$node->nid", array('absolute' => true, 'query' => array('type' => 'json.json'))), 'width' => $width, 'height' => $height));
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

design.er’s picture

Status: Active » Fixed

Great, this is the solution. Thanks a lot! :)

Regards,
Stefan

mukatira’s picture

StatusFileSize
new14.34 KB

Hi,

I changed the 143rd line in photos.album.inc to
return dfgallery_html(array('url' => url("photos/data/$type/$node->nid", array('absolute' => true, 'query' => array('type' => 'json.json'))), 'width' => $width, 'height' => $height));

Created a directory locale and an empty file :
../modules/dfgallery/dfgallery/resources/locale/dfgallery_en.eden

I still get the error posted by design.er - March 9, 2009 - 18:41 dfgallery_error_01.png immediately followed by the attached Invalid XMD data error

Am I missing something?

Thanks

Sm

design.er’s picture

Hi makutira,

Maybe you should follow eastcn's instructions from comment #2. That was the solution for my problem. Maybe it'll help you, too.

Regards and good luck! :)
Stefan

mukatira’s picture

Hello,
I realized that the dfgallery_en.eden should be in ../modules/photos/dfgallery/dfgallery/resources/locale/dfgallery_en.eden AND NOT IN ../modules/dfgallery/dfgallery/resources/locale/dfgallery_en.eden

Upon fixing this the the error posted by design.er - March 9, 2009 - 18:41 dfgallery_error_01.png
is gone!
However I still get the error(Invalid XML data): http://drupal.org/files/issues/invlidXMLdata_0.jpg

What am I missing now?

Sm

mukatira’s picture

I found out Clean URL needs to be activated so I went here http://drupal.org/node/55946, configured my .htaccess file and sure enough Invalid XML data error disappeared!

jjancel’s picture

Impossible for me to activate Clean URL,
What other solution ?

eastcn’s picture

tedbramble’s picture

Okay I did everything as described above...and proceeded to anguish over why it wasn't working for the entire day...reinstalled, copied the code, made new folders, downloaded all the updates... still no go...ready to throw my laptop out the window.

And then eastcn gave me some great advice:

Please remember to TURN ON THE DF GALLERY MODULE in your administration page!

OMG....

works perfectly.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

tclusellas’s picture

StatusFileSize
new0 bytes

Hi guys, I had the same problem about the ioerror.... eden, I tried everything that was posted above but didn not work, I changed dfgallery_en.eden to one from ttp://www.dezinerfolio.com/dfgallery-2/free-flash-gallery, and voila, error gone!

(rename the file to dfgallery_en.eden)

Good luck

sandeepkumarbhatt’s picture

hey Guys ,can anyone tell me how i can group multipe album for swf slideshow in dfgallery

sandeepkumarbhatt’s picture

hey Guys ,can anyone tell me how i can group multipe album for swf slideshow in dfgallery

andersh’s picture

I have struggled with this exact problem for some time, and tonight I cracked it! I got the error message "IOError reading file dfgallery_en.eden" for some seconds, and then all worked fine. It was just not very pretty to have all users get an error message in red font every time they wanted to open a gallery.

The flash applet are run on the client side, and therefore the flash applet ask the webserver for this eden-file. I'm running Drupal from an IIS server and IIS only transfer files that is a so called "known MIME type". In IIS Manager you rightclick on your site, properties, choose the tab "HTTP Headers", button "MIME Types". Click "add" and write .eden in the first field, and just type inn somekind of name in the lower field. This makes the server deliver this filetype to clients asking for it.

WOILA! Error gone!

If you are running other kind of webserver software the same type of limitation could be your problem, however the configuration steps will be different. But this may put you on the right track!