Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

我的UC2.0安装好后,打开出现这样,只是我改了首页的名字

[复制链接]
天命‖枯涵 发表于 2009-9-10 07:41:54 | 显示全部楼层 |阅读模式
错误如下:

测试地址:http://www.disshow.com/home/index_mop.php
Warning: include_once(./home/common.php) [function.include-once]: failed to open stream: No such file or directory in D:\wwwroot\web2009\home\index_mop.php on line 7

Warning: include_once() [function.include]: Failed opening './home/common.php' for inclusion (include_path='.;C:\php5\pear') in D:\wwwroot\web2009\home\index_mop.php on line 7

Fatal error: Call to a member function query() on a non-object in D:\wwwroot\web2009\home\index_mop.php on line 42
回复

使用道具 举报

 楼主| 天命‖枯涵 发表于 2009-9-10 07:43:35 | 显示全部楼层
今天把论坛转移到了自己的服务器上,服务器是win2003+iis+php+mysql

但访问论坛总是提示以下信息:

Warning: require_once() [function.require-once]: Unable to access ./include/common.inc.php in E:\forumcityheb\index.php on line 12

Warning: require_once(./include/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in E:\forumcityheb\index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required './include/common.inc.php' (include_path='d:/php5/includes') in E:\forumcityheb\index.php on line 12

在网上也google baidu了一下 出现这个问题的还真不少,修改./include/为include/问题解决

但rewrite加载总是不成功。

倒腾了半天才发现原来是权限问题,给设置了veryone权限,一切就ok了

最后提醒大家,iis要启用父路径。
回复

使用道具 举报

 楼主| 天命‖枯涵 发表于 2009-9-10 07:44:29 | 显示全部楼层
本帖最后由 天命‖枯涵 于 2009-9-10 07:49 编辑

这里我要问一下版主,为什么要给Everyone权限,这样不是把WIN32主机降低了安全系数吗?
回复

使用道具 举报

 楼主| 天命‖枯涵 发表于 2009-9-10 07:49:19 | 显示全部楼层
我按百度里搜索出来,给了Everyone权限还是不行
回复

使用道具 举报

 楼主| 天命‖枯涵 发表于 2009-9-10 16:55:38 | 显示全部楼层
帮帮我啊各位高手们
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-10 00:58 , Processed in 0.123912 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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