Forums | Mahara Community
Extensions:Plugin:module:framework mahara 17.04
20 June 2017, 5:15 AM
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
[Tue Jun 06 15:34:14.808503 2017] [:error] [pid 29856] [client ***.***.**.**:63008] [INF] 65 (admin/upgrade.json.php:90) - module.framework
Is there any special procedure for installing the framework module?
Thanks in advance and have a great day!
20 June 2017, 8:42 AM
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?
21 June 2017, 1:54 AM
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
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.
23 June 2017, 6:49 AM
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 220.127.116.11: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 18.104.22.168: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 22.214.171.124: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.
23 June 2017, 9:40 AM
There should be 4 framework related templates that live at:
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
24 June 2017, 4:35 AM
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: