-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] 已激活实际时长没更新 #1879
Comments
不如你貼一下你的產品到底是怎麽設置的,不然是沒有辦法復現你説的問題。 |
PHP Fatal error: Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column Next Illuminate\Database\QueryException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column |
紧急求助啊 |
Environment 环境 OS: Bug Info Describe the issue you run into. 请描述你遇到的问题。 |
Centos7.9 |
咋说 |
商品内容的用户分组如果不设组的要填0,不然会报错,你这个应该是之前面板前后端没有判断必填或空值造成写入数据库的product表商品content里的"node_group":"",造成获取时为空。 你试下修改商品内容的用户分组为0,如果没有order状态是等待激活的,新增或找笔订单在数据库order状态status先手工改回pending_activation,再到ssp目录手动执行php xcat Cron看下有没有抛错,没抛错看下订单的用户相关内容有没有变动。
*Cron这处建议应该写个throw会比较严谨点,如果抛错了,没有save上,order就不打上activated、update和echo 已激活 |
Anankke/SSPanel-UIM#1879 I can't believe I have to spend time on this stupid "problem".
This has been implemented along with a better input check. |
我手动修改了product表里面的content字段当中的json数据为"node_group":"0" 。现在定时任务没有报错,问题卡在订单一直处于等待激活状态,不激活。 |
我新注册个账户就可以,之前那个账户手动设置等级过期,订单就一直处于等待激活,不会激活,如果是订单购买自然过期的就没问题。 |
#1879 I can't believe I have to spend time on this stupid "problem".
#1879 I can't believe I have to spend time on this stupid "problem".
#1879 I can't believe I have to spend time on this stupid "problem".
Environment 环境
OS:
PHP version:
DB version:
Commit:
Bug Info
前端时间就出现过这个情况,不知道是不是刚升级导致的。定时任务查看执行都是successful,已激活就是没有实际更新等级时间。
The text was updated successfully, but these errors were encountered: