Page 1 of 1

Error messages on Save - whats happening?

Posted: Sun Mar 17, 2013 2:38 am
by wildplanet
The gallery works perfectly, I love it. But every time I place my {AG}name of folder{/AG} code into an article, and hit SAVE, i get the following error messages:

Fatal error: require() [function.require]: Failed opening required 'plugins/content/admirorgallery/admirorgallery/popups/pirobox/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wildpl8/public_html/foodandwineonline.com/plugins/content/admirorgallery/admirorgallery/classes/agGallery.php on line 285

The gallery shows up fine in the front end, but my admin basically crashes with this error. What is causing this? Its annoying. Thanks in advance -

Re: Error messages on Save - whats happening?

Posted: Tue Mar 19, 2013 11:43 am
by Vasiljevski
You can apply fix from micrology posted here: http://www.vasiljevski.com/forum/viewto ... f=34&t=709
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');