Browse Source

软件模型会员发布器缺失的错误

tags/6.2.11
tianya 10 months ago
parent
commit
12c2509e1d
4 changed files with 8 additions and 5 deletions
  1. +1
    -1
      src/install/index.php
  2. +1
    -1
      src/install/sql-dfdata.txt
  3. +4
    -1
      src/install/update.txt
  4. +2
    -2
      src/system/common.inc.php

+ 1
- 1
src/install/index.php View File

@@ -11,7 +11,7 @@ error_reporting(E_ALL || ~E_NOTICE);
define('INSLOCKFILE', dirname(__FILE__).'/install_lock.txt');
$verMsg = 'V6';
$dfDbname = 'DedeBIZ';
$cfg_version_detail = '6.2.10'; //详细版本号
$cfg_version_detail = '6.2.11'; //详细版本号
$errmsg = '';
if (version_compare(PHP_VERSION, '8.0.0', '>=') && function_exists("mysqli_report")) {
mysqli_report(MYSQLI_REPORT_OFF);


+ 1
- 1
src/install/sql-dfdata.txt View File

@@ -504,7 +504,7 @@ INSERT INTO `#@__area` VALUES ('1','北京市','0','0'),
INSERT INTO `#@__channeltype` VALUES ('1','article','文档模型','#@__archives','#@__addonarticle','article_add.php','content_list.php','article_edit.php','article_add.php','content_list.php','article_edit.php','<field:body itemname="文档" autofield="0" notsend="0" type="htmltext" isnull="true" islist="1" maxlength="" page="split">\t\n</field:body>\t\n','','','1','1','1','-1','','10','0','1','1','标题','0','0'),
('2','image','图片模型','#@__archives','#@__addonimages','album_add.php','content_i_list.php','album_edit.php','album_add.php','content_list.php','album_edit.php','<field:pagestyle itemname="页面风格" type="number" isnull="true" default="2" rename="" notsend="1" />\t\n<field:imgurls itemname="图片集合" type="img" isnull="true" rename="" page="split" />\t\n<field:body itemname="图集文档" autofield="0" notsend="0" type="htmltext" isnull="true" islist="0" maxlength="255" page=""></field:body>','','','1','1','1','-1','','10','0','1','1','标题','0','0'),
('3','soft','软件模型','#@__archives','#@__addonsoft','soft_add.php','content_i_list.php','soft_edit.php','','','','<field:filetype islist="1" itemname="文件类型" type="text" isnull="true" rename="" />\t\n<field:language islist="1" itemname="语言" type="text" isnull="true" rename="" />\t\n<field:softtype islist="1" itemname="软件类型" type="text" isnull="true" rename="" />\t\n<field:accredit islist="1" itemname="授权方式" type="text" isnull="true" rename="" />\t\n<field:os islist="1" itemname="操作系统" type="text" isnull="true" rename="" />\t\n<field:softrank islist="1" itemname="软件等级" type="int" isnull="true" default="3" rename="" function="GetRankStar(@me)" notsend="1" />\t\n<field:officialUrl itemname="官方网址" type="text" isnull="true" rename="" />\t\n<field:officialDemo itemname="演示网址" type="text" isnull="true" rename="" />\t\n<field:softsize itemname="软件大小" type="text" isnull="true" rename="" />\t\n<field:softlinks itemname="软件网址" type="softlinks" isnull="true" rename="" />\t\n<field:introduce itemname="详细介绍" type="htmltext" isnull="trnue" rename="" />\t\n<field:daccess islist="1" itemname="下载级别" type="int" isnull="true" default="0" rename="" function="" notsend="1" />\t\n<field:needmoney islist="1" itemname="需要金币" type="int" isnull="true" default="0" rename="" function="" notsend="1" />','filetype,language,softtype,os,accredit,softrank','','1','1','1','-1','','10','0','1','1','标题','0','0'),
('3','soft','软件模型','#@__archives','#@__addonsoft','soft_add.php','content_i_list.php','soft_edit.php','soft_add.php','content_list.php','soft_edit.php','<field:filetype islist="1" itemname="文件类型" type="text" isnull="true" rename="" />\t\n<field:language islist="1" itemname="语言" type="text" isnull="true" rename="" />\t\n<field:softtype islist="1" itemname="软件类型" type="text" isnull="true" rename="" />\t\n<field:accredit islist="1" itemname="授权方式" type="text" isnull="true" rename="" />\t\n<field:os islist="1" itemname="操作系统" type="text" isnull="true" rename="" />\t\n<field:softrank islist="1" itemname="软件等级" type="int" isnull="true" default="3" rename="" function="GetRankStar(@me)" notsend="1" />\t\n<field:officialUrl itemname="官方网址" type="text" isnull="true" rename="" />\t\n<field:officialDemo itemname="演示网址" type="text" isnull="true" rename="" />\t\n<field:softsize itemname="软件大小" type="text" isnull="true" rename="" />\t\n<field:softlinks itemname="软件网址" type="softlinks" isnull="true" rename="" />\t\n<field:introduce itemname="详细介绍" type="htmltext" isnull="trnue" rename="" />\t\n<field:daccess islist="1" itemname="下载级别" type="int" isnull="true" default="0" rename="" function="" notsend="1" />\t\n<field:needmoney islist="1" itemname="需要金币" type="int" isnull="true" default="0" rename="" function="" notsend="1" />','filetype,language,softtype,os,accredit,softrank','','1','1','1','-1','','10','0','1','1','标题','0','0'),
('-1','spec','专题模型','#@__archives','#@__addonspec','spec_add.php','content_s_list.php','spec_edit.php','','','','<field:note type="specialtopic" isnull="true" rename="" />','','','1','1','0','-1','','10','0','1','1','标题','0','0'),
('-8','infos','分类模型','#@__archives','#@__addoninfos','archives_sg_add.php','content_sg_list.php','archives_sg_edit.php','archives_sg_add.php','content_sg_list.php','archives_sg_edit.php','<field:channel itemname="栏目id" autofield="0" notsend="0" type="int" isnull="true" islist="1" default="0" maxlength="10" page=""></field:channel>\t\n<field:arcrank itemname="浏览权限" autofield="0" notsend="0" type="int" isnull="true" islist="1" default="0" maxlength="5" page=""></field:arcrank>\t\n<field:mid itemname="会员id" autofield="0" notsend="0" type="int" isnull="true" islist="1" default="0" maxlength="8" page=""></field:mid>\t\n<field:click itemname="点击" autofield="0" notsend="0" type="int" isnull="true" islist="1" default="0" maxlength="10" page=""></field:click>\t\n<field:title itemname="标题" autofield="0" notsend="0" type="text" isnull="true" islist="1" default="0" maxlength="60" page=""></field:title>\t\n<field:senddate itemname="发布时间" autofield="0" notsend="0" type="int" isnull="true" islist="1" default="0" maxlength="10" page=""></field:senddate>\t\n<field:flag itemname="推荐属性" autofield="0" notsend="0" type="checkbox" isnull="true" islist="1" default="0" maxlength="10" page=""></field:flag>\t\n<field:litpic itemname="缩略图" autofield="0" notsend="0" type="text" isnull="true" islist="1" default="0" maxlength="60" page=""></field:litpic>\t\n<field:userip itemname="会员IP" autofield="0" notsend="0" type="text" isnull="true" islist="0" default="0" maxlength="15" page=""></field:userip>\t\n<field:lastpost itemname="最后评论时间" autofield="0" notsend="0" type="int" isnull="true" islist="1" default="0" maxlength="10" page=""></field:lastpost>\t\n<field:scores itemname="评论积分" autofield="0" notsend="0" type="int" isnull="true" islist="1" default="0" maxlength="8" page=""></field:scores>\t\n<field:goodpost itemname="好评数" autofield="0" notsend="0" type="int" isnull="true" islist="1" default="0" maxlength="8" page=""></field:goodpost>\t\n<field:badpost itemname="差评数" autofield="0" notsend="0" type="int" isnull="true" islist="1" default="0" maxlength="8" page=""></field:badpost>\t\n<field:nativeplace itemname="地区" autofield="1" notsend="0" type="stepselect" isnull="true" islist="1" default="0" maxlength="255" page="">\t\n</field:nativeplace>\t\n<field:infotype itemname="信息类型" autofield="1" notsend="0" type="stepselect" isnull="true" islist="1" default="0" maxlength="255" page="">\t\n</field:infotype>\t\n<field:body itemname="信息文档" autofield="1" notsend="0" type="htmltext" isnull="true" islist="0" maxlength="255" page="">\t\n</field:body>\t\n<field:endtime itemname="截止日期" autofield="1" notsend="0" type="datetime" isnull="true" islist="1" maxlength="255" page="">\t\n</field:endtime>\t\n<field:linkman itemname="联系人" autofield="1" notsend="0" type="text" isnull="true" islist="0" maxlength="50" page="">\t\n</field:linkman>\t\n<field:tel itemname="联系电话" autofield="1" notsend="0" type="text" isnull="true" islist="0" maxlength="50" page="">\t\n</field:tel>\t\n<field:email itemname="邮箱" autofield="1" notsend="0" type="text" isnull="true" islist="0" maxlength="50" page="">\t\n</field:email>\t\n<field:address itemname="地址" autofield="1" notsend="0" type="text" isnull="true" islist="0" maxlength="100" page="">\t\n</field:address>\t\n','channel,arcrank,mid,click,title,senddate,flag,litpic,lastpost,scores,goodpost,badpost,nativeplace,infotype,endtime','','-1','1','1','-1','','0','0','0','1','信息标题','0','0');


+ 4
- 1
src/install/update.txt View File

@@ -125,4 +125,7 @@ ALTER TABLE `#@__member` ADD COLUMN `user_money` decimal(10, 2) UNSIGNED NULL DE

-- 6.2.7
ALTER TABLE `#@__arctype` ADD COLUMN `apienabled` tinyint UNSIGNED NULL DEFAULT 0 AFTER `smalltypes`,ADD COLUMN `apikey` varchar(64) NULL AFTER `apienabled`;
ALTER TABLE `#@__member` ADD COLUMN `pmid` INT(8) UNSIGNED NULL DEFAULT 0 AFTER `user_money`;
ALTER TABLE `#@__member` ADD COLUMN `pmid` INT(8) UNSIGNED NULL DEFAULT 0 AFTER `user_money`;

-- 6.2.11
UPDATE `#@__channeltype` SET `useraddcon` = 'soft_add.php', `usermancon` = 'content_list.php', `usereditcon` = 'soft_edit.php' WHERE `id` = 3

+ 2
- 2
src/system/common.inc.php View File

@@ -7,7 +7,7 @@
* @link https://www.dedebiz.com
*/
//系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用
define('DEDEBIZ_SAFE_MODE', TRUE);
define('DEDEBIZ_SAFE_MODE', FALSE);
//生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试
if (!defined('DEDE_ENVIRONMENT')) {
define('DEDE_ENVIRONMENT', 'production');
@@ -192,7 +192,7 @@ $cfg_soft_dir = $cfg_medias_dir.'/soft';
$cfg_other_medias = $cfg_medias_dir.'/media';
//软件摘要信息,请不要删除,否则系统无法正确接收系统漏洞或升级信息
$cfg_version = 'V6';
$cfg_version_detail = '6.2.10';//详细版本号
$cfg_version_detail = '6.2.11';//详细版本号
$cfg_soft_lang = 'utf-8';
$cfg_soft_public = 'base';
$cfg_softname = '得德系统';


Loading…
Cancel
Save