f4team-cn / f4pan

A website to get netdisk download link for users who cannot install the client
GNU Affero General Public License v3.0
355 stars 49 forks source link

接口不存在 不知道什么情况 #20

Closed ZTXBOSS666 closed 3 months ago

ZTXBOSS666 commented 3 months ago

{"code":-1,"message":"接口不存在","data":{"author":"F4Team","version":"1.1.2","installed":false,"github":"https:\/\/github.com\/f4team-cn\/f4pan","website":"https:\/\/www.f4team.cn\/"}}

ZTXBOSS666 commented 3 months ago

切换到PHP8.3 就提示
微信截图_20240814000739

Yincmewy commented 3 months ago

切换到PHP8.3 就提示
微信截图_20240814000739

还未安装,这个接口报错是正常的,下个版本会修复

ZTXBOSS666 commented 3 months ago

但是安装依旧提示报错

Yincmewy commented 3 months ago

但是安装依旧提示报错

#9

ZTXBOSS666 commented 3 months ago

但是安装依旧提示报错

#9

checkev 00a5f446-cf42-4bb4-bac7-f468709f19cd

Yincmewy commented 3 months ago

但是安装依旧提示报错

#9

checkev

install接口报错给我看install接口的返回 记得开debug

ZTXBOSS666 commented 3 months ago

但是安装依旧提示报错

#9

checkev

install接口报错给我看install接口的返回 记得开debug

