然之无法正常登录的问题怎么解决
2019-06-13 15:58:27
银飞马
  • 访问次数: 2
  • 注册日期: 2019-06-13
  • 最后登录: 2019-06-13
  • 我的积分: 60
  • 门派等级: 无门派

正常的输入了用户名和密码。点击登录提交后。还是停留在登录界面。无法正常登录。

sys_action表已经正常记录了日志。




sql日志文件是这样的

20190613 15:15:47: /sys/index.php?m=user&f=login&referer=L3N5cy9pbmRleC5waHA.bT1pbmRleCZmPWluZGV4
  SELECT * FROM `sys_entry` WHERE code  = 'sys'
  SELECT * FROM `sys_entry` WHERE code  = 'sys'
  SELECT * FROM `sys_config` WHERE owner IN ('system','guest') ORDER BY `id` 
  SELECT * FROM `sys_config` WHERE owner IN ('system','guest') ORDER BY `id` 
  SELECT * FROM `sys_lang` ORDER BY `app`,`lang`,`id` 
  SELECT * FROM `sys_lang` ORDER BY `app`,`lang`,`id` 
  INSERT INTO crm_zsyslog SET `creates` = 'guest',`createdate` = '1560410147',`title` = '[model][login]account=admin,password=5dd883b9bf9acd1497e20cb1c8a54890'
  SELECT * FROM `sys_user` WHERE deleted  = '0' AND  account  = 'admin'
  SELECT * FROM `sys_user` WHERE deleted  = '0' AND  account  = 'admin'
  INSERT INTO crm_zsyslog SET `creates` = 'guest',`createdate` = '1560410147',`title` = '[model][identify]应该是已经登录成功了!!!'
  UPDATE `sys_user` SET `id` = '174',`dept` = '0',`account` = 'admin',`password` = 'cda46ddfa2667b3a4231098612238e09',`realname` = 'admin',`role` = '',`nickname` = '',`admin` = 'super',`avatar` = '',`birthday` = '0000-00-00',`gender` = 'm',`email` = 'admin@puyuba.com',`skype` = '',`qq` = '',`weixin` = '',`yahoo` = '',`gtalk` = '',`wangwang` = '',`site` = '',`mobile` = '',`phone` = '',`address` = '',`zipcode` = '',`visits` = '2337',`ip` = '171.113.232.150',`last` = '2019-06-13 15:15:47',`ping` = '2019-06-13 15:15:47',`fails` = '0',`join` = '2019-01-19 17:03:35',`locked` = '0000-00-00 00:00:00',`deleted` = '0',`clientStatus` = 'offline',`clientLang` = 'zh-cn',`oldNo` = '' WHERE account  = 'admin'
  SELECT * FROM `oa_attend` WHERE account  = 'admin' AND  `date`  = '2019-06-13'
  SELECT * FROM `oa_attend` WHERE account  = 'admin' AND  `date`  = '2019-06-13'
  SELECT t2.* FROM `sys_usergroup` AS t1  LEFT JOIN `sys_group` AS t2  ON t1.group = t2.id  WHERE t1.account  = 'admin'
  SELECT t2.* FROM `sys_usergroup` AS t1  LEFT JOIN `sys_group` AS t2  ON t1.group = t2.id  WHERE t1.account  = 'admin'
  SELECT module, method FROM `sys_usergroup` AS t1  LEFT JOIN `sys_grouppriv` AS t2  ON t1.group = t2.group  WHERE t1.account  = 'admin'
  INSERT INTO `sys_action` SET `objectType` = 'user',`objectID` = '174',`customer` = '0',`contact` = '0',`actor` = 'admin',`action` = 'login',`date` = '2019-06-13 15:15:47',`comment` = '',`extra` = '',`tradeID` = '0'




php日志文件是这样的

15:15:44 Trying to get property of non-object in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Undefined offset: 3491 in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Trying to get property of non-object in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Undefined offset: 3491 in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Trying to get property of non-object in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Undefined offset: 3491 in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Trying to get property of non-object in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Undefined offset: 3491 in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Trying to get property of non-object in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Undefined offset: 3491 in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Trying to get property of non-object in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

沙发
2019-06-13 16:14:54
银飞马
  • 访问次数: 2
  • 注册日期: 2019-06-13
  • 最后登录: 2019-06-13
  • 我的积分: 60
  • 门派等级: 无门派

PHP日志中的下面的内容,不是登录打印出来的

15:15:44 Undefined offset: 3491 in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

15:15:44 Trying to get property of non-object in app/crm/order/model.php on line 1848 when visiting /crm/index.php?m=order&f=updateOrder

板凳
2019-06-13 18:07:14
马超
  • 访问次数: 300
  • 注册日期: 2018-06-20
  • 最后登录: 2020-07-24
  • 我的积分: 661
  • 门派等级: 无门派
php.ini文件中 搜索下session.save_path 查看session存储路径,给session存储路径增加读写权限,然后重新登录然之看下。
1/1