Error messages on Save - whats happening?

Admiror Gallery is free extension for Joomla! 1.6. Joomla! 1.7 and Joomla! 2.5 based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
wildplanet
Posts: 1
Joined: Sun Mar 17, 2013 2:35 am

Error messages on Save - whats happening?

#1 Post 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 -

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Error messages on Save - whats happening?

#2 Post 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');
Help Admiror Gallery become even better,
give us a review on JED

Post Reply