源码包
3504

IIS+PHP 部署Zentao的问题已解决 悬赏5积分

提问者似水流年 答案数1 阅读数3999 发表时间2016-04-21 16:22:25
现在服务器已有IIS+PHP的环境,也安装了IIS_Rewrite Module。安装完成之后,访问站点http://domain/不能直接访问,必须是http://domain/index.php,点击退出按钮也不能退出,麻烦管理或知道此问题的朋友给解答下。

禅道版本:8.1.3

安装包类型:源码包

操作系统:Windows Server 2008

客户端浏览器:IE11

设置备注
内容
答案列表
2016/04/21 最佳答案
找一下php日志,用浏览器f12 看一下是否有js报错。
📟
2016/04/21
非常感谢。
这是我的网址信息http://pm.solutioncn.com 用户名admin 密码123456789 ,麻烦帮我看下,搞了一个下午了。上次安装很顺利的。
这是我根目录下的web.config文件内容:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<s y s t e m.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.php" />
<add value="index.shtml" />
<add value="index.asp" />
<add value="index.htm" />
<add value="index.html" />
</files>
</defaultDocument>
<rewrite>
<rules>
<rule name="已导入的规则 1" stopProcessing="true">
<match url="(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" />
</rule>
</rules>
</rewrite>
</s y s t e m.webServer>
</configuration>
2016/04/21
直接访问 pm.solutioncn.com 可以自动跳转到 index.php ,的确不能退出,把zentaopms/config/my.php中debug的值改成true,登录禅道点击退出,然后看一下 zentaopms/tmp/log/ 下面的php开头的文件,看有什么报错。
📟
2016/04/21
<?php
die();
?>

17:49:22 Declaration of deptModel::delete() should be compatible with that of model::delete() in D:\wwwroot\pm\public_html\module\dept\model.php on line 415 when visiting /index.php?m=user&f=logout

17:49:22 session_destroy() [function.session-destroy]: Session object destruction failed in D:\wwwroot\pm\public_html\module\user\control.php on line 794 when visiting /index.php?m=user&f=logout

17:49:22 Declaration of deptModel::delete() should be compatible with that of model::delete() in D:\wwwroot\pm\public_html\module\dept\model.php on line 415 when visiting /index.php?m=user&f=login

17:49:23 Declaration of deptModel::delete() should be compatible with that of model::delete() in D:\wwwroot\pm\public_html\module\dept\model.php on line 415 when visiting /index.php?m=my&f=index
📟
2016/04/21
<?php
die();
?>
20160421 17:49:22: /index.php?m=user&f=logout
SELECT * FROM `zt_config` WHERE owner IN ('s y s t e m','admin') ORDER BY `id`
SELECT * FROM `zt_lang` ORDER BY `lang`,`id`
INSERT INTO `zt_action` SET `objectType` = 'user',`objectID` = '1',`actor` = 'admin',`action` = 'logout',`date` = '2016-04-21 17:49:22',`comment` = '',`extra` = '',`product` = ',0,',`project` = '0'

20160421 17:49:22: /index.php?m=user&f=login
SELECT * FROM `zt_config` WHERE owner IN ('s y s t e m','admin') ORDER BY `id`
SELECT * FROM `zt_lang` ORDER BY `lang`,`id`

