Installing custom mod on 7.2 error issue

Fatal error: Call to undefined method BxCustomInstaller::addHtmlFields() in /home/public_html/website/modules/boonex/custom/install/installer.php on line 30


I have a custom version of groups module that I am trying to install on 7.2, basically just a renamed groups module.

After trying to do basic install I get the error above.

Any ideas what would need changing to make this work with 7.2?

Quote · 13 Sep 2015

noticed also after attempting to install this module (not installed, still shows as uninstalled in manage modules'

in admin - members, I now have a message running across the middle of screen that was not there before!

 

<div style="width: 80%">You are not currently an active member. Please ask the site <a href="mailto:{7}">administrator</a> to make you an active member so you can use this feature.</div>


this is when logged in as admin.

doesnt look like it could be related to the failed module install in any way, but this was not there before trying to install it!

Quote · 13 Sep 2015

tell a lie, 2nd error appears on any install of D7.2 I do...

Quote · 13 Sep 2015

lets try starting at the beginning - how exactly did you make your clone of the Groups module?

caredesign.net
Quote · 13 Sep 2015

 

<div style="width: 80%">You are not currently an active member. Please ask the site <a href="mailto:{7}">administrator</a> to make you an active member so you can use this feature.</div>

This certainly isn't from stock Dolphin. I remember a customer having this issue, and it was caused by a third-party module. Can't remember which one, but run a search for that text.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 13 Sep 2015

the 2nd 'error'/glitch is a 3rd party module. Thats ones isolated so I know what causes it.

the other one, was a clone of 'groups' module, albeit from 7.1.6 simply renamed throughout as something else.

Fully working on previous version.

Just need to figure out what needs to be changed in old version of 'groups' in order to be able to install it and run it on 7.2...

Quote · 13 Sep 2015

You need to modify install/installer.php file in the module, by removing or commenting out the following lines:

    function install($aParams)
    {

        ...

        // $this->addHtmlFields (array ('POST.desc', 'REQUEST.desc'));
        // $this->updateEmailTemplatesExceptions ();

        ...

    }

    function uninstall($aParams)
    {

        ...

        // $this->removeHtmlFields ();
        // $this->updateEmailTemplatesExceptions ();

        ...

    }
Rules → http://www.boonex.com/terms
Quote · 13 Sep 2015

thanks, will give that a try later

 

Quote · 14 Sep 2015

worked a treat thanks.

Quote · 19 Sep 2015

I just encountered this same issue as well.  Came here and found the solution, THANKS Alex.

Although this is a fix, but I was wondering exactly why does that line need to be commented out?  For better understanding purposes? 

Or anybody?

Ultra Newb reporting for duty.
Quote · 12 Mar 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.