Gallery Remote doesn't show new albums...

webnerd612

Joined: 2003-06-17
Posts: 5
Posted: Tue, 2003-06-17 18:34

I have Gallery 1.3.3 inside of PostNuke and have made some changes to the interface so that I can view albums by month. Now GR won't display new albums created in G/PN but displays all pre-existing albums.

Any help is greatly appreciated.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2003-06-18 22:22

What's the URL you use to connect to your modified gallery from GR?

I'm not sure I'll be able to support this kind of modification, especially with so little info...

 
webnerd612

Joined: 2003-06-17
Posts: 5
Posted: Thu, 2003-06-19 12:46

Sorry, I was stupid and didn't pass the month in correctly in gallery_remote.php. I also forgot to post that I had discovered my own mistake last night.

I have also discoverd, thanks to your high level logging, that when attempting to load as many as 723 albums in the select list in GR, there is an issue with max_execution_time in php.ini. Once I increased this time, viewing all 700+ albums was successful.

The error displayed when this happened was one that has recieved many posts: "Server contacted but Gallery not found". Should I cross post to that topic for the benefit of others?

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2003-06-19 13:02

webnerd612, this sounds cool. Have you considered submitting your changes for a gallery organized by month to the community? SF.net has a section for you to submit patches. Some (many) of these patches are subsequently merged with the mainline, so they're officially supported and you no longer have to hand-merge every new Gallery release.

I'm glad you figured it out :-)

I'm in the process of rewriting the code that fetches the list of albums from Gallery to make it faster and not quite so bandwidth-consuming.

If you could cross-post to that subject, it would be great, although it's a different issue; it's better to have too much info than too little.