You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will likely only see this on large DB upgrades. One cause of this is that, although the upgrader tries to chunk up its work into smaller pieces, sometimes the pieces are still too big. Reducing the size of the $limit used for that step fixes the issue.
When the upgrader reports an undefined function allowedTo(), that means the true error is obfuscated. This error gets reported during the error reporting process for the previous error... 🙄
Flagging for 2.1.5 as this is an easy fix. Should likely change all of the $limit = 100000;
to: $limit = 10000;
100K inserts/updates is a pretty big bite. Small forums, no problem, you likely don't run into the limits. But you sure might for bigger forums on smaller servers...
Steps to reproduce
Upgrade a forum on a shared server (lower memory settings) with hundreds of thousands of board or topic watches to migrate...
Description
You will likely only see this on large DB upgrades. One cause of this is that, although the upgrader tries to chunk up its work into smaller pieces, sometimes the pieces are still too big. Reducing the size of the $limit used for that step fixes the issue.
When the upgrader reports an undefined function allowedTo(), that means the true error is obfuscated. This error gets reported during the error reporting process for the previous error... 🙄
Flagging for 2.1.5 as this is an easy fix. Should likely change all of the
$limit = 100000;
to:
$limit = 10000;
100K inserts/updates is a pretty big bite. Small forums, no problem, you likely don't run into the limits. But you sure might for bigger forums on smaller servers...
Steps to reproduce
Environment (complete as necessary)
Additional information/references
From the forum:
https://www.simplemachines.org/community/index.php?msg=4152131
The text was updated successfully, but these errors were encountered: