[fixed] Fatal error in global setif CMSMailer is uninstalled

The members of the Dev team will place issues here that they consider to be solved.
Post Reply
hoshy

[fixed] Fatal error in global setif CMSMailer is uninstalled

Post by hoshy »

If you uninstall CMSMailer you cannot access the global settings anymore.
See this bugreport: http://dev.cmsmadesimple.org/bug/view/6925
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Fatal error in global settings if CMSMailer is uninstall

Post by calguy1000 »

Fixed in svn.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
hoshy

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

Post 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.
Post Reply

Return to “Closed Issues”