Cool Iris Slideshow: "This Feed has no Items"

welberger

Joined: 2006-01-03
Posts: 22
Posted: Mon, 2009-08-24 14:57

I'm using Gallery3 Beta2 with the newest source (gallery-gallery3-deafc01c21887d8b699f26f9358a7acbf765151b.zip) and every time in every album which exists in my gallery if I try to start the slide show I get the message from Cooliris: This feed has no items.

Does anyone know what causes the problem.

Btw: In most of my albums there is no problem to watch the photos in "single step mode".

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-08-24 15:58

A link to the URL would help. But I've seen this happen if you have an & sign in the URL (title/folder) of the album.

We are also currently looking at other slideshow options, so CoolIris will (hopefully) go away.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
welberger

Joined: 2006-01-03
Posts: 22
Posted: Tue, 2009-08-25 05:20

Oh sorry - I indeed forgot the link. Here it is:
http://www.team-welker.eu
And to your suggestion that an & causes this: There is no such character in any of the album names (respective folders).

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-08-25 13:28

Every album I looked at generated the slideshow without any problems. Can you post a link to one of the problem albums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
welberger

Joined: 2006-01-03
Posts: 22
Posted: Wed, 2009-08-26 06:28

So this is really very funny - every album I try to look at using the slideshow generates the error. And this is not only while using Firefox - it also occurs when using Opera and IE.
Could this have something to do with firewall settings?

 
welberger

Joined: 2006-01-03
Posts: 22
Posted: Thu, 2009-08-27 06:05

Ok - now I know the reason for this behavior. It indeed was caused by the firewall we use in the office.
I don't know why and which settings need to be undone or changed - I just stop using this function in the office.

Sorry for all the hustle.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-08-27 22:37

What firewall are you guys using?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
welberger

Joined: 2006-01-03
Posts: 22
Posted: Fri, 2009-08-28 07:26

The SysAdmin just told me that it is a Firebox by Watchguard - but I don't know any further details

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-08-28 15:28

I see. Everything Gallery does goes over port 80. Looks like your firewall is doing some sort of SPI (Stateful Packet Inspection) and doesn't like some of the traffic. You'll need to work with your sysadmin to inspect the traffic and make adjustments on your firewall.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
welberger

Joined: 2006-01-03
Posts: 22
Posted: Fri, 2009-08-28 21:50

Thank you for the information - I will have a word with my SysAdmin and may be on the course of solving this problem we could solve just a few other ones we have right now with this ... firewall.

Thanks again.

 
sublimespot

Joined: 2009-09-22
Posts: 2
Posted: Tue, 2009-09-22 03:29
welberger wrote:
I'm using Gallery3 Beta2 with the newest source (gallery-gallery3-deafc01c21887d8b699f26f9358a7acbf765151b.zip) and every time in every album which exists in my gallery if I try to start the slide show I get the message from Cooliris: This feed has no items.

Does anyone know what causes the problem.

Btw: In most of my albums there is no problem to watch the photos in "single step mode".

I have this exact same problem with Gallery3 beta 3

I notice the cooliris encode a url to my gallery site on the URL bar, decoding it, it comes out to:
http://careyphotos.com/gallery3/index.php/rss/feed/gallery/album/2?page_size=100

When I click that link, I see no RSS feed. So this is why cooliris is not happy. Looks like a Gallery3 bug

 
sublimespot

Joined: 2009-09-22
Posts: 2
Posted: Tue, 2009-09-22 03:34

I just noticed that it did work if I drill down all the way to a photo, then click the slideshow link. It failed when I was higher up in the heirarchy

 
nickctn

Joined: 2005-01-29
Posts: 15
Posted: Tue, 2009-09-22 21:18

I'm getting the same error, but it seems like it is happening only on albums that have a large number of pictures (100+). It seems to work fine with smaller albums.

Here's a list to one of my albums that doesn't work: http://www.nickctn.net/gallery3/index.php/Work/AI/20081128

My site // My Gallery

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-09-23 13:48

nickctn, you have either no photos or public photos on your site.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
DaddyCool

Joined: 2009-09-24
Posts: 2
Posted: Thu, 2009-09-24 14:31

I was about to fill a bug when I found this [recent] thread.

I get the same problem described in here while :
Running on Firefox 3.5
With plugin Cooliris
on Gallery3 beta 3

When I call a RSS feed for an album with a page_size query that is set under the [real]quantity of available photo under this album, I get an empty feed (but, not really).

Try this album which contain 96 photos:
http://photos.funkybudha.net/index.php/rss/feed/gallery/album/295?page_size=96
and with page_size set to 95 :
http://photos.funkybudha.net/index.php/rss/feed/gallery/album/295?page_size=95
(you should SEE nothing, but have a correct feed source)

(oops, because I corrected my system files, you can't see the bug anymore :P )

----
The bug is that the feeded links (for the next pages) are invalid. Simply because the query is using a & instead of a & ===>
<atom:link rel="next" href="http://photos.funkybudha.net/index.php/rss/feed/gallery/album/295?page_size=95&amp;page=2" type="application/rss+xml" /> <==this is OK

Just check out the sources to see the invalid links generated when you have more photos then the page_size specified.

----
Bug trace: I did a rapid correction to verify my hypothesis in the file /system/helpers/url.php , clearly it's not the correct approach to solve that, but got me the ability to pinppoint that peculiar bug.
I simply changed the line 151, into the merge function to :
$query = '?'.str_replace('&', '&amp;', $query);

and voilà !
Problem's over, Cooliris plugin working as expected (fetching the other feed pages)

Now I'll simply leave to the developper the pleasure to decide where to implement that correction with the right functions

The call for the merge function is in /modules/rss/controllers/rss.php , line 57 & 60.

Should this be corrected directly into the kahuna ? Please let me know

Good job dudes, Gallery3 is sooo much better then 2 ^_^

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-09-24 15:41

Thanks, could you please file a bug:
https://sourceforge.net/apps/trac/gallery/newticket
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
welberger

Joined: 2006-01-03
Posts: 22
Posted: Thu, 2009-09-24 18:32

That's great - finally we approached the problem. And I agree with DaddyCool.

I'm glad the problem is about to be solved because I think Gallery3 is much better than 2 - and I'm glad you're doing such a fine job

Best
achim

 
DaddyCool

Joined: 2009-09-24
Posts: 2
Posted: Thu, 2009-09-24 19:18