mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #27838
[Bug 1474659] A change has been merged
Reviewed: https://reviews.mahara.org/4963
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/2b5b8da70b8ba5f257123de26828fe314b800efe
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit 2b5b8da70b8ba5f257123de26828fe314b800efe
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date: Wed Jul 15 17:41:01 2015 +1200
Increase the size of the Leap2a entrycontent column (Bug 1474659)
In MySQL, the default "text" column size is 65kB. Because this column
can hold the serialized text from several other columns, it needs to
be larger than that. Setting it to "big" generates a "longtext", which
is 4GB.
This change has no effect in Postgres. Postgres has only one text
size (unlimited). The XMLDB generator is smart enough that it
recognizes this and doesn't run any SQL in this case.
Change-Id: Ic26f0eb3d3c3181fdcaf8729373ca87b6ecc9c8d
--
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 Committed
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