Page 1 of 1

[fixed] Fatal error in global setif CMSMailer is uninstalled

Posted: Thu Oct 06, 2011 8:57 am
by hoshy
If you uninstall CMSMailer you cannot access the global settings anymore.
See this bugreport: http://dev.cmsmadesimple.org/bug/view/6925

Re: Fatal error in global settings if CMSMailer is uninstall

Posted: Thu Oct 06, 2011 2:51 pm
by calguy1000
Fixed in svn.

Re: [fixed] Fatal error in global setif CMSMailer is uninsta

Posted: Thu Oct 06, 2011 5:20 pm
by hoshy
Well, it works as long as you have at least one core module installed.
Can't you just create a "dummy object" like this:

Code: Select all

$mod = new CMSModule();
$smarty->assign('mod',$mod);
(tested -> works)
As i can see it is just about the tabs.
So there should be no need of a real active installed module here.

Or just take the first module that can be found no matter if a core module or not. But this assumes that you will have at least one module installed. Though I cannot imagine that someone has no modules installed IMHO the functionality of the global settings should not depend on any module.