Post by GarfNo17 » Wed Dec 24, 2014 11:33 pm

I have an extension that is looking for is failing on 2.0.1.1 (it's meant to be 2.0.1.x compatible).

I have been in touch with the writers and they say that getModule() is part of the core 2.0.1.1 code. I can't find any reference to a function by that name anywhere.

I see that other people have had issues with this function when upgrading from 1.5x but this is a new install.
Anyone want to point me in the direction of where it is, or how it's called as I am at a loss? I have already had to copy a ton of work from 2.0.0.0 to 2.0.1.1 and change a bucket load of things.

Newbie

Posts

Joined
Wed Nov 19, 2014 5:47 am

Post by Selective555 » Thu Dec 25, 2014 12:02 am

The only things in the Admin are

Extensions > Extension Installer
Extensions > Modifications
Extensions > Modules

If what you need isn't on one of those three pages, then it doesn't exist.

Try the Extension Installer, then after you upload it, go to Modifications and refresh it so it becomes active. You should then see it in Modules if it is a Module.

Active Member

Posts

Joined
Wed Nov 26, 2014 1:29 pm

Post by dabomb59404 » Thu Dec 25, 2014 12:27 am

The getModule() function is in this file: admin/model/extension/module.php

User avatar
Active Member

Posts

Joined
Thu Jun 09, 2011 5:21 am

Post by GarfNo17 » Sun Dec 28, 2014 8:29 pm

Cheers for the info.

I have managed to find it now (I was being a bit stupid)

I have a call of
$this->model_extension_module->getModule($VALUE)

If I take the functions content and put them into the call I then it works. So the model_extension_module I presume is not resolving properly and hence it can't find it. I guess I am missing a reference to the module or is there anyway of altering this value or is there something that makes it reset it?

Cheers in advance

Newbie

Posts

Joined
Wed Nov 19, 2014 5:47 am
Who is online

Users browsing this forum: No registered users and 61 guests