MyBB Community Forums
1.6.3 update issue - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: 1.6.3 update issue (/thread-92404.html)

Pages: 1 2 3 4 5


1.6.3 update issue - Diminished - 2011-04-17

Hi,

When I tried to update to 1.6.3, I got to 'Upgrade Complete' and got this:

Upgrade Complete
Fatal error: [SQL] [2006] MySQL server has gone away
SELECT value, name FROM mybb_settings ORDER BY title ASC in /home/protectf/public_html/inc/db_mysqli.php on line 557

Just thought it should be made apparent.

Thanks.




RE: 1.6.3 update issue - crazy4cs - 2011-04-17

Try re-uploading

.inc/db_mysqli.php again from a fresh install.

(backup the original file before re-uploading.)


RE: 1.6.3 update issue - Diminished - 2011-04-17

(2011-04-17, 07:51 AM)crazy4cs Wrote: Try re-uploading

.inc/db_mysqli.php again from a fresh install.

(backup the original file before re-uploading.)

I've already updated, just ignored the message.




RE: 1.6.3 update issue - Tim B. - 2011-04-17

There is some documentation of the error code here http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

Given that several people have upgraded their boards without experiencing this problem I would suggest it was caused by one of the host related issues listed there.


RE: 1.6.3 update issue - Diminished - 2011-04-17

Finally, I can install MyBB on localhost now!


RE: 1.6.3 update issue - linguist - 2011-04-17

After the update, the "mark all forms read" function gives me an error (wrong auth code). Sad


RE: 1.6.3 update issue - Tomm M - 2011-04-17

Make sure you've ran the "Find Updated Templates" via the ACP Templates area. You'll need to update headerinclude, index_boardstats and forumdisplay_threadlist with the changes made them in.

This is to prevent a CSRF vulnerability.

If you have "mark all forums read" links anywhere else, simply add the following:

misc.php?action=markread&my_post_key={$mybb->post_code}



RE: 1.6.3 update issue - crazy4cs - 2011-04-17

same, a bug I guess:

Quote:Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.



RE: 1.6.3 update issue - Diminished - 2011-04-17

Glad Tomm M pointed out the templates needed to be updated, I just uploaded the changed files, browsed to /install and ran through it, didn't revert anything, updated all 3 templates now!


RE: 1.6.3 update issue - crazy4cs - 2011-04-17

I don't get what to do?

Reverse default theme templates? Or the one we using?