On my test system, the issue is caused by the use of Suhosin. In the
earlier versions mentioned above, the limit on the length of a POST
variable name and request variable in general are both 64 characters.

When the number of rows or the length of the action variable exceeds 64
characters, it is discarded by PHP and the JSON request is unable to do
anything.

The solution for my system was to set both

suhosin.request.max_varname_length = 128
suhosin.post.max_name_length = 128

in /etc/php5/conf.d/suhosin.ini.

In later versions of PHP, suhosin is uninstalled by default, causing the
problem to go away.

-- 
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/1236767

Title:
  Custom layouts aren't displayed properly and can't be created with
  more than 4 rows

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  I just tested the Mahara 1.8rc1, on a linux server with a MySQL DB. To
  view the site I am using a Mac OS Laptop with Chrome Version
  30.0.1599.69.

  When using the "create custom layout" feature I have multiple
  problems:

  - The preview only is displayed correctly for 1 - 3 rows, after adding the 
fourth row the preview doesn't update anymore
  - When adding a custom layout with up to 3 rows, the layout gets added to the 
other layout options. Adding a 4 row layout does work, but there is just a 
default thumb, not a picture of the layout.
  - Even though I can add up to 6 rows the adding of custom layouts with 5 or 6 
rows doesn't work at all.

  I attached a screenshot of the problems.

  Regards,
  Angela

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to