找回密码
 开放注册

QQ登录

只需一步,快速开始

微信登录

微信扫码,快速开始

通达OA官网网站
搜索
查看: 1158|回复: 3

错误,请联系管理员 文件:/general/approve_center/new/edit.php

[复制链接]

18

主题

8

回帖

159

牛毛

游客

积分
185
发表于 2020-2-10 21:59:00 | 显示全部楼层 |阅读模式
新建流程出现下面错误:

错误,请联系管理员  文件:/general/approve_center/new/edit.php


ds.jpg

0

主题

2104

回帖

3905

牛毛

游客

积分
6009
QQ
发表于 2020-2-11 17:00:26 | 显示全部楼层
您好,到服务器OA安装目录MYOA/logs下 看下mysql_error是否有最新的报错信息,建议把报错信息截图发下

18

主题

8

回帖

159

牛毛

游客

积分
185
 楼主| 发表于 2020-2-12 19:35:23 | 显示全部楼层
[2020-02-10 21:53:07]
错误#1067: Invalid default value for 'data_m367'
SQL语句: create table if not exists bpm_data_25 (
                `id` int(10) not null auto_increment,
                `run_id` int(10) not null default 0,
                `run_name` varchar(200) not null default '',
                `begin_user` varchar(20) not null default '',
                `begin_time` datetime not null default '0000-00-00 00:00:00',
                `flow_auto_num` int(10) not null default 0,
                `flow_auto_num_year` int(10) not null default 0,
                `flow_auto_num_month` int(10) not null default 0,`data_m367` text not null default null,`data_m368` varchar(100) default null,`data_m369` varchar(100) default null,`data_m370` varchar(100) default null,primary key(id),
                unique key(run_id) );
文件:/general/approve_center/new/edit.php?FLOW_ID=25&AUTO_NEW=1

[2020-02-10 21:53:44]
错误#1067: Invalid default value for 'data_m367'
SQL语句: create table if not exists bpm_data_25 (
                `id` int(10) not null auto_increment,
                `run_id` int(10) not null default 0,
                `run_name` varchar(200) not null default '',
                `begin_user` varchar(20) not null default '',
                `begin_time` datetime not null default '0000-00-00 00:00:00',
                `flow_auto_num` int(10) not null default 0,
                `flow_auto_num_year` int(10) not null default 0,
                `flow_auto_num_month` int(10) not null default 0,`data_m367` text not null default null,`data_m368` varchar(100) default null,`data_m369` varchar(100) default null,`data_m370` varchar(100) default null,primary key(id),
                unique key(run_id) );
文件:/general/approve_center/new/edit.php?FLOW_ID=25&AUTO_NEW=1

[2020-02-10 23:06:39]
错误#1067: Invalid default value for 'data_m367'
SQL语句: create table if not exists bpm_data_25 (
                `id` int(10) not null auto_increment,
                `run_id` int(10) not null default 0,
                `run_name` varchar(200) not null default '',
                `begin_user` varchar(20) not null default '',
                `begin_time` datetime not null default '0000-00-00 00:00:00',
                `flow_auto_num` int(10) not null default 0,
                `flow_auto_num_year` int(10) not null default 0,
                `flow_auto_num_month` int(10) not null default 0,`data_m367` text not null default null,`data_m368` varchar(100) default null,`data_m369` varchar(100) default null,`data_m370` varchar(100) default null,primary key(id),
                unique key(run_id) );
文件:/general/approve_center/new/edit.php?FLOW_ID=25&AUTO_NEW=1

0

主题

2104

回帖

3905

牛毛

游客

积分
6009
QQ
发表于 2020-2-13 17:05:16 | 显示全部楼层
cuiweizhi 发表于 2020-2-12 19:35
[2020-02-10 21:53:07]
错误#1067: Invalid default value for 'data_m367'
SQL语句: create table if not  ...

您好,建议您进OA数据库 找到bpm_data_25表,把data_m367 字段类型修改为varchar格式的。
您需要登录后才可以回帖 登录 | 开放注册

本版积分规则

咨询电话:400 818 0505 通达OA,国内协同管理软件行业内唯一的央企单位,中国协同OA软件的领跑者,优秀协同办公解决方案供应商

帮助|Archiver|小黑屋|通信管理局专项备案号:[2008]238号|由NB5牛论坛提供技术支持NB5社区 ( 皖ICP备08004151号;皖公网安备34010402700514号 )

GMT+8, 2025-4-28 06:37 , Processed in 0.225264 second(s), 47 queries .

Powered by Discuz

Copyright © 2001-2025, 北京通达信科科技有限公司.

快速回复 返回顶部 返回列表