What to do if the basic parameters of the dede background system are blank

Sometimes when the database is restored, the basic parameters of the dream weaving system will not be displayed. This situation may be caused by the missing corresponding table. If it is confirmed that only this table has a problem, you can perform the following operations:

Restore the dede_sysconfig table

Backend system-SQL command line tool, execute the following sql

delete table dede_sysconfig;
CREATE TABLE IF NOT EXISTS dede_sysconfig (
aid smallint(8) unsigned NOT NULL DEFAULT ‘0’,
varname varchar(20) NOT NULL DEFAULT ‘’,
info varchar(100) NOT NULL DEFAULT ‘’,
groupid smallint(6) NOT NULL DEFAULT ‘1’,
type varchar(10) NOT NULL DEFAULT ‘string’,
value text,
PRIMARY KEY (varname)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO dede_sysconfig (aid, varname, info, groupid, type, value) VALUES
(1, ‘cfg_basehost’, ‘站点根网址’, 1, ‘string’, ‘http://dede.com’),
(2, ‘cfg_cmspath’, ‘DedeCMS安装目录’, 2, ‘string’, ‘’),
(3, ‘cfg_cookie_encode’, ‘cookie加密码’, 2, ‘string’, ‘9g3W876rcT47RDEyPd37IOe5Pc9Q9R’),
(4,'cfg_indexurl','Web homepage link', 1,'string','/'),
(5,'cfg_backup_dir','Data backup directory (in the data directory)', 2,'string', ' backupdata'),
(6,'cfg_indexname','homepage link name', 1,'string','homepage'),
(7,'cfg_webname','site name', 1,'string','my website '),
(8,'cfg_adminemail','Website sending EMAIL', 2,'string','[email protected]'),
(9,'cfg_html_editor','Html editor (ckeditor, users who need fck You can go to the official website to download)', 2,'string','ckeditor'),
(10,'cfg_arcdir','Document HTML default save path', 1,'string','/a'),
(11,'cfg_medias_dir ','Picture/upload file default path', 1,'string','/uploads'),
(12,'cfg_ddimg_width','Thumbnail default width', 3,'number', '240'),
(13 ,'cfg_ddimg_height','Thumbnail default height', 3,'number', '180'),
(63,'cfg_album_width','Atlas default display picture size', 3,'number', '800') ,
(15,'cfg_imgtype','Picture viewer file type', 3,'string','jpg|gif|png'),
(16,'cfg_softtype','Software types allowed to upload', 3,'bstring' ,'zip|gz|rar|iso|doc|xsl|ppt|wps'),
(17,'cfg_mediatype','allowed multimedia file types', 3,'bstring','swf|mpg|mp3|rm| rmvb|wmv|wma|wav|mid|mov'),
(18,'cfg_specnote','The maximum number of nodes of the topic', 2,'number', '6'),
(19,'cfg_list_symbol','Column position The interval symbols', 2,'string', '>'),
(20,'cfg_notallowstr','Forbidden words (the system will directly stop user actions)
are separated by |, but do not add |', 5,'bstring at the end ','SARS|AIDS|Impotence'),
(21,'cfg_feedbackcheck','Comments and messages (yes/no) need to be reviewed', 5,'bool','N'),
(22,'cfg_keyword_replace', ' Keyword replacement (yes/no) using this function will affect the HTML generation speed', 2,'bool','Y'),
(23,'cfg_fck_xhtml','editor (yes/no) uses XHTML', 1, 'bool','N'),
(24,'cfg_df_style','Template default style', 1,'string','default'),
(25,'cfg_multi_site','(Yes/No) supports multi-sites. After enabling this option, the attachments, column links, and arclist content enable absolute URL', 2,'bool','N'),
(58,'cfg_rm_remote' ,'Remote picture localization', 7,'bool','Y'),
(27,'cfg_dede_log','(Yes/No) Open management log', 2,'bool','N'),
(28 ,'cfg_powerby','Website copyright information', 1,'bstring','Copyright © 2002-2011 DEDECMS. Dream weaving technology all rights reserved'),
(722,'cfg_jump_once','Does the jump URL directly jump? ( Otherwise, the transfer page will be displayed)', 7,'bool','Y'),
(723,'cfg_task_pwd','System scheduled task client permission password
(requires client, usually not too important)', 7,'string ',''),
(29,'cfg_arcsptitle','(Yes/No) Turn on the page title, turning it on will affect the speed of HTML generation', 6,'bool','N'),
(30,'cfg_arcautosp', ' (Yes/No) Turn on automatic paging of long articles', 6,'bool','N'),
(31,'cfg_arcautosp_size','Article automatic paging size (unit: K)', 6,'number', '5 '),
(32,'cfg_auot_description','Automatic summary length (0-250, 0 means not enabled)', 7,'number', '240'),
(33,'cfg_ftp_host','FTP host', 2,'string',''),
(34,'cfg_ftp_port','FTP port', 2,'number', '21'),
(35,'cfg_ftp_user ','FTP username', 2,'string',''),
(36,'cfg_ftp_pwd','FTP password', 2,'string',''),
(37,'cfg_ftp_root','website root Directory in FTP', 2,'string','/'),
(38,'cfg_ftp_mkdir','Whether to force FTP to create a directory', 2,'bool','N'),
(39,'cfg_feedback_ck ','Comment plus verification code to reconfirm', 5,'bool','Y'),
(40,'cfg_list_son','Does the parent list contain subcategory content?', 6,'bool','Y'),
(41,'cfg_mb_open','Whether to open the membership function', 4,'bool','N'),
(42,'cfg_mb_album','Whether to open the membership gallery function', 4,'bool','Y' ),
(43,'cfg_mb_upload','Whether members are allowed to upload non-picture attachments', 4,'bool','Y'),
(44,'cfg_mb_upload_size','Member upload file size (K)', 4, ' number', '1024'),
(45,'cfg_mb_sendall','Whether members are allowed to contribute to custom models', 4,'bool','Y'),
(46,'cfg_mb_rmdown','Whether to download the remote document specified by the member to the local', 4,'bool','Y'),
(47,'cfg_cli_time','Server time zone setting', 2,'number', '8'),
(48,'cfg_mb_addontype','Type of membership attachment permission', 4,'bstring','swf|mpg|mp3|rm|rmvb|wmv|
wma|wav|mid|mov|zip|rar |doc|xsl|ppt|wps'),
(49,'cfg_mb_max','Member attachment total size limit (MB)', 4,'number', '500'),
(20,'cfg_replacestr','Replace word (Words will be replaced with ***)
Separate with |, but don't add |', 5,'bstring','fuck|fuck|fucking|your mother|to die|bitch'),
( 719,'cfg_makeindex','Update the website homepage immediately after publishing the article', 6,'bool','N'),
(51,'cfg_keyword_like','Use keywords to connect articles', 6,'bool','N '),
(52,'cfg_index_max','The maximum number of indexed documents of the website homepage calling function.
Not applicable to websites
that often collect too much content in a single column. Do not enable this item. Set this value to 0.', 6,'number', '10000'),
(53,'cfg_index_cache','arclist tag call cache
(0 is not enabled, how many seconds is the value greater than 0)', 6,'number', '86400'),
(54,'cfg_tplcache','Whether to enable template caching', 6,'bool','Y'),
(55,'cfg_tplcache_dir','Template cache directory', 6,'string','/data/tplcache' ),
(56,'cfg_makesign_cache','Whether to use the call cache for publishing/modifying a single document', 6,'bool','N'),
(59,'cfg_arc_dellink','Delete non-site links', 7,'bool ','N'),
(60,'cfg_arc_autopic','Extract the first picture as a thumbnail', 7,'bool','Y'),
(61,'cfg_arc_autokeyword','Automatically extract keywords', 7,'bool','Y'),
(62,'cfg_title_maxlen','The maximum length of the document title
. You need to manually modify the data table after changing this parameter', 7,'number', '60'),
(64,'cfg_check_title ','Whether to detect duplicate titles when publishing documents', 7,'bool','Y'),
(65,'cfg_album_row','Atlas multi-row multi-column style default row number', 3,'number', ' 3'),
(66,'cfg_album_col','The default number of columns in the atlas multi-row and multi-column style', 3,'number', '4'),
(67,'cfg_album_pagesize','Atlas with multiple pages and multiple images per The maximum number of pages displayed', 3,'number', '12'),
(68,'cfg_album_style','Atlas default style
1 is multi-page and multi-image, 2 is multi-page single image, 3 is thumbnail list', 3,'number', '2'),
(69,'cfg_album_ddwidth','Atlas default thumbnail size', 3, 'number', '200'),
(70,'cfg_mb_notallow','member id not allowed to register', 4,'bstring','www,bbs,ftp,mail,user,users,admin,administrator'),
(71,'cfg_mb_idmin','User id minimum length', 4,'number', '3'),
(72,'cfg_mb_pwdmin','User password minimum length', 4,'number', '3'),
(73,'cfg_md_idurl','Whether to strictly limit the member login id to
allow members to use the second-level domain name must be set', 4,'bool','N'),
(74,'cfg_mb_rank','Registered member default level
[ Member rights management] View the number represented by the level', 4,'number', '10'),
(76,'cfg_feedback_time','At least the interval between two comments (seconds)', 5,'number', ' 30'),
(77,'cfg_feedback_numip','Maximum number of comments per IP in one hour', 5,'number', '30'),
(78,'cfg_md_mailtest','Whether to limit Email to only one account can be registered ', 4,'bool','N'),
(79,'cfg_mb_spacesta','membership permission activation status
(-10 Email verification -1 manual review, 0 no limit)', 4,'number','-10'),
(728,'cfg_mb_allowreg','Whether to allow new member registration', 4,'bool', ' Y'),
(729,'cfg_mb_adminlock','Whether to prohibit access to the administrator account space', 4,'bool','N'),
(81,'cfg_vdcode_member','Whether to use verification code for member submission', 5 ,'bool','Y'),
(83,'cfg_mb_cktitle','Whether member submissions detect duplicate titles', 5,'bool','Y'),
(84,'cfg_mb_editday','How long after submission Can no longer modify [天]', 5,'number', '7'),
(729,'cfg_sendarc_scores','Submission can earn points', 5,'number', '10'),
(88,'cfg_caicai_sub' ,'Deduction of
disliked article praise', 5,'number', '2'), (89,'cfg_caicai_add','Praise of disapproved article deduction', 5,'number', '2'),
(90 ,'cfg_feedback_add','Detailed positive comments can get positive ratings', 5,'number', '5'),
(91,'cfg_feedback_sub','Detailed negative comments minus positive ratings', 5,'number', '5' ),
(730,'cfg_sendfb_scores','Participate in comments to earn points', 5,'number', '3'),
(92,'cfg_search_max','Maximum number of search check documents', 6,'number', '50000'),
(93,'cfg_search_maxrc','Maximum number of search results returned', 6,'number', '300' ),
(94,'cfg_search_time','Search interval time (seconds/to all users of the site)', 6,'number', '3'),
(95,'cfg_baidunews_limit','The maximum number of Baidu news xml update news is 100 ', 8,'string', '100'),
(223,'cfg_smtp_port','smtp server port', 2,'string', '25'),
(221,'cfg_sendmail_bysmtp','Whether to enable smtp sending Mail', 2,'bool','Y'),
(222,'cfg_smtp_server','smtp server', 2,'string','smtp.qq.com'),
(224,'cfg_smtp_usermail','SMTP Server user email', 2,'string','[email protected]'),
(225,'cfg_smtp_user','SMTP server user account', 2,'string','desdev'),
( 226,'cfg_smtp_password','SMTP server user password', 2,'string', '7260444huxiao'),
(96,'cfg_updateperi','Baidu news xml update time (unit: minutes)', 8,'string', '15'),
(227,'cfg_online_type','online payment gateway type', 2,'string' ,'nps'),
(706,'cfg_upload_switch','Delete article files and delete related attachment files', 2,'bool','Y'),
(708,'cfg_rewrite','Whether to use pseudo-static', 2 ,'bool','N'),
(707,'cfg_allsearch_limit','Website global search time limit', 2,'string', '1'),
(709,'cfg_delete','Article Recycle Bin (Yes/ No) Open', 2,'bool','Y'),
(710,'cfg_keywords','site default keywords', 1,'string',''),
(711,'cfg_description','site description ', 1,'bstring',''),
(712,'cfg_beian','Website record number', 1,'string',''),
(713,'cfg_need_typeid2','Whether to enable sub-columns', 6 ,'bool','Y'),
(72,'cfg_mb_pwdtype','Foreground password verification type: default 32 — 32 bits md5, optional:
l16 — first 16 bits, r16 — last 16 bits, m16 — middle 16 bits ', 4,'string', '32'),
(716,'cfg_cache_type','id document ID, the final content of the content tag
(you must update the system cache after modifying this variable)', 6,'string','id'),
(717,'cfg_max_face','member upload profile picture Size limit (unit: KB)', 3,'number', '50'),
(718,'cfg_typedir_df','The column URL uses the directory name (the default page is not displayed, which is in the form of /a/abc/)', 2,'bool','Y'),
(719,'cfg_make_andcat','Update related columns immediately after publishing the article', 6,'bool','N'),
(720,'cfg_make_prenext','After publishing the article Update the next article immediately', 6,'bool','Y'),
(721,'cfg_feedback_forbid','Whether to ban all comments (will include banning likes, etc.)', 5,'bool','N'),
(724,'cfg_addon_domainbind','Whether the attachment directory is bound to the specified second-level domain name', 7,'bool','N'),
(725,'cfg_addon_domain','the second-level domain name of the attachment directory', 7, 'string',''),
(726,'cfg_df_dutyadmin','Default responsible editor (dutyadmin)', 7,'string','admin'),
(727,'cfg_mb_allowncarc','Whether to allow user space to display unaudited Article', 4,'bool','Y'),
(730,'cfg_mb_spaceallarc','Channel ID of all documents in the member space (not limited to 0)', 4,'number', '0'),
(731,'cfg_face_adds','Upload avatar to add points', 5 ,'number', '10'),
(732,'cfg_moreinfo_adds','Fill in details to increase points', 5,'number', '20'),
(733,'cfg_money_scores','How many points can be exchanged for one gold coin ', 5,'number', '50'),
(734,'cfg_mb_wnameone','Whether to allow user pseudonyms/nicknames to be repeated', 4,'bool','N'),
(735,'cfg_arc_dirname','whether It is allowed to use the directory as the document file name. The
document naming rule needs to be changed to: {typedir}/{aid}/index.html', 7,'bool','Y'),
(736,'cfg_puccache_time','The content needs to be cached globally Cache time (seconds)', 6,'number', '36000'),
(737,'cfg_arc_click','Document default clicks (-1 means random 50-200)', 7,'number','-1 '),
(738,'cfg_addon_savetype','Attachment save format (according to data function date parameter)', 3,'string','ymd'),
(739,'cfg_qk_uploadlit','Asynchronous upload of thumbnails (not enough space Stable users close this item)', 3,'bool','Y'),
(740,'cfg_login_adds','Login member center to earn points', 5,'number', '2'),
(741,'cfg_userad_adds','Member promotion earn points', 5,'number', '10') ,
(742,'cfg_ddimg_full','Does thumbnail use mandatory size (fill for background)', 3,'bool','N'),
(743,'cfg_ddimg_bgcolor','Thumbnail blank background fill color (0- White,1-Black)', 3,'number', '0'),
(744,'cfg_replace_num','The number of times the document content is replaced by the same keyword (0 is all replacement)', 7,'number', '2 '),
(745,'cfg_uplitpic_cut','Whether the crop box pops up immediately after uploading the thumbnail', 3,'bool','Y'),
(746,'cfg_album_mark','Whether the atlas uses a watermark (the small image is also Will be affected)', 3,'bool','N'),
(747,'cfg_mb_feedcheck','Do you need to review member feeds?', 4,'bool','N'),
(748,'cfg_mb_msgischeck', 'Does the membership status need to be reviewed?', 4,'bool','N'),
(749,'cfg_mb_reginfo','Registration needs to complete the detailed information', 4,'bool','Y'),
(750 ,'cfg_remote_site','Whether to enable remote site', 2,'bool','N'),
(751,'cfg_title_site','Whether to publish and edit documents remotely (on the premise of enabling remote sites)', 2,'bool','N'),
(752,'cfg_mysql_type','Database type (support mysql And mysqli)', 2,'string','mysql'),
(753,'cfg_sphinx_article','Whether to enable article full-text search function (sphinx server needs to be configured)', 7,'bool','N'),
( 754,'cfg_sphinx_host','Sphinx server host address', 7,'string','localhost'),
(755,'cfg_sphinx_port','Sphinx server port number', 7,'number', '9312'),
( 14,'cfg_domain_cookie','Domain names for sharing cookies across domains (for example: .dedecms.com)', 2,'string',''),
(756,'cfg_memcache_enable','Whether to enable memcache caching, if not ( N), use file cache by default', 6,'bool','N'),
(757,'cfg_memcache_mc_defa','default memcache cache server address', 6,'string','memcache://127.0.0.1: 11211/default127'),
(758,'cfg_memcache_mc_oth','Additional memcache cache server address', 6,'string',''),
(759,'cfg_cross_sectypeid','Support cross-column display sub-column content', 7,'bool','N'),
(760,'cfg_digg_update','Top step cache asynchronous update interval (0 means no cache)', 6,'number', '0'),
(761,'cfg_feedback_guest','Whether to allow anonymous comments', 5,'bool','N'),
(0,'cfg_disable_funs','Template engine disables PHP functions' , 7,'bstring','phpinfo,eval,exec,passthru,shell_exec,system,
proc_open, popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,file_put_contents'),
(0,'cfg_disable_tags','template engine disable tags', 7,'bstring','php');

Guess you like

Origin blog.csdn.net/a9490489/article/details/106745824