Thanks. You're right, I totally missed that. It worked- the NOCACHE errors are gone and Gallery2 is loading data but not images- I think I can track it down though. Thanks again
Glad that helped. If memory serves I also had to mess about with lines 31 and 32 to get it to point properly at the directory where Gallery2 is installed. That might help with your 'not showing images' issue?
Gallery 2.0.2 is now available for download. This release adds no new features. It fixes a minor XSS exploit, a potential information leak and a file disclosure bug in the zipcart module that could allow remote visitors to view sensitive files on your webserver. These security flaws were discovered during an internal security audit of the Gallery 2 code, and there are no known exploits of them in the wild. However we strongly recommend that you upgrade to version 2.0.2 as soon as possible. If you're unable to upgrade right away we recommend that you *disable the zipcart module* until time permits you to upgrade. Please follow our upgrading instructions and download and install the latest release.
"Default configuration will work if gallery is installed within the cms made simple tree. I.E. CMS made simple is installed in /var/www/mysite and gallery2 is installed in /var/www/mysite/gallery"
I have gallery2 installed in folder 'gallery' which is located in the install directory of cmsms (which happens to be the root of my domain). So from what I read, I followed the install instructions, but I didn't work. embed.php would load, but no pictures would be displayed. To get the entire gallery2 integration working, I had to change the following in function.gallery2.php:
line 31: 'embedUri' => 'index.php?page=Gallery', 'embedPath' => 'gallery', 'relativeG2Path' => '',
line 37: GalleryCapabilities::set('showSidebarBlocks', false);
line 41: }
So it works, but it's not really integrated. I thought that integration meant that the gallery would stay within your cms while browsing, but it seems as though it is just in your cms for the main index of gallery2, and then it jumps into the gallery2 template when you try to visit anything.
I uploaded the file, made the changes, put the tag in a page and I can see the albums in my cms.
But when I click on an album I get this error
Warning: Smarty error: unable to read resource: "db:Gallery" in /usr/local/psa/home/vhosts/dewoldmeppers.nl/httpdocs/lib/smarty/Smarty.class.php on line 1088
"Default configuration will work if gallery is installed within the cms made simple tree. I.E. CMS made simple is installed in /var/www/mysite and gallery2 is installed in /var/www/mysite/gallery"
I have gallery2 installed in folder 'gallery' which is located in the install directory of cmsms (which happens to be the root of my domain). So from what I read, I followed the install instructions, but I didn't work. embed.php would load, but no pictures would be displayed. To get the entire gallery2 integration working, I had to change the following in function.gallery2.php:
line 31: 'embedUri' => 'index.php?page=Gallery', 'embedPath' => 'gallery', 'relativeG2Path' => '',
line 37: GalleryCapabilities::set('showSidebarBlocks', false);
line 41: }
So it works, but it's not really integrated. I thought that integration meant that the gallery would stay within your cms while browsing, but it seems as though it is just in your cms for the main index of gallery2, and then it jumps into the gallery2 template when you try to visit anything.
Cwalk- That's the same conclusion I came to. I'm going to switch to a image gallery that's in the Forge and being actively developed for CMSMS.
I stopped working on my image gallery module.... and wrote a small module for Gallery2, it's easy to install and to setup if your gallery2 installation is the cms folder