Illustration of connected portfolio elements

Portfolios for your
learning community

Try out Mahara

Create portfolios

Using Mahara, students and staff create their personal learning stories by uploading evidence of activities they have participated in, and embedding publicly accessible content they have previously put online. They can write reflections on their experiences that frame this evidence, map it to competencies or registration requirements, and provide necessary context.

Mahara can be used for many different portfolio purposes, such as study, professional development, work-integrated learning, assessment, showcase and presentation, and employability.

Learn about the portfolio options

Illustration of a person with their portfolio
Illustration of a paper airplane representing sharing

Share work

Mahara allows portfolios to be shared flexibly with one person, a specific group of people, or the entire world. Access can be further restricted to a particular time frame or just within an assessment task.

Find out about sharing portfolios

Engage with others

Mahara makes it easy to comment and give feedback. Portfolios can also be submitted to learning management systems via LTI (Learning Tools Interoperability) for marking.

Groups in Mahara allow people to create portfolios collaboratively and engage in forum discussions.

Learn about collaborating in Mahara

Illustration of a group of people collaborating
Illustration of a podcast logo

Listen to portfolio stories

In our podcast 'Create. Share. Engage.' portfolio practitioners, researchers, learning designers, and portfolio authors share their journey. Learn how they navigate the many different facets of portfolios in general, and Mahara specifically.

Listen on the podcast website or in your favourite app

Mahara Community

Skins not applied after 19.10.3 upgrade

Patric Lougheed's profile picture
Patric Lougheed
Posts: 97
06 May 2020, 7:19

Skins are very popular on my instance and after my recent upgrade it appears they no longer work.

[WAR] ab (skin/style.php:82) Undefined index: view_block_header_font
Call stack (most recent first):
* log_message("Undefined index: view_block_header_font", 8, true, true, "/var/www/skin/style.php", 82) at /var/www/lib/errors.php:521
* error(8, "Undefined index: view_block_header_font", "/var/www/skin/style.php", 82, array(size 68)) at /var/www/skin/style.php:82

[WAR] ab (lib/errors.php:859) Failed to get a recordset: postgres8 error: [-2: ERROR: syntax error at or near "LIMIT"
[WAR] ab (lib/errors.php:859) LINE 1: SELECT * FROM "skin_fonts" WHERE "name" = ? LIMIT 2
[WAR] ab (lib/errors.php:859) ^] in EXECUTE("SELECT * FROM "skin_fonts" WHERE "name" = ? LIMIT 2")Command was: SELECT * FROM "skin_fonts" WHERE "name" = ?
Call stack (most recent first):
* log_message("Failed to get a recordset: postgres8 error: [-2: E...", 8, true, true) at /var/www/lib/errors.php:95
* log_warn("Failed to get a recordset: postgres8 error: [-2: E...") at /var/www/lib/errors.php:859
* SQLException->__construct("Failed to get a recordset: postgres8 error: [-2: E...") at /var/www/lib/dml.php:540
* get_recordset_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", false, -1, 2) at /var/www/lib/dml.php:359
* get_record_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", array(size 0), 1) at /var/www/lib/dml.php:328
* get_record("skin_fonts", "name", null) at /var/www/lib/skin.php:584
* Skin::get_css_font_family_from_font_name(null) at /var/www/skin/style.php:82

[WAR] ab (lib/dml.php:540) Failed to get a recordset: postgres8 error: [-2: ERROR: syntax error at or near "LIMIT"
[WAR] ab (lib/dml.php:540) LINE 1: SELECT * FROM "skin_fonts" WHERE "name" = ? LIMIT 2
[WAR] ab (lib/dml.php:540) ^] in EXECUTE("SELECT * FROM "skin_fonts" WHERE "name" = ? LIMIT 2")Command was: SELECT * FROM "skin_fonts" WHERE "name" = ?
Call stack (most recent first):
* get_recordset_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", false, -1, 2) at /var/www/lib/dml.php:359
* get_record_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", array(size 0), 1) at /var/www/lib/dml.php:328
* get_record("skin_fonts", "name", null) at /var/www/lib/skin.php:584
* Skin::get_css_font_family_from_font_name(null) at /var/www/skin/style.php:82

[WAR] ab (lib/pieforms/pieform.php:1617) Pieform element login_login_password wants to add headdata to the page, but it's too late. Build your form before generating the page.
Call stack (most recent first):
* log_message("Pieform element login_login_password wants to add ...", 8, true, true) at /var/www/lib/errors.php:95
* log_warn("Pieform element login_login_password wants to add ...") at /var/www/lib/pieforms/pieform.php:1617
* Pieform->build_element_html(array(size 10)) at /var/www/lib/pieforms/pieform.php:724
* Pieform->build() at /var/www/lib/pieforms/pieform.php:173
* Pieform::process(array(size 7)) at /var/www/lib/mahara.php:5441
* pieform(array(size 7)) at /var/www/auth/lib.php:2493
* auth_generate_login_form() at /var/www/lib/web.php:175
* smarty(array(size 0), array(size 0), array(size 0), array(size 1)) at /var/www/lib/errors.php:682
* MaharaException->handle_exception() at /var/www/lib/errors.php:547
* exception(object(SQLException)) at Unknown:0

Robert Lyon's profile picture
Robert Lyon
Posts: 822
06 May 2020, 10:59

Re: Skins not applied after 19.10.3 upgrade

Hi Patric,

Ah there looks to be an issue with using skins in the old format in 19.10+ sites

I've added a patch to fix this issue in master

https://reviews.mahara.org/#/c/10957/

Once that passes there will be a patch for 19.10 / 20.04

But if you need this fixed now one thing you can do is simply edit / save the skin again and it will be updated

Cheers

Robert