{ "code": 10501, "message": "SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists", "traces": [ { "name": "think\db\exception\PDOException", "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php", "line": 842, "code": 10501, "message": "SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists", "trace": [ { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php", "line": 905, "function": "getPDOStatement", "class": "think\db\PDOConnection", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php", "line": 866, "function": "queryPDOStatement", "class": "think\db\PDOConnection", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php", "line": 706, "function": "pdoExecute", "class": "think\db\PDOConnection", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/app\/controller\/Install.php", "line": 162, "function": "execute", "class": "think\db\PDOConnection", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/app\/controller\/Install.php", "line": 150, "function": "initDb", "class": "app\controller\Install", "type": "->" }, { "function": "Install", "class": "app\controller\Install", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Container.php", "line": 330, "function": "invokeArgs", "class": "ReflectionMethod", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Container.php", "line": 363, "function": "invokeMethod", "class": "think\Container", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Callback.php", "line": 27, "function": "invoke", "class": "think\Container", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php", "line": 52, "function": "exec", "class": "think\route\dispatch\Callback", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Route.php", "line": 755, "function": "run", "class": "think\route\Dispatch", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 59, "function": "think\{closure}", "class": "think\Route", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 66, "function": "think\{closure}", "class": "think\Pipeline", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Route.php", "line": 754, "function": "then", "class": "think\Pipeline", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Http.php", "line": 208, "function": "dispatch", "class": "think\Route", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Http.php", "line": 198, "function": "dispatchToRoute", "class": "think\Http", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 59, "function": "think\{closure}", "class": "think\Http", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/middleware\/AllowCrossDomain.php", "line": 61, "function": "think\{closure}", "class": "think\Pipeline", "type": "->" }, { "function": "handle", "class": "think\middleware\AllowCrossDomain", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Middleware.php", "line": 134, "function": "call_user_func" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 85, "function": "think\{closure}", "class": "think\Middleware", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-trace\/src\/TraceDebug.php", "line": 71, "function": "think\{closure}", "class": "think\Pipeline", "type": "->" }, { "function": "handle", "class": "think\trace\TraceDebug", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Middleware.php", "line": 134, "function": "call_user_func" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 85, "function": "think\{closure}", "class": "think\Middleware", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 66, "function": "think\{closure}", "class": "think\Pipeline", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Http.php", "line": 197, "function": "then", "class": "think\Pipeline", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Http.php", "line": 162, "function": "runWithRequest", "class": "think\Http", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/public\/index.php", "line": 20, "function": "run", "class": "think\Http", "type": "->" } ], "source": { "first": 833, "source": [ " } else {\n", " if ($this->reConnectTimes < 4 && $this->isBreak($e)) {\n", " $this->reConnectTimes++;\n", "\n", " return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);\n", " }\n", " }\n", "\n", " if ($e instanceof \PDOException) {\n", " throw new PDOException($e, $this->config, $this->getLastsql());\n", " } else {\n", " throw $e;\n", " }\n", " }\n", " }\n", "\n", " \/*\n", " 执行语句.\n", " \n" ] } } ], "datas": { "PDO Error Info": { "SQLSTATE": "42S01", "Driver Error Code": 1050, "Driver Error Message": "Table 'svip' already exists" }, "Database Status": { "Error Code": 10501, "Error Message": "SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists", "Error SQL": "CREATE TABLE svip (\n id int(11) NOT NULL AUTO_INCREMENT COMMENT '账号ID',\n name varchar(255) NOT NULL COMMENT '用户名',\n state enum('0','-1') NOT NULL COMMENT '状态 0 正常 -1 不可使用',\n cookie varchar(2048) NOT NULL COMMENT '身份信息',\n-- local_state TEXT NOT NULL COMMENT 'local_state用户信息',\n-- access_token varchar(2048) NOT NULL COMMENT 'access_token',\n add_time int(11) NOT NULL COMMENT '添加时间',\n svip_end_time int(11) NOT NULL COMMENT 'SVIP过期时间',\n vip_type enum('普通用户','普通会员','超级会员') NOT NULL COMMENT 'VIP类型',\n PRIMARY KEY (id),\n INDEX idx_state (state)\n) ENGINE=InnoDB AUTO_INCREMENT=172 DEFAULT CHARSET=utf8mb4" }, "Database Config": { "type": "mysql", "hostname": "localhost", "database": "ztx", "hostport": "3306", "dsn": "", "params": [], "charset": "utf8", "prefix": "", "deploy": 0, "rw_separate": false, "master_num": 1, "slave_no": "", "read_master": false, "fields_strict": true, "fields_cache": false, "trigger_sql": true, "builder": "", "query": "", "break_reconnect": false, "break_match_str": [], "auto_param_bind": true } }, "tables": { "GET Data": [], "POST Data": { "admin_password": "123456", "fixed_key": "123456", "key_last_time": "300", "normal_cookie": "留空", "parse_ua": "netdisk", "real_url_last_time": "1800", "requires_key": "none", "db_hostname": "localhost", "db_port": "3306", "db_username": "ztx", "db_password": "55HMTZKbjop7", "db_database": "ztx", "redis_hostname": "localhost", "redis_port": "6379", "redis_password": "" }, "Files": null, "Cookies": { "d5448c507c5fa16620c5bc1d484544e4_ssl": "066a6727-6d21-4e6d-9719-dd5433e5b41f.1rK-l-NaaVSsLJyNgrmAqBMsmBc", "conterError": "", "_ga": "GA1.1.78333675.1723470064", "_ga_FC74BB2RGD": "GS1.1.1723486273.2.1.1723486369.0.0.0", "fifteen": "0.19", "one": "0.66", "five": "0.47", "mem-before": "358.14\/3.68 (GB)", "soft_type": "1", "p1": "2", "xp": "MTcyMzU2NDg2M3xEWDhFQVFMX2dBQUJFQUVRQUFBcF80QUFBUVp6ZEhKcGJtY01Dd0FKVTJGbVpVVnVkSEo1Qm5OMGNtbHVad3dJQUFaaE0yWmtaVEk9fKxZ4mh_hbMTF6xjXT_vEgbDFOnP6YkEAxnQ-I_Z5Day" }, "Session": [], "Server\/Request Data": { "USER": "www", "HOME": "\/home\/www", "HTTP_COOKIE": "d5448c507c5fa16620c5bc1d484544e4_ssl=066a6727-6d21-4e6d-9719-dd5433e5b41f.1rK-l-NaaVSsLJyNgrmAqBMsmBc; conterError=; _ga=GA1.1.78333675.1723470064; _ga_FC74BB2RGD=GS1.1.1723486273.2.1.1723486369.0.0.0; fifteen=0.19; one=0.66; five=0.47; mem-before=358.14\/3.68%20%28GB%29; soft_type=1; p1=2; xp=MTcyMzU2NDg2M3xEWDhFQVFMX2dBQUJFQUVRQUFBcF80QUFBUVp6ZEhKcGJtY01Dd0FKVTJGbVpVVnVkSEo1Qm5OMGNtbHVad3dJQUFaaE0yWmtaVEk9fKxZ4mh_hbMTF6xjXT_vEgbDFOnP6YkEAxnQ-I_Z5Day", "HTTP_ACCEPT_LANGUAGE": "zh-CN,zh;q=0.9", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_REFERER": "http:\/\/IP 隐藏:3917\/", "HTTP_ORIGIN": "http:\/\/IP 隐藏:3917", "HTTP_CONTENT_TYPE": "application\/x-www-form-urlencoded", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/118.0.0.0 Safari\/537.36", "HTTP_ACCEPT": "application\/json, text\/plain, \/*", "HTTP_CONTENT_LENGTH": "2874", "HTTP_CONNECTION": "keep-alive", "HTTP_HOST": "IP 隐藏:3917", "PATH_INFO": "", "REDIRECT_STATUS": "200", "SERVER_NAME": "IP 隐藏", "SERVER_PORT": "3917", "SERVER_ADDR": "IP 隐藏", "REMOTE_PORT": "29490", "REMOTE_ADDR": "115.58.29.251", "SERVER_SOFTWARE": "nginx\/1.24.0", "GATEWAY_INTERFACE": "CGI\/1.1", "REQUEST_SCHEME": "http", "SERVER_PROTOCOL": "HTTP\/1.1", "DOCUMENT_ROOT": "\/xp\/www\/IP 隐藏_3917\/public", "DOCUMENT_URI": "\/index.php", "REQUEST_URI": "\/api\/install\/install", "SCRIPT_NAME": "\/index.php", "CONTENT_LENGTH": "2874", "CONTENT_TYPE": "application\/x-www-form-urlencoded", "REQUEST_METHOD": "POST", "QUERY_STRING": "s=\/api\/install\/install", "SCRIPT_FILENAME": "\/xp\/www\/IP 隐藏_3917\/public\/index.php", "FCGI_ROLE": "RESPONDER", "PHP_SELF": "\/index.php", "REQUEST_TIME_FLOAT": 1723566759.97474, "REQUEST_TIME": 1723566759 } } }

