Page 1 of 1

[fixed] Some external modules do not work after the update

Posted: Sun Apr 02, 2017 5:43 pm
by esmiran
After the update of CMS 2.1.6 to 2.2 beta2 not work some installed modules:
MultiDomain module:
Fatal error: Call to undefined method CMSMS\Database\mysqli\Connection::GetAssoc() in /var/www/ksb/modules/MultiDomains/MultiDomains.module.php on line 688

CGActionBar module:
Notice: Undefined index: cms_admin_username in /var/www/ksb/modules/CGActionBar/CGActionBar.module.php on line 160

FAQ module:
Fatal error: Call to undefined method CMSMS\Database\mysqli\Connection::Qmagic() in /var/www/ksb/modules/FAQ/lib/class.FAQ_utils.php on line 138

Re: Some external modules do not work after the update

Posted: Sun Apr 02, 2017 7:20 pm
by calguy1000
I've fixed the issue in the database abstraction library with the obscure missing methods.

And fixed the issue in CGActionBar where I was using a session property that I should not have been. There is an API function to handle that.

Thanks

Re: [fixed] Some external modules do not work after the upda

Posted: Mon Apr 03, 2017 7:05 am
by esmiran
Well done. Where I can download the corrected code?
Thank you very much.

Re: [fixed] Some external modules do not work after the upda

Posted: Mon Apr 03, 2017 9:11 am
by Rolf
esmiran wrote:Well done. Where I can download the corrected code?
Thank you very much.
Will be available in the next beta release to test.