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
G2mod error
Re: G2mod error
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
.
With version 0.13 loggermanager is deactivated in CMSms so these lines have nothing to do

Re: G2mod error
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:
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 }
Last edited by Reggie on Thu Jun 22, 2006 10:10 am, edited 1 time in total.
Re: G2mod error
Please look here - in attachment you will found a patched g2mod file - it works ...
http://forum.cmsmadesimple.org/index.ph ... l#msg27687
http://forum.cmsmadesimple.org/index.ph ... l#msg27687
Re: G2mod error
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
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