ZTXBOSS666 commented 3 months ago

检测发现安装时就会提示这个报错信息 不清楚原因 SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists

Yincmewy commented 3 months ago

但是安装依旧提示报错

#9

checkev

install接口报错给我看install接口的返回 记得开debug

{ "code": 10501, "message": "SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists", "traces": [ { "name": "think\db\exception\PDOException", "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php", "line": 842, "code": 10501, "message": "SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists", "trace": [ { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php", "line": 905, "function": "getPDOStatement", "class": "think\db\PDOConnection", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php", "line": 866, "function": "queryPDOStatement", "class": "think\db\PDOConnection", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php", "line": 706, "function": "pdoExecute", "class": "think\db\PDOConnection", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/app\/controller\/Install.php", "line": 162, "function": "execute", "class": "think\db\PDOConnection", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/app\/controller\/Install.php", "line": 150, "function": "initDb", "class": "app\controller\Install", "type": "->" }, { "function": "Install", "class": "app\controller\Install", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Container.php", "line": 330, "function": "invokeArgs", "class": "ReflectionMethod", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Container.php", "line": 363, "function": "invokeMethod", "class": "think\Container", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Callback.php", "line": 27, "function": "invoke", "class": "think\Container", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php", "line": 52, "function": "exec", "class": "think\route\dispatch\Callback", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Route.php", "line": 755, "function": "run", "class": "think\route\Dispatch", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 59, "function": "think\{closure}", "class": "think\Route", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 66, "function": "think\{closure}", "class": "think\Pipeline", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Route.php", "line": 754, "function": "then", "class": "think\Pipeline", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Http.php", "line": 208, "function": "dispatch", "class": "think\Route", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Http.php", "line": 198, "function": "dispatchToRoute", "class": "think\Http", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 59, "function": "think\{closure}", "class": "think\Http", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/middleware\/AllowCrossDomain.php", "line": 61, "function": "think\{closure}", "class": "think\Pipeline", "type": "->" }, { "function": "handle", "class": "think\middleware\AllowCrossDomain", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Middleware.php", "line": 134, "function": "call_user_func" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 85, "function": "think\{closure}", "class": "think\Middleware", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/think-trace\/src\/TraceDebug.php", "line": 71, "function": "think\{closure}", "class": "think\Pipeline", "type": "->" }, { "function": "handle", "class": "think\trace\TraceDebug", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Middleware.php", "line": 134, "function": "call_user_func" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 85, "function": "think\{closure}", "class": "think\Middleware", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Pipeline.php", "line": 66, "function": "think\{closure}", "class": "think\Pipeline", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Http.php", "line": 197, "function": "then", "class": "think\Pipeline", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/vendor\/topthink\/framework\/src\/think\/Http.php", "line": 162, "function": "runWithRequest", "class": "think\Http", "type": "->" }, { "file": "\/xp\/www\/IP 隐藏_3917\/public\/index.php", "line": 20, "function": "run", "class": "think\Http", "type": "->" } ], "source": { "first": 833, "source": [ " } else {\n", " if ($this->reConnectTimes < 4 && $this->isBreak($e)) {\n", " $this->reConnectTimes++;\n", "\n", " return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);\n", " }\n", " }\n", "\n", " if ($e instanceof \PDOException) {\n", " throw new PDOException($e, $this->config, $this->getLastsql());\n", " } else {\n", " throw $e;\n", " }\n", " }\n", " }\n", "\n", " \/*\n", " 执行语句.\n", " \n" ] } } ], "datas": { "PDO Error Info": { "SQLSTATE": "42S01", "Driver Error Code": 1050, "Driver Error Message": "Table 'svip' already exists" }, "Database Status": { "Error Code": 10501, "Error Message": "SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists", "Error SQL": "CREATE TABLE svip (\n id int(11) NOT NULL AUTO_INCREMENT COMMENT '账号ID',\n name varchar(255) NOT NULL COMMENT '用户名',\n state enum('0','-1') NOT NULL COMMENT '状态 0 正常 -1 不可使用',\n cookie varchar(2048) NOT NULL COMMENT '身份信息',\n-- local_state TEXT NOT NULL COMMENT 'local_state用户信息',\n-- access_token varchar(2048) NOT NULL COMMENT 'access_token',\n add_time int(11) NOT NULL COMMENT '添加时间',\n svip_end_time int(11) NOT NULL COMMENT 'SVIP过期时间',\n vip_type enum('普通用户','普通会员','超级会员') NOT NULL COMMENT 'VIP类型',\n PRIMARY KEY (id),\n INDEX idx_state (state)\n) ENGINE=InnoDB AUTO_INCREMENT=172 DEFAULT CHARSET=utf8mb4" }, "Database Config": { "type": "mysql", "hostname": "localhost", "database": "ztx", "hostport": "3306", "dsn": "", "params": [], "charset": "utf8", "prefix": "", "deploy": 0, "rw_separate": false, "master_num": 1, "slave_no": "", "read_master": false, "fields_strict": true, "fields_cache": false, "trigger_sql": true, "builder": "", "query": "", "break_reconnect": false, "break_match_str": [], "auto_param_bind": true } }, "tables": { "GET Data": [], "POST Data": { "admin_password": "123456", "fixed_key": "123456", "key_last_time": "300", "normal_cookie": "留空", "parse_ua": "netdisk", "real_url_last_time": "1800", "requires_key": "none", "db_hostname": "localhost", "db_port": "3306", "db_username": "ztx", "db_password": "55HMTZKbjop7", "db_database": "ztx", "redis_hostname": "localhost", "redis_port": "6379", "redis_password": "" }, "Files": null, "Cookies": { "d5448c507c5fa16620c5bc1d484544e4_ssl": "066a6727-6d21-4e6d-9719-dd5433e5b41f.1rK-l-NaaVSsLJyNgrmAqBMsmBc", "conterError": "", "_ga": "GA1.1.78333675.1723470064", "_ga_FC74BB2RGD": "GS1.1.1723486273.2.1.1723486369.0.0.0", "fifteen": "0.19", "one": "0.66", "five": "0.47", "mem-before": "358.14\/3.68 (GB)", "soft_type": "1", "p1": "2", "xp": "MTcyMzU2NDg2M3xEWDhFQVFMX2dBQUJFQUVRQUFBcF80QUFBUVp6ZEhKcGJtY01Dd0FKVTJGbVpVVnVkSEo1Qm5OMGNtbHVad3dJQUFaaE0yWmtaVEk9fKxZ4mh_hbMTF6xjXT_vEgbDFOnP6YkEAxnQ-I_Z5Day" }, "Session": [], "Server\/Request Data": { "USER": "www", "HOME": "\/home\/www", "HTTP_COOKIE": "d5448c507c5fa16620c5bc1d484544e4_ssl=066a6727-6d21-4e6d-9719-dd5433e5b41f.1rK-l-NaaVSsLJyNgrmAqBMsmBc; conterError=; _ga=GA1.1.78333675.1723470064; _ga_FC74BB2RGD=GS1.1.1723486273.2.1.1723486369.0.0.0; fifteen=0.19; one=0.66; five=0.47; mem-before=358.14\/3.68%20%28GB%29; soft_type=1; p1=2; xp=MTcyMzU2NDg2M3xEWDhFQVFMX2dBQUJFQUVRQUFBcF80QUFBUVp6ZEhKcGJtY01Dd0FKVTJGbVpVVnVkSEo1Qm5OMGNtbHVad3dJQUFaaE0yWmtaVEk9fKxZ4mh_hbMTF6xjXT_vEgbDFOnP6YkEAxnQ-I_Z5Day", "HTTP_ACCEPT_LANGUAGE": "zh-CN,zh;q=0.9", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_REFERER": "http:\/\/IP 隐藏:3917\/", "HTTP_ORIGIN": "http:\/\/IP 隐藏:3917", "HTTP_CONTENT_TYPE": "application\/x-www-form-urlencoded", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/118.0.0.0 Safari\/537.36", "HTTP_ACCEPT": "application\/json, text\/plain, \/*", "HTTP_CONTENT_LENGTH": "2874", "HTTP_CONNECTION": "keep-alive", "HTTP_HOST": "IP 隐藏:3917", "PATH_INFO": "", "REDIRECT_STATUS": "200", "SERVER_NAME": "IP 隐藏", "SERVER_PORT": "3917", "SERVER_ADDR": "IP 隐藏", "REMOTE_PORT": "29490", "REMOTE_ADDR": "115.58.29.251", "SERVER_SOFTWARE": "nginx\/1.24.0", "GATEWAY_INTERFACE": "CGI\/1.1", "REQUEST_SCHEME": "http", "SERVER_PROTOCOL": "HTTP\/1.1", "DOCUMENT_ROOT": "\/xp\/www\/IP 隐藏_3917\/public", "DOCUMENT_URI": "\/index.php", "REQUEST_URI": "\/api\/install\/install", "SCRIPT_NAME": "\/index.php", "CONTENT_LENGTH": "2874", "CONTENT_TYPE": "application\/x-www-form-urlencoded", "REQUEST_METHOD": "POST", "QUERY_STRING": "s=\/api\/install\/install", "SCRIPT_FILENAME": "\/xp\/www\/IP 隐藏_3917\/public\/index.php", "FCGI_ROLE": "RESPONDER", "PHP_SELF": "\/index.php", "REQUEST_TIME_FLOAT": 1723566759.97474, "REQUEST_TIME": 1723566759 } } }

清空清空清空清空清空清空清空你的数据库重试

ZTXBOSS666 commented 3 months ago

但是安装依旧提示报错

#9

checkev

install接口报错给我看install接口的返回 记得开debug

{ "code": 10501, "message": "SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists", "traces": [ { "name": "think\db\exception\PDOException", "file": "/xp/www/IP 隐藏_3917/vendor/topthink/think-orm/src/db/PDOConnection.php", "line": 842, "code": 10501, "message": "SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists", "trace": [ { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/think-orm/src/db/PDOConnection.php", "line": 905, "function": "getPDOStatement", "class": "think\db\PDOConnection", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/think-orm/src/db/PDOConnection.php", "line": 866, "function": "queryPDOStatement", "class": "think\db\PDOConnection", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/think-orm/src/db/PDOConnection.php", "line": 706, "function": "pdoExecute", "class": "think\db\PDOConnection", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/app/controller/Install.php", "line": 162, "function": "execute", "class": "think\db\PDOConnection", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/app/controller/Install.php", "line": 150, "function": "initDb", "class": "app\controller\Install", "type": "->" }, { "function": "Install", "class": "app\controller\Install", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Container.php", "line": 330, "function": "invokeArgs", "class": "ReflectionMethod", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Container.php", "line": 363, "function": "invokeMethod", "class": "think\Container", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/route/dispatch/Callback.php", "line": 27, "function": "invoke", "class": "think\Container", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/route/Dispatch.php", "line": 52, "function": "exec", "class": "think\route\dispatch\Callback", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Route.php", "line": 755, "function": "run", "class": "think\route\Dispatch", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Pipeline.php", "line": 59, "function": "think{closure}", "class": "think\Route", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Pipeline.php", "line": 66, "function": "think{closure}", "class": "think\Pipeline", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Route.php", "line": 754, "function": "then", "class": "think\Pipeline", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Http.php", "line": 208, "function": "dispatch", "class": "think\Route", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Http.php", "line": 198, "function": "dispatchToRoute", "class": "think\Http", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Pipeline.php", "line": 59, "function": "think{closure}", "class": "think\Http", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/middleware/AllowCrossDomain.php", "line": 61, "function": "think{closure}", "class": "think\Pipeline", "type": "->" }, { "function": "handle", "class": "think\middleware\AllowCrossDomain", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Middleware.php", "line": 134, "function": "call_user_func" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Pipeline.php", "line": 85, "function": "think{closure}", "class": "think\Middleware", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/think-trace/src/TraceDebug.php", "line": 71, "function": "think{closure}", "class": "think\Pipeline", "type": "->" }, { "function": "handle", "class": "think\trace\TraceDebug", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Middleware.php", "line": 134, "function": "call_user_func" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Pipeline.php", "line": 85, "function": "think{closure}", "class": "think\Middleware", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Pipeline.php", "line": 66, "function": "think{closure}", "class": "think\Pipeline", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Http.php", "line": 197, "function": "then", "class": "think\Pipeline", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/vendor/topthink/framework/src/think/Http.php", "line": 162, "function": "runWithRequest", "class": "think\Http", "type": "->" }, { "file": "/xp/www/IP 隐藏_3917/public/index.php", "line": 20, "function": "run", "class": "think\Http", "type": "->" } ], "source": { "first": 833, "source": [ " } else {\n", " if ($this->reConnectTimes < 4 && $this->isBreak($e)) {\n", " $this->reConnectTimes++;\n", "\n", " return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);\n", " }\n", " }\n", "\n", " if ($e instanceof \PDOException) {\n", " throw new PDOException($e, $this->config, $this->getLastsql());\n", " } else {\n", " throw $e;\n", " }\n", " }\n", " }\n", "\n", " /*\n", " 执行语句.\n", " *\n" ] } } ], "datas": { "PDO Error Info": { "SQLSTATE": "42S01", "Driver Error Code": 1050, "Driver Error Message": "Table 'svip' already exists" }, "Database Status": { "Error Code": 10501, "Error Message": "SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'svip' already exists", "Error SQL": "CREATE TABLE svip (\n id int(11) NOT NULL AUTO_INCREMENT COMMENT '账号ID',\n name varchar(255) NOT NULL COMMENT '用户名',\n state enum('0','-1') NOT NULL COMMENT '状态 0 正常 -1 不可使用',\n cookie varchar(2048) NOT NULL COMMENT '身份信息',\n-- local_state TEXT NOT NULL COMMENT 'local_state用户信息',\n-- access_token varchar(2048) NOT NULL COMMENT 'access_token',\n add_time int(11) NOT NULL COMMENT '添加时间',\n svip_end_time int(11) NOT NULL COMMENT 'SVIP过期时间',\n vip_type enum('普通用户','普通会员','超级会员') NOT NULL COMMENT 'VIP类型',\n PRIMARY KEY (id),\n INDEX idx_state (state)\n) ENGINE=InnoDB AUTO_INCREMENT=172 DEFAULT CHARSET=utf8mb4" }, "Database Config": { "type": "mysql", "hostname": "localhost", "database": "ztx", "hostport": "3306", "dsn": "", "params": [], "charset": "utf8", "prefix": "", "deploy": 0, "rw_separate": false, "master_num": 1, "slave_no": "", "read_master": false, "fields_strict": true, "fields_cache": false, "trigger_sql": true, "builder": "", "query": "", "break_reconnect": false, "break_match_str": [], "auto_param_bind": true } }, "tables": { "GET Data": [], "POST Data": { "admin_password": "123456", "fixed_key": "123456", "key_last_time": "300", "normal_cookie": "留空", "parse_ua": "netdisk", "real_url_last_time": "1800", "requires_key": "none", "db_hostname": "localhost", "db_port": "3306", "db_username": "ztx", "db_password": "55HMTZKbjop7", "db_database": "ztx", "redis_hostname": "localhost", "redis_port": "6379", "redis_password": "" }, "Files": null, "Cookies": { "d5448c507c5fa16620c5bc1d484544e4_ssl": "066a6727-6d21-4e6d-9719-dd5433e5b41f.1rK-l-NaaVSsLJyNgrmAqBMsmBc", "conterError": "", "_ga": "GA1.1.78333675.1723470064", "_ga_FC74BB2RGD": "GS1.1.1723486273.2.1.1723486369.0.0.0", "fifteen": "0.19", "one": "0.66", "five": "0.47", "mem-before": "358.14/3.68 (GB)", "soft_type": "1", "p1": "2", "xp": "MTcyMzU2NDg2M3xEWDhFQVFMX2dBQUJFQUVRQUFBcF80QUFBUVp6ZEhKcGJtY01Dd0FKVTJGbVpVVnVkSEo1Qm5OMGNtbHVad3dJQUFaaE0yWmtaVEk9fKxZ4mh_hbMTF6xjXT_vEgbDFOnP6YkEAxnQ-I_Z5Day" }, "Session": [], "Server/Request Data": { "USER": "www", "HOME": "/home/www", "HTTP_COOKIE": "d5448c507c5fa16620c5bc1d484544e4_ssl=066a6727-6d21-4e6d-9719-dd5433e5b41f.1rK-l-NaaVSsLJyNgrmAqBMsmBc; conterError=; _ga=GA1.1.78333675.1723470064; _ga_FC74BB2RGD=GS1.1.1723486273.2.1.1723486369.0.0.0; fifteen=0.19; one=0.66; five=0.47; mem-before=358.14/3.68%20%28GB%29; soft_type=1; p1=2; xp=MTcyMzU2NDg2M3xEWDhFQVFMX2dBQUJFQUVRQUFBcF80QUFBUVp6ZEhKcGJtY01Dd0FKVTJGbVpVVnVkSEo1Qm5OMGNtbHVad3dJQUFaaE0yWmtaVEk9fKxZ4mh_hbMTF6xjXT_vEgbDFOnP6YkEAxnQ-I_Z5Day", "HTTP_ACCEPT_LANGUAGE": "zh-CN,zh;q=0.9", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_REFERER": "http://IP 隐藏:3917/", "HTTP_ORIGIN": "http://IP 隐藏:3917", "HTTP_CONTENT_TYPE": "application/x-www-form-urlencoded", "HTTP_USER_AGENT": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36", "HTTPACCEPT": "application/json, text/plain, /_", "HTTP_CONTENT_LENGTH": "2874", "HTTP_CONNECTION": "keep-alive", "HTTP_HOST": "IP 隐藏:3917", "PATH_INFO": "", "REDIRECT_STATUS": "200", "SERVER_NAME": "IP 隐藏", "SERVER_PORT": "3917", "SERVER_ADDR": "IP 隐藏", "REMOTE_PORT": "29490", "REMOTE_ADDR": "115.58.29.251", "SERVER_SOFTWARE": "nginx/1.24.0", "GATEWAY_INTERFACE": "CGI/1.1", "REQUEST_SCHEME": "http", "SERVER_PROTOCOL": "HTTP/1.1", "DOCUMENT_ROOT": "/xp/www/IP 隐藏_3917/public", "DOCUMENT_URI": "/index.php", "REQUEST_URI": "/api/install/install", "SCRIPT_NAME": "/index.php", "CONTENT_LENGTH": "2874", "CONTENT_TYPE": "application/x-www-form-urlencoded", "REQUEST_METHOD": "POST", "QUERY_STRING": "s=/api/install/install", "SCRIPT_FILENAME": "/xp/www/IP 隐藏_3917/public/index.php", "FCGI_ROLE": "RESPONDER", "PHP_SELF": "/index.php", "REQUEST_TIME_FLOAT": 1723566759.97474, "REQUEST_TIME": 1723566759 } } }

清空清空清空清空清空清空清空你的数据库重试

zhantianxia6 第一次加群没注意到有验证 导致被拉黑了 能否解除下呢?感谢