← Back to team overview

mahara-contributors team mailing list archive

[Bug 1474659] Re: Leap2a: import/leap/lib.php:1117 unserialize: Error at offset 65512 of 65535 bytes"

 

To test:

1. Install Mahara using MySQL.

2. Create a page that has text content greater than 65 KB. (There is a
limit of 65KB of text per text field in Mahara. So the easiest way to do
this, is to put two Text blocks on the page, and put 50 KB into each
one.)

3. Export the page to leap2a.

4. Try to import the leap2a file back into your portfolio.

Expected result: You should be able to import it

Actual result: The import process will error out once you get past the
interactive step.

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

Title:
  Leap2a: import/leap/lib.php:1117 unserialize: Error at offset 65512 of
  65535 bytes"

Status in Mahara:
  In Progress
Status in Mahara 1.10 series:
  Won't Fix
Status in Mahara 1.9 series:
  Won't Fix
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  In Progress

Bug description:
  This bug was reported by Kwantlen Polytechnic.

  The problem they were experiencing was that some leap2a files error
  out when they're attempted to be imported. With error-reporting turned
  on, the same message is always present:

  [WAR] f7 (import/leap/lib.php:1117) unserialize(): Error at offset 65512 of 65535 bytes
  Call stack (most recent first): 
  log_message("unserialize(): Error at offset 65512 of 65535 byte...", 8, true, true, "/var/www/mahara-15.04.1/import/leap/lib.php", 1117) at /var/www/mahara-15.04.1/lib/errors.php:441
  error(8, "unserialize(): Error at offset 65512 of 65535 byte...", "/var/www/mahara-15.04.1/import/leap/lib.php", 1117, array(size 5)) at Unknown:0
  unserialize("a:11:{s:5:"title";s:40:"Occupational health and sa...") at /var/www/mahara-15.04.1/import/leap/lib.php:1117
  PluginImportLeap->render_import_entry_requests() at /var/www/mahara-15.04.1/import/leap/lib.php:269
  PluginImportLeap->build_import_entry_requests_form() at /var/www/mahara-15.04.1/import/index.php:225
  print_import_items_form() at /var/www/mahara-15.04.1/import/index.php:73

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


References