2010-04-27, 11:18 AM
Hi,
we are using MyBB as discussion board for a site. We are creating Categories and Forums, forum permissions, user groups, users, moderators, etc into MyBB from the website. Means we are controlling MyBB from that site. After few days, now we are getting some error with datacache table. Forums are creating in MyBB but users are not getting permissions for those forums. Right now we have 113 records in mybb_usergroups table. And the size of the Sql backup file for MyBB is about 3MB. If we are updating MyBB database with old backups then it is working for some days, then after again same problem is coming. Here is the error....
Fatal error: [SQL] [2006] MySQL server has gone away
REPLACE INTO mybb_datacache SET
We tried so many alternatives but we are unable to solve this issue. Can anyone please help me to solve this issue....
-Ravi.
we are using MyBB as discussion board for a site. We are creating Categories and Forums, forum permissions, user groups, users, moderators, etc into MyBB from the website. Means we are controlling MyBB from that site. After few days, now we are getting some error with datacache table. Forums are creating in MyBB but users are not getting permissions for those forums. Right now we have 113 records in mybb_usergroups table. And the size of the Sql backup file for MyBB is about 3MB. If we are updating MyBB database with old backups then it is working for some days, then after again same problem is coming. Here is the error....
Fatal error: [SQL] [2006] MySQL server has gone away
REPLACE INTO mybb_datacache SET
title
='forumpermissions',cache
='a:949:{i:0;i:0;i:1065;a:3:{i:177;a:17:{s:3:\"pid\";s:3:\"782\";s:3:\"fid\";s:4:\"1065\";s:3:\"gid\";s:3:\"177\";s:7:\"canview\";s:1:\"1\";s:14:\"canviewthreads\";s:1:\"1\";s:16:\"candlattachments\";s:1:\"1\";s:14:\"canpostthreads\";s:1:\"1\";s:13:\"canpostreplys\";s:1:\"1\";s:18:\"canpostattachments\";s:1:\"1\";s:14:\"canratethreads\";s:1:\"0\";s:12:\"caneditposts\";s:1:\"0\";s:14:\"candeleteposts\";s:1:\"0\";s:16:\"candeletethreads\";s:1:\"0\";s:18:\"caneditattachments\";s:1:\"0\";s:12:\"canpostpolls\";s:1:\"0\";s:12:\"canvotepolls\";s:1:\"1\";s:9:\"cansearch\";s:1:\"1\";}i:178;a:17:{s:3:\"pid\";s:3:\"783\";s:3:\"fid\";s:4:\"1065\";s:3:\"gid\";s:3:\"178\";s:7:\"canview\";s:1:\"1\";s:14:\"canviewthreads\";s:1:\"1\";s:16:\"candlattachments\";s:1:\"1\";s:14:\"canpostthreads\";s:1:\"1\";s:13:\"canpostreplys\";s:1:\"1\";s:18:\"canpostattachments\";s:1:\"1\";s:14:\"canratethreads\";s:1: in E:\www\testingsrvr\mybb\inc\db_mysql.php on line 548We tried so many alternatives but we are unable to solve this issue. Can anyone please help me to solve this issue....
-Ravi.