← Back to team overview

mahara-contributors team mailing list archive

[Bug 1287262] Re: unable to create group home page

 

Oh, right, you're on Mahara 1.8.1, and that gerrit patch is on master
(Mahara 1.9dev), which has other changes to view.php that are not
compatible with 1.8.1.

I will attach to this comment, a copy of the 1.8.1 view.php with this
patch applied to it. Please try that.

Cheers,
Aaron

** Attachment added: "Patched Mahara 1.8.1 view.php"
   https://bugs.launchpad.net/mahara/+bug/1287262/+attachment/4010455/+files/view.php

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1287262

Title:
  unable to create  group home page

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 1.8 series:
  Confirmed
Status in Mahara 1.9 series:
  In Progress

Bug description:
  mahara version 1.8.1
  mysql 5.6
  Since upgrading from 1.7.2 to 1.8.1 we are unable to create new group home pages. After selecting 'create group', adding a group and selecting 'save group', the 'About' tab displays 'A nonrecoverable error occurred.' the error log displays:

  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7] [WAR] ba (lib/view.php:2725) Unknown view layout (id=), referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7] Call stack (most recent first):, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->get_layout() at /data/mahara-vhosts/v181/lib/view.php:1776, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->build_column_datastructure(1, false) at /data/mahara-vhosts/v181/lib/view.php:1828, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->get_column_datastructure(1, 1) at /data/mahara-vhosts/v181/lib/view.php:1911, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->build_column(1, 1, false) at /data/mahara-vhosts/v181/lib/view.php:1886, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->build_columns(1, false) at /data/mahara-vhosts/v181/lib/view.php:1871, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7]   * View->build_rows() at /data/mahara-vhosts/v181/group/view.php:68, referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php
  [Mon Mar 03 16:46:57 2014] [error] [client 128.40.192.7] , referer: https://v181.myportfolio-dev.ucl.ac.uk/group/edit.php

  If I select the 'my groups' tab, the group is displayed but I get the
  same error message if I try and edit it. If I select the group, the
  same error is displayed on the 'about' tab but all other tabs work
  correctly.

  I suspect that something went wrong during the upgrade, although no error messages were reported in the error log. 9 new tables were created and the correct schema changes appear to have been applied according to the lib/db/upgrade.php. We didn't test creating groups on our uat instance before upgrading production and have now rolled back production to 1.7.2. However the problem exists on our dev and uat environments and we won't upgrade production until we can fix it on dev and uat. The dev and uat databases are a clone of production. I'm not sure if it's worth mentioning but the auto-increment is set to 2 on production and 1 on dev and uat. I'm wondering if something is going wrong during the upgrade when the new tables are populated. 
  Please let me know if I can provide any more information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1287262/+subscriptions


References