20160421 17:49:23: /index.php?m=my&f=index
SELECT * FROM `zt_config` WHERE owner IN ('s y s t e m','admin') ORDER BY `id`
SELECT * FROM `zt_lang` ORDER BY `lang`,`id`
SELECT *, IF(INSTR(" done", status) < 2, 0, 1) AS isDone FROM `zt_project` WHERE iscat = '0' AND status != 'done' AND deleted = '0' ORDER BY `order` desc
SELECT * FROM `zt_project` WHERE id IN ('') ORDER BY `order` desc
SELECT id, project, estimate, consumed, `left`, status, closedReason FROM `zt_task` WHERE project IN ('') AND deleted = '0'
SELECT project, date AS name, `left` AS value FROM `zt_burn` WHERE project IN ('') ORDER BY `date` desc
SELECT * FROM `zt_product` WHERE deleted = '0' AND status != 'closed' ORDER BY `order` desc
SELECT * FROM `zt_product` WHERE id IN ('') ORDER BY `order` desc
SELECT product, status, count(status) AS count FROM `zt_story` WHERE deleted = '0' AND product IN ('') GROUP BY product, status
SELECT product, count(*) AS count FROM `zt_productplan` WHERE deleted = '0' AND product IN ('') AND end > '2016-04-21 17:49:23' GROUP BY product
SELECT product, count(*) AS count FROM `zt_release` WHERE deleted = '0' AND product IN ('') GROUP BY product
SELECT product,count(*) AS conut FROM `zt_bug` WHERE deleted = '0' AND product IN ('') GROUP BY product
SELECT product,count(*) AS count FROM `zt_bug` WHERE status = 'active' AND deleted = '0' AND product IN ('') GROUP BY product
SELECT product,count(*) AS count FROM `zt_bug` WHERE AssignedTo = '' AND deleted = '0' AND product IN ('') GROUP BY product
SELECT * FROM `zt_action` WHERE 1 ORDER BY `date` desc limit 0, 14
SELECT commiter, account, realname FROM `zt_user` WHERE commiter != ''
SELECT id, account AS name FROM `zt_user` WHERE id IN ('1')
SELECT * FROM `zt_todo` WHERE account = 'admin' AND date >= '1970-01-01' AND date <= '2109-01-01' AND status IN ('wait','doing') ORDER BY `date`,`status`,`begin` LIMIT 10
SELECT * FROM `zt_todo` WHERE account = 'admin' AND date >= '1970-01-01' AND date <= '2109-01-01' AND status IN ('wait','doing') ORDER BY `date`,`status`,`begin` LIMIT 10
DESC `zt_task`
SELECT t1.*, t2.id as projectID, t2.name as projectName, t3.id as storyID, t3.title as storyTitle, t3.status AS storyStatus, t3.version AS latestStoryVersion FROM `zt_task` AS t1 LEFT JOIN `zt_project` AS t2 ON t1.project = t2.id LEFT JOIN `zt_story` AS t3 ON t1.story = t3.id WHERE t1.deleted = '0' AND t1.assignedTo = 'admin' ORDER BY `id` desc LIMIT 10
SELECT t1.*, t2.id as projectID, t2.name as projectName, t3.id as storyID, t3.title as storyTitle, t3.status AS storyStatus, t3.version AS latestStoryVersion FROM `zt_task` AS t1 LEFT JOIN `zt_project` AS t2 ON t1.project = t2.id LEFT JOIN `zt_story` AS t3 ON t1.story = t3.id WHERE t1.deleted = '0' AND t1.assignedTo = 'admin' ORDER BY `id` desc LIMIT 10
SELECT t1.id, t1.title, t2.name as product FROM `zt_bug` AS t1 LEFT JOIN `zt_product` AS t2 ON t1.product=t2.id WHERE t1.assignedTo = 'admin' AND t1.deleted = '0' ORDER BY `id` desc LIMIT 10
SELECT id, title FROM `zt_story` WHERE deleted = '0' AND assignedTo = 'admin' ORDER BY `id` desc LIMIT 10
SELECT account, realname, deleted FROM `zt_user` ORDER BY `account`
📟
2016/04/21
好像说的是session没有清除,是我哪里没有设置正确吗?
2016/04/22
检查一下session目录的读写权限。
📟
2016/04/22
非常感谢,php 的session目录没有“修改权限”,现在已经设置好了,有同样问题的朋友可以参照这个方法修改下就好了,IIS7.5+PHP完美支持。
联系我们
联系人
魏中显/高级客户经理
电话(微信)
18561939726
QQ号码
1746749398
联系邮箱
weizhongxian@chandao.com
返回顶部
魏中显
高级客户经理
18561939726
1746749398
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。