I'm getting ready to upgrade from 4.6.10 so I did an rsync of all the files in the drupal web directory to a new system. Also did the same for the g2data files. I dumped the mysql db via mysqldump utility and reloaded it into the db on the new system. I changed the drupal and gallery configs to point to the new locations and adjusted user/pw/paths.
The site worked OK as far as I could tell, except the most recent gallery entries did not show up. We have links on the front page to "Recent galleries" and none of them display. I fought with it for a while before I went of to other things. I decided to try again, so I rsync'ed the g2data files again and dumped the db once more. I dropped the drupal db and reloaded everything from scratch.
Same thing. Recent photos don't show up. When I look in the g2data directory they are there. All files in g2data and the drupal directories are owned by apache, which is the user that apache2 runs as. There are no error messages in the log that I can find.
Am I missing some files I don't know about or is there a cache that needs cleaning?
Thanks for any help.
Jim.
Comments
Have you tried submitting
Have you tried submitting this as an issue in the module's page?
http://drupal.org/project/gallery
Thanks,
Jonathan
Drupal's so easy, even I could do it.
http://www.kfol.org/
Additional info
The link to display the missing photos is http:///gallery?g2_view=core.ShowItem&g2_itemId=37054
However when I click on it as user0 I get redirected to gallery?g2_view=core.ShowItem&g2_itemId=7
Which displays the gallery selection screen which is probably a reasonable thing to do if you give it an invalid item id.
When I click on it as a guest, I get redirected to http:///gallery2/user/login , but what is displayed is the site's home page.
It will be hard to upgrade if this isn't working. There are over 6,000 images in the gallery so it's not possible to manually reinstall them.
try uninstalling
and reinstalling the relevant modules.