网站首页   进入论坛     官方下载     使用教程     免费用户     付费用户     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   【论坛浏览】  【发表评论】 评论时间
1 jack09 建议程序能自动识别安装目录,我的空间使用的是hostmonster的,上传后,运行dpadmin.php,出现以下错误:

  引用:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@。。。。。.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 500 Internal Server Error 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 demo.examlove.com Port 80

将.htaccess改名后,出现以下错误提示:

  引用:
DiY-Page Kernel Error:
Failed to read version information.
File: ./dpmain/version.php

安装目录已设定:
/public_html/demo/
目前仍然无法正常安装。

[ 本帖最后由 jack09 于 2008-8-17 08:26 编辑 ]
2008/8/17 08:24
2 wenshuang 帮我做一个实验:
打开dpconfig.php
把其中的
define('PATH_PRE','./');
(也有可能不是./而是你改过的路径)
换成

代码
define('PATH_PRE',dirname(__FILE__));

看能不能解决问题

能解决的话用这个代码就可以自动测定安装路径了
2008/8/17 10:38
3 hog Failed to read version information没有遇到过;
无法读取adminsession只要把文件改为可写就行.

我的DP是根目录下,没有修改过dpconfig.php,仍然是:


/*
PATH_PRE Parameter
If you meet some error messages like "Cannot Fetch", try the following:
Change ./ into your absolute web-root path, such as
e:/wwwroot/mysite/
/home/mysite/public_html/
Notice: Do not miss the last character of /
*/
define('PATH_PRE','./');

?>
2008/8/17 22:20
4 wenshuang

  引用:
原帖由 hog 于 2008-8-17 22:20 发表

Failed to read version information没有遇到过;
无法读取adminsession只要把文件改为可写就行.

我的DP是根目录下,没有修改过dpconfig.php,仍然是:


请务必帮我测试一下3楼的方法!
2008/8/17 22:38
5 hog

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


请务必帮我测试一下3楼的方法!

三楼方法打开出错:

DiY-Page Kernel Error:
Failed to read version information.
File: ./dpmain/version.php
2008/8/17 22:53
6 hog 主页显示:图片
点击查看大图

2008/8/17 22:55
7 wenshuang 你改得有问题吧……错误信息里怎么还显示PATHPRE是./(初始值)。。。
把你的dpconfig.php传上来
2008/8/17 23:31
8 tja135 我是一样的问题,改了还是不行!用你的自动边是不行 2008/8/25 15:17
9 jackieshine 我的也是这个问题
http://bbs.shuyang.net
http://www.shuyang.net
2008/9/8 21:01
10 hog 昨天打开后台突然出现上述情况,怎么修改属性和按老大的修改方法都是一样提示无法读取.
只好把adminsession.php初始化,才又可以了:

$dataarray=array();
?>
2008/9/11 15:00
 共有评论数 20  每页显示 10
页码 1/2  |<  <<   1 2   >>  >| 
Powered by DiY-Page 5.3.1 © 2005-2008