Forums | Mahara Community

Support /
Extensions:Plugin:module:framework mahara 17.04


John King's profile picture
Posts: 8

20 June 2017, 5:15

Hi,

We are trying to install and enable the framework module plugin using mahara 17.04. The first attempt at installing the module resulted in an undesired state. The plugin appeared to install correctly and appeared as "installed" from the admin portal, however when accessing the tab that is created after the plugin was installed returned a non recoverable system error.

 

I reviewed the apache error logs at the time the module was installed and noted the following:

[Tue Jun 06 15:34:14.247667 2017] [authz_core:debug] [pid 29856] mod_authz_core.c(809): [client ***.***.**.**.13:63008] AH01626: authorization result

 of Require all granted: granted, referer: https://example.ca/admin/extensions/plugins.php

[Tue Jun 06 15:34:14.247680 2017] [authz_core:debug] [pid 29856] mod_authz_core.c(809): [client ***.***.**.**.13:63008] AH01626: authorization result

 of <RequireAny>: granted, referer: https://example.ca/admin/extensions/plugins.php

[Tue Jun 06 15:34:14.688422 2017] [:error] [pid 29856] [client  ***.***.**.**:63008] [DBG] 65 (module/framework/lib.php:43) Add a foreign key on co

llection.framework to framework.id, referer: https://example.ca/admin/extensions/plugins.php

[Tue Jun 06 15:34:14.808503 2017] [:error] [pid 29856] [client  ***.***.**.**:63008] [INF] 65 (admin/upgrade.json.php:90) - module.framework       

        1.0.3 (2016101400), referer: https://example.ca/admin/extensions/plugins.php

 

Is there any special procedure for installing the framework module?

Thanks in advance and have a great day!

 

Regards,

Johnking

Kristina Hoeppner's profile picture
Posts: 4717

20 June 2017, 8:42

Hello John,

Did you install a fresh Mahara 17.04 or are you upgrading from a previous version? What is your operation system and database and version?

Thank you

Kristina

 

John King's profile picture
Posts: 8

21 June 2017, 1:54

Hi,

 

Thank you for your quick response! It was a fresh install. Here is the information you requested:

 

Operating System Ubuntu 16.04 LTS

Database: Postgresql 9.5

Apache: 2.4.18

PHP: 7.0

 

We also have customized themes however I believe the framework plugin module is related to the core mahara software, correct?

 

Let me know if there is any other information you need.

 

Regards,

 

Johnking

John King's profile picture
Posts: 8

23 June 2017, 6:49

Hi again,

 

Just to add some more information concerning the framework module, there is another error in apache that maybe a little more revealing as to the problem. I am not 100% sure what the error means however some of you folks may have run into the same error.

 

[Thu Jun 22 12:42:57.664826 2017] [:error] [pid 2469] [client 142.244.161.137:55273] [WAR] b9 (lib/errors.php:536) [Dwoo_Exception]: Template "frameworks.tpl" could not be found in any of your include path(s), referer: https://example.ca/admin/extensions/plugins.php

[Thu Jun 22 12:42:57.664845 2017] [:error] [pid 2469] [client 142.244.161.137:55273] Call stack (most recent first):, referer: https://example.ca/admin/extensions/plugins.php

[Thu Jun 22 12:42:57.664848 2017] [:error] [pid 2469] [client 142.244.161.137:55273]   * exception(object(Dwoo_Exception)) at Unknown:0, referer: https://example.ca/admin/extensions/plugins.php

 

This error is repetitive after the framework module is installed and the SmartEvidence tab is clicked at the top of the plugin administration page.

 

Any help would be greatly appreciated.

 

Regards,

johnking

Robert Lyon's profile picture
Posts: 749

23 June 2017, 9:40

Hi John,

There should be 4 framework related templates that live at:
 
htdocs/theme/raw/plugintype/module/framework/templates/

They are:
frameworks.tpl
noviewmatrix.tpl     
matrix.tpl
uploadframework.tpl

See: https://git.mahara.org/mahara/mahara/tree/master/htdocs/theme/raw/plugintype/module/framework/templates

Can you check that those files exist?

If you are using a different / custom theme does your theme have 'raw' as parent theme?

$theme->parent      = 'raw';

For example: https://git.mahara.org/mahara/mahara/blob/master/htdocs/theme/ocean/themeconfig.php

Cheers

Robert

John King's profile picture
Posts: 8

24 June 2017, 4:35

Hi Robert,

 

Thank you very much! My issue is now resolved. Unfortunately our developers here did not let me know exactly all the directories they touched concerning their customizations so I had to be careful when implementing the new 17.04 code. As it turns out once I copied:

framework
lti
mobileapi 
 
into htdocs/theme/raw/plugintype/module the module began working as expected.
 
Regards,
 
johnking
6 results