Page 1 of 1
G2mod error
Posted: Wed Jun 21, 2006 3:58 pm
by Reggie
I installed the G2mod, and installed gallery2 in the cms directory.
Now when I want to setup G2mod I get the following error:
Fatal error: Undefined class name 'loggermanager' in /home/netbits/domains/devernieling.be/public_html/beta/modules/G2Mod/G2Mod.module.php on line 194
I can't find any info about this error in cmsms :s
Re: G2mod error
Posted: Thu Jun 22, 2006 4:42 am
by cyberman
Go to g2mod module line 194 - there you can read something about loggermanager. You must only set // to the first of the line. Then it will works. If I'm right there's another such line too.
With version 0.13 loggermanager is deactivated in CMSms so these lines have nothing to do

.
Re: G2mod error
Posted: Thu Jun 22, 2006 10:08 am
by Reggie
wow thnx ! That made the admin section work.
Now when I visit the gallery I get an error concerning the line beneith. I guess it has something to do with the "embedding path", I just entered '/../../gallery2', is that correct ? I have filled in the relative path, the path to embed.php, but what is the embedding path ?
The error:
Fatal error: Call to a member function on a non-object in /home/netbits/domains/devernieling.be/public_html/beta/modules/G2Mod/G2Mod.module.php on line 87
The line:
Code: Select all
82 //$log =& LoggerManager::getLogger('G2Mod.module.php');
83 //$log->debug('openGallery2');
84
85 $ret = GalleryEmbed::init(array('embedUri' => 'index.php?page='.$page, embedPath => $g2_embedding, 'relativeG2Path' => $g2_relative,
86 'loginRedirect' => null, 'activeUserId' => null));
87 if($ret->isError())
88 {
89 $ret->getAsHtml();
90 exit;
91 }
Re: G2mod error
Posted: Sat Jul 08, 2006 11:58 am
by quadracer
Please look here - in attachment you will found a patched g2mod file - it works ...
http://forum.cmsmadesimple.org/index.ph ... l#msg27687
Re: G2mod error
Posted: Mon Jul 10, 2006 12:47 am
by kevin360
With the modfied version I'm getting the same error stated above:
Fatal error: Call to a member function on a non-object in
/usr/local/apache2/htdocs/cmstest/modules/G2Mod/G2Mod.module.php on line 87
I can go to the G2Mod admin screen and the relative path and relative path to embed.php are set, the embedding path is blank. Should that be set to something?
Thanks,
Kevin