Upgrade to 1.8.18 - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: Installation and Upgrades Support (https://community.mybb.com/forum-182.html) +--- Thread: Upgrade to 1.8.18 (/thread-219388.html) Pages:
1
2
|
Upgrade to 1.8.18 - Ashley1 - 2018-08-23 I am getting this Fatal error: Uncaught Error: Call to undefined function my_hash_equals() in /usr/.../inc/functions_forumlist.php:145 Stack trace: #0 /usr/.../inc/functions_forumlist.php(154): build_forumbits('1', 2) #1 /usr/..../index.php(421): build_forumbits() #2 {main} thrown in /usr/..../inc/functions_forumlist.php on line 145 on my test board upgrading from .17 to .18 Does anyone else get the same ? RE: Upgrade to 1.8.18 - Wires - 2018-08-23 This issue has been pushed to GitHub already - https://github.com/mybb/mybb/issues/3409. It looks like the changes are going to be reverted. RE: Upgrade to 1.8.18 - Euan T - 2018-08-23 Hi, I've pushed a PR for this but haven't had time to test it: https://github.com/mybb/mybb/pull/3413 RE: Upgrade to 1.8.18 - Ashley1 - 2018-08-23 Notwithstanding this error, for those with custom themes, these are the notes I made while testing on my test board: These are the templates that you need to go check against the default ones and make changes accordingly: editpost error_nopermission forumdisplay_inlinemoderation member_lostpw newreply newthread post_attachments_new post_javascript postbit_edit postbit_multiquote postbit_quickdelete postbit_quickrestore postbit_quote private_send_autocomplete search_results_posts_inlinemoderation search_results_threads_inlinemoderation showthread showthread_inlinemoderation showthread_printthread showthread_ratethread also global.css adds at approx line 1330 .postbit_qrestore, .status_type{ display:none!important; } .deleted_post .postbit_qrestore, .deleted_post .status_type{ display:inline!important; } .deleted_post .postbit_mirage{ display:none!important; } RE: Upgrade to 1.8.18 - Euan T - 2018-08-23 Note that the above templates are also listed in the release notes: https://mybb.com/versions/1.8.18/ RE: Upgrade to 1.8.18 - Ashley1 - 2018-08-23 (2018-08-23, 06:52 PM)Euan T Wrote: Hi, I've pushed a PR for this but haven't had time to test it: https://github.com/mybb/mybb/pull/3413 I have applied these changes (5 files) and the errors have disappeared. RE: Upgrade to 1.8.18 - gimbal - 2018-08-25 Forgive my ignorance - is it recommended that everyone change the 5 files posted by Euan on github, and also add the code to global.css, after running the 1.8.18 upgrade script?? Will you be making these changes part of the update files that are downloaded and installed, or upgrade script? RE: Upgrade to 1.8.18 - Wires - 2018-08-25 Bare in mind that the changes made by Euan (in the PR) may still needing testing as with most (if not all) other PRs. The changes made will be merged into 1.8.19 and released as an Upgrade. As the changes do not alter the database this PR is as simple as just overwriting the old files. The upgrade script is used to make changes to the database. RE: Upgrade to 1.8.18 - Serpius - 2018-08-25 (2018-08-23, 08:35 PM)Ashley1 Wrote:I'm not a coder, so can you give me (and others) the incorrect lines with the corrected lines in the appropriate files?(2018-08-23, 06:52 PM)Euan T Wrote: Hi, I've pushed a PR for this but haven't had time to test it: https://github.com/mybb/mybb/pull/3413 Like a 'Before Correction' and 'After Correction' kind of thing. RE: Upgrade to 1.8.18 - Wires - 2018-08-25 Add the following to ../inc/functions.php:
In ../inc/functions_archive.php, find the following (around line 264):
Replace with:
In ../inc/functions_forumlist.php, find the following (around line 145):
Replace with:
In ../inc/functions_search.php, find the following (around line 128):
Replace with:
In ../inc/functions_user.php, find and remove the following:
|