网站首页   进入论坛     官方下载     使用教程     免费用户     付费用户     Bug报告     购买授权     捐助我们  
论坛帖子内容              Thread Content
Failed to read version information及无法读取adminsession...
作者 wenshuang   查看 1505   发表时间 2008/6/13 22:17  【论坛浏览】
1、检查您的DP目录下有没有dpconfig.php。如果没有,下载最新版本安装包(安装包中有dpconfig.php的就行),执行升级安装过程(安装包内说明书有讲如何升级安装)

2、如果已经有dpconfig.php的话,用以下文件中的dpconfig.php替换现有的

附件: 
dpconfig.rar

2008/9/30 18:59, 154 B, 下载次数: 58

序号 评论者 共有评论 20   【论坛浏览】  【发表评论】 评论时间
11 jack09

  引用:
原帖由 wenshuang 于 2008-8-17 10:38 发表

帮我做一个实验:
打开dpconfig.php
把其中的
define('PATH_PRE','./');
(也有可能不是./而是你改过的路径)
换成define('PATH_PRE',dirname(__FILE__));看能不能解决问题

能解决的话用这个代码就可以自动测 ...

不行,不能自动识别
有如下错误提示:

代码
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@xxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at examlove.com Port 80

2008/9/13 09:14
12 wenshuang 那你按安装包中“说明书”里的 常见问题 第一问 所述的方法做一下 2008/9/13 17:02
13 fancyk define('PATH_PRE', substr(dirname(__FILE__), 0, -7));
discuz!中定义路径常量是这样的,这样试试
2008/9/15 17:03
14 wenshuang 楼上的朋友你没有注意DISCUZ中-7的含义

这是因为DZ的这个文件放在include目录下,include这个长度是7个字符

DP的dpconfig.php就放在根目录,不需要substr
2008/9/15 17:24
15 handsome609 我吧引用的路径改成绝对地址,还是不行啊!!



无法读取以下数据(文件):

adminsession
2008/9/18 21:56
16 wenshuang 仍然不能解决的朋友请将dpconfig.php的内容换成

代码
<?php

define('PATH_PRE',str_replace('\','/',dirname(__FILE__)).'/');

?>

2008/9/22 17:43
17 handsome609 还是无法解决啊!!!!!!!


紧急求救
2008/9/26 01:29
18 wenshuang

  引用:
原帖由 handsome609 于 2008-9-26 01:29 发表

还是无法解决啊!!!!!!!


紧急求救

到置顶下一个DP5.3的安装包,把to upload dir里面的dpconfig.php上传替换你原来的dpconfig.php
2008/9/26 18:32
19 handsome609 还是不行,我看前面的兄弟讲,初始化,怎么初始化啊?? 2008/9/30 17:25
20 wenshuang 楼上那位朋友用一楼的附件试试 2008/9/30 19:00
 共有评论数 20  每页显示 10
页码 2/2  |<  <<   1 2   >>  >| 
Powered by DiY-Page 5.3.1 © 2005-2008