I had a similar issue with Gallery 2.0.3 and GL_Gallery2 0.5.0 running under Apache and Linux. After installing GL_Gallery2 I could do everything in Gallery except see photos.
I found that my relative path was incorrect in the config.php for GL_Gallery2. My setup is as follows:
Gallery2 is at "/var/www/gallery"
The Geeklog public_html is at "/var/www/html"
GL_Gallery2 is at "/var/www/html/GL_Gallery2".
Based on this I entered a path of "../../gallery" for the relative path configuration.
After quite a bit of uninstalling/reinstalling/reading, I found that the relative path is based on a brower's
relative path or a web
relative path - not a OS level relative path.
I have an alias
set up in the apache config so that the gallery pages can be accessed directly via http://www.mydomain.com/gallery.
Changing my path to "../gallery" for my relative path fixed my issue.
To hopefully further clear up:
- When you access http://www.mydomain.com you are accessing the document root of the web server... or "./" in relative terms.
- When accessing GL_Gallery2 pages I am accessing http://www.mydomain.com/GL_Gallery2. Or ./GL_Gallery2 in relative terms from the document root.
- When accessing the gallery I am, via the Alias, accessing http://www.mydomain.com/gallery... or ./gallery in relative terms from the document root.
From this, the relative browser/web
path from http://www.mydomain.com/GL_Gallery2 to http://www.mydomain.com/gallery is ../gallery.
Since I have made the change to my config.php everything is working as expected!
Hope this helps.