Fatal error: Cannot redeclare class menumanager in

General project discussion. NOT for help questions.
Post Reply
EwedaMaan
Forum Members
Forum Members
Posts: 14
Joined: Fri Aug 18, 2006 7:20 pm

Fatal error: Cannot redeclare class menumanager in

Post by EwedaMaan »

Hi I have installed the latest version and set up the database but have run into some trouble,

firstly I was getting Cannot redeclare class fckeditorx, so I checked out this post http://forum.cmsmadesimple.org/index.ph ... 000.0.html and deleted the duplicate FCKeditorX rows.

Now here is the error message I am getting

Fatal error: Cannot redeclare class menumanager in D:\hshome\quingbs\quinonline.com\cmsmadesimple\modules\MenuManager\MenuManager.module.php on line 21

I have changed the config.php file to no avail, here is the current path section
#-------------
#Path Settings
#-------------

#Document root as seen from the webserver.  No slash at the end
#e.g. http://blah.com
$config['root_url'] = 'http://www.quinonline.com';

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/quingbs/quinonline.com/cmsmadesimple';

#Name of the admin directory
$config['admin_dir'] = '/admin';

#Where do previews get stored temporarily?  It defaults to tmp/cache.
$config['previews_path'] = 'D:/hshome/quingbs/quinonline.com/cmsmadesimple/tmp/cache';

#Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = 'D:/hshome/quingbs/quinonline.com/cmsmadesimple/uploads';

#Where is the url to this uploads directory?
$config['uploads_url'] = 'http://www.quinonline.com/cmsmadesimple/uploads';

Would appreciate any help I can get.
Thanks
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Fatal error: Cannot redeclare class menumanager in

Post by Elijah Lofgren »

EwedaMaan wrote: Hi I have installed the latest version and set up the database but have run into some trouble,

firstly I was getting Cannot redeclare class fckeditorx, so I checked out this post http://forum.cmsmadesimple.org/index.ph ... 000.0.html and deleted the duplicate FCKeditorX rows.

Now here is the error message I am getting

Fatal error: Cannot redeclare class menumanager in D:\hshome\quingbs\quinonline.com\cmsmadesimple\modules\MenuManager\MenuManager.module.php on line 21
Maybe all your modules got installed twice. I would try deleting any duplicate "MenuManager" rows like you did with FCKeditorX
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
EwedaMaan
Forum Members
Forum Members
Posts: 14
Joined: Fri Aug 18, 2006 7:20 pm

Re: Fatal error: Cannot redeclare class menumanager in

Post by EwedaMaan »

ok so I checked and all the modules were in twice so no I deleted them and I am getting this error message

Fatal error: Smarty error: [in template:4 line 8]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 580) in D:\hshome\quingbs\quinonline.com\cmsmadesimple\lib\smarty\Smarty.class.php on line 1095

I have changed the config.php alot and no difference. Here is the current settings
-------------
#Path Settings
#-------------

#Document root as seen from the webserver.  No slash at the end
#e.g. http://blah.com
$config['root_url'] = 'http://www.quinonline.com/cmsmadesimple';

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/quingbs/quinonline.com/cmsmadesimple';

#Name of the admin directory
$config['admin_dir'] = '/admin';

#Where do previews get stored temporarily?  It defaults to tmp/cache.
$config['previews_path'] = '/quingbs/quinonline.com/cmsmadesimple/tmp/cache';

#Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = '/quingbs/quinonline.com/cmsmadesimple/uploads';

#Where is the url to this uploads directory?
$config['uploads_url'] = 'http://www.quinonline.com/cmsmadesimple/uploads';

I can access the admin section no problems http://www.quinonline.com/cmsmadesimple/admin/

Thanks again
Piratos

Re: Fatal error: Cannot redeclare class menumanager in

Post by Piratos »

title is a small plugin in the folder plugins with the name function.title.php.

if you have this deleted the error comes.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Fatal error: Cannot redeclare class menumanager in

Post by Elijah Lofgren »

EwedaMaan wrote: ok so I checked and all the modules were in twice so no I deleted them and I am getting this error message

Fatal error: Smarty error: [in template:4 line 8]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 580) in D:\hshome\quingbs\quinonline.com\cmsmadesimple\lib\smarty\Smarty.class.php on line 1095
Piratos wrote: title is a small plugin in the folder plugins with the name function.title.php.

if you have this deleted the error comes.
As Piratos says make sure that you have uploaded all the files in the "plugins" directory. It could be that somehow not all the files were uploaded.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Post Reply

Return to “General Discussion”