Page 1 of 1

Fatal error: Cannot redeclare class menumanager in

Posted: Fri Aug 18, 2006 7:28 pm
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

Re: Fatal error: Cannot redeclare class menumanager in

Posted: Sat Aug 19, 2006 4:03 am
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

Re: Fatal error: Cannot redeclare class menumanager in

Posted: Sat Aug 19, 2006 10:56 am
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

Re: Fatal error: Cannot redeclare class menumanager in

Posted: Sat Aug 19, 2006 5:07 pm
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.

Re: Fatal error: Cannot redeclare class menumanager in

Posted: Sat Aug 19, 2006 7:55 pm
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.