mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #31038
[Bug 1474659] Re: Leap2a: import/leap/lib.php:1117 unserialize: Error at offset 65512 of 65535 bytes"
Corrected the SQL query in my previous comment (now hidden):
To anyone out there who is running a Mahara 15.04 or earlier site, and can't yet upgrade to 15.10, you may find it tricky to cherry-pick that patch, because it increments the core version.php database version.
The easiest way to fix an existing 15.04 or earlier site, is to alter
the table definition directly, with this query:
ALTER TABLE import_entry_requests MODIFY COLUMN entrycontent LONGTEXT;
--
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:
Fix Committed
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:
Fix Released
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