Path problems
Posted: Fri Dec 21, 2012 7:38 pm
I have installed Gallery 4.5.0 on a test site. The top level directory for this site is /Users/scs1ng/Sites/Joomla and I have put sample images in /Users/scs1ng/Sites/Joomla/images/photos . The URL for the site is http://127.0.0.1/~scs1ng/Joomla/index.php
First problem: the popup engine is not found because the require statement in agGallery.php (line 285) fails with the error:
[Fri Dec 21 12:49:22 2012] [error] [client 127.0.0.1] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'plugins/content/admirorgallery/admirorgallery/popups/slimbox/index.php' (include_path='.:') in /Users/scs1ng/Sites/Joomla/plugins/content/admirorgallery/admirorgallery/classes/agGallery.php on line 285, referer: http://127.0.0.1/~scs1ng/Joomla/adminis ... edit&id=15
To overcome this, I changed line 285 to require (dirname(dirname(__FILE__)) . DS . 'popups' . DS . $this->params['popupEngine'] . DS . 'index.php');
which avoids the error.
Second problem:
I set the Images Root Folder in Basic Settings to "/images/photos". When I click on the Image Manager tab, I see lots of thumbnail panels, each with a (correct) filename, but the thumbnail images are absent (just containing the 'missing image' icon). So the Admiror gallery is able to find the photo folder (for it is able to read the image file names), but can't create the thumbnail images. The directory /Users/scs1ng/Sites/Joomla/plugins/content/admirorgallery/admirorgallery/thumbs/images/photos exists, but is empty.
Any clues?
Thanks
First problem: the popup engine is not found because the require statement in agGallery.php (line 285) fails with the error:
[Fri Dec 21 12:49:22 2012] [error] [client 127.0.0.1] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'plugins/content/admirorgallery/admirorgallery/popups/slimbox/index.php' (include_path='.:') in /Users/scs1ng/Sites/Joomla/plugins/content/admirorgallery/admirorgallery/classes/agGallery.php on line 285, referer: http://127.0.0.1/~scs1ng/Joomla/adminis ... edit&id=15
To overcome this, I changed line 285 to require (dirname(dirname(__FILE__)) . DS . 'popups' . DS . $this->params['popupEngine'] . DS . 'index.php');
which avoids the error.
Second problem:
I set the Images Root Folder in Basic Settings to "/images/photos". When I click on the Image Manager tab, I see lots of thumbnail panels, each with a (correct) filename, but the thumbnail images are absent (just containing the 'missing image' icon). So the Admiror gallery is able to find the photo folder (for it is able to read the image file names), but can't create the thumbnail images. The directory /Users/scs1ng/Sites/Joomla/plugins/content/admirorgallery/admirorgallery/thumbs/images/photos exists, but is empty.
Any clues?
Thanks