| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 13486|Reply: 20
Collapse the left

Table 'common_member_archive'doesn't exist error

[Copy link]
Post time: 2013-08-31 22:21
| Show all posts |Read mode
Hello Friends
I get this error when i want upate cahce(i upgaraded X2.5ML to X3ML),


(1146) Table 'gigascie_discuz.common_member_archive' doesn't existSELECT COUNT(*) FROM common_member_archive

PHP Debug
No.FileLineCode
1admin.php57require(%s)
2source/admincp/admincp_tools.php36updatecache()
3source/function/function_cache.php26call_user_func(%s)
4

build_cache_userstats()
5source/function/cache/cache_userstats.php16discuz_container->count()
6source/function/cache/cache_userstats.php16discuz_container->__call(%s, Array)
7source/class/discuz/discuz_container.php58table_common_member->count()
8source/class/table/table_common_member.php172discuz_container->count(%d)
9source/class/table/table_common_member.php172discuz_container->__call(%s, Array)
10source/class/discuz/discuz_container.php59table_common_member_archive->count(%d)
11source/class/table/table_common_member_archive.php48discuz_database::result_first(%s, Array)
12source/class/discuz/discuz_database.php117discuz_database::query(%s, Array, false, false)
13source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
14source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)
15source/class/db/db_driver_mysql.php218break()





when i searched net, i saw same error in many forums and also in Discuz.net, and one solution for it:
http://www.discuz.net/thread-3308414-1-1.html
http://www.verydz.com/help/thread-1067-1-1.html
http://www.discuzthai.com/thread-35788-1-1.html
http://www.discuz.net/thread-3320160-1-1.html
http://www.cnzhanzhang.com/thread-946108-1-1.html
http://www.discuz.net/thread-3068200-1-1.html

Solution is:
In phpmyadmin forum database SQL, execute the following statement:
DELETE FROM `pre_common_setting` WHERE `skey` = 'membersplit';
  1. DELETE FROM `pre_common_setting` WHERE `skey` = 'membersplit';
Copy the Code


Now,
I ran that query in my database and checked manualy in pre_common_setting, there was not any skey` = 'membersplit' in tables.
But, problem not solved and error was shown, when i want update cache!
+++++++++++++++++++++++++++++++++++++++++++++


This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2013-09-01 10:15
| Show all posts
Try to discover the 'pre_common_syscache' with phpmyadmin.
Find the record with "cname:='settings'
Download the "data" field value to your local computer as binary file.
Open the downloaded file with a text editor.
Find, if 'membersplit' exists there?

 Author| Post time: 2013-09-01 10:24
| Show all posts
Edited by mj1919 at 2013-9-1 11:45
vot 2013-9-1 11:15
Try to discover the 'pre_common_syscache' with phpmyadmin.
Find the record with "cname:='settings'
D ...

Thank you, But after doing first post solution, and cleaning web browser cache , SOLVED!

+++++++++++++++++

PS:
i so confused!
error shown again!
 Author| Post time: 2013-09-01 10:52
| Show all posts
Edited by mj1919 at 2013-9-1 12:03
vot 2013-9-1 11:15
Try to discover the 'pre_common_syscache' with phpmyadmin.
Find the record with "cname:='settings'
D ...

i didn't find membersplit , in exported file.

 Russia

Post time: 2013-09-01 11:18
| Show all posts
mj1919 2013-9-1 11:52
i didn't find membersplit , in exported file.

Ok, then try to export as SQL the next tables to your local computer:
pre_common_cache
pre_common_syscache
pre_common_setting

 Author| Post time: 2013-09-01 11:25
| Show all posts
vot 2013-9-1 12:18
Ok, then try to export as SQL the next tables to your local computer:
pre_common_cache
pre_common_ ...

two first= No
but in third row, pre_common_setting , i have ('membersplit', '1'),

 Russia

Post time: 2013-09-01 11:41
| Show all posts
My opinion:
I do not like to store any cache in a database. I think it is a wrong solution.
That is why I recommend to set in your config_global.php:
  1. // ---------------------------  CONFIG CACHE  --------------------------- //
  2. $_config['cache']['type'] = 'file';
Copy the Code
 Author| Post time: 2013-09-01 12:04
| Show all posts
vot 2013-9-1 12:41
My opinion:
I do not like to store any cache in a database. I think it is a wrong solution.
That is  ...

i changed as:
  1. // ---------------------------  CONFIG CACHE  --------------------------- //
  2. $_config['cache']['type'] = 'file';
Copy the Code
and checked, but not solved!



Again, i ran this query:
  1. DELETE FROM `pre_common_setting` WHERE `skey` = 'membersplit';
Copy the Code
and checked update cache (config_global changed to new one), but same ERROR!!!

 Russia

Post time: 2013-09-01 15:55
| Show all posts
My suggestion:
Try to execute the next SQL query:
  1. CREATE TABLE pre_common_member_archive (
  2.   uid int(11) unsigned NOT NULL AUTO_INCREMENT,
  3.   email varchar(255) NOT NULL DEFAULT '',
  4.   username varchar(255) NOT NULL DEFAULT '',
  5.   `password` varchar(255) NOT NULL DEFAULT '',
  6.   `status` tinyint(1) NOT NULL DEFAULT '0',
  7.   emailstatus tinyint(1) NOT NULL DEFAULT '0',
  8.   avatarstatus tinyint(1) NOT NULL DEFAULT '0',
  9.   videophotostatus tinyint(1) NOT NULL DEFAULT '0',
  10.   adminid tinyint(1) NOT NULL DEFAULT '0',
  11.   groupid int(11) unsigned NOT NULL DEFAULT '0',
  12.   groupexpiry int(11) unsigned NOT NULL DEFAULT '0',
  13.   extgroupids varchar(255) NOT NULL DEFAULT '',
  14.   regdate int(11) unsigned NOT NULL DEFAULT '0',
  15.   credits int(11) NOT NULL DEFAULT '0',
  16.   notifysound tinyint(1) NOT NULL DEFAULT '0',
  17.   timeoffset varchar(255) NOT NULL DEFAULT '',
  18.   newpm int(11) unsigned NOT NULL DEFAULT '0',
  19.   newprompt int(11) unsigned NOT NULL DEFAULT '0',
  20.   accessmasks tinyint(1) NOT NULL DEFAULT '0',
  21.   allowadmincp tinyint(1) NOT NULL DEFAULT '0',
  22.   onlyacceptfriendpm tinyint(1) NOT NULL DEFAULT '0',
  23.   conisbind tinyint(1) unsigned NOT NULL DEFAULT '0',
  24.   PRIMARY KEY (uid),
  25.   UNIQUE KEY username (username),
  26.   KEY email (email),
  27.   KEY groupid (groupid),
  28.   KEY conisbind (conisbind)
  29. ) TYPE=MyISAM;
Copy the Code
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-21 17:56 GMT+3 , Processed in 0.085894 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list