Songsong
发表于 2004-9-10 19:07:14
Post by johndxj
我有个问题:
当察看服务器状态时,即打开:http://ip/server.php,
如果我察看在线玩家的信息,当此玩家已经在排行榜中有名次,则显示:
You don't have permission to access /C:/Program Files/Apache Group/Apache2/htdocs/player.php on this server
Apache/2.0.50 (Win32) PHP/4.3.7 Server at ip Port 80
如果数据库中还没此玩家的纪录,则不会出现上述问题!
请问这是怎么回事,而在其他页面中察看任何一个玩家都没问题!
stats.cfg里面地址配置检查一下,关于/结尾的
lnsky
发表于 2004-9-12 17:58:31
http://219.140.175.54:91/cs
看看我的服务器,为什么任何枪械图片,地图图片,都不能正常显示?超级管理员也无法添加!很郁闷,不知道到底是怎么一回事,就只有web显示正常一点点.!
大家看看我web下的config.php吧..
<?php
// User config for PsychoStats website interface
// Strings must be surrounded by single quotes. And all lines must end with a semi-colon
// Uncomment and edit the following option if you are having problems when logging in,
// searching or other 'weird' issues with your stats. This should be an absolute URL
// which points to the url of where your stats are located on your website.
// Note: DO NOT include "http://www.yourdomain.com" on this option.
// $conf['URLROOT'] = '/stats/';
// Game settings (these must match the same values from your original stats.cfg)
$conf['gametype'] = 'halflife';
$conf['modtype'] = 'cstrike';
$conf['uniqueid'] = 'name';
// Database Settings
$conf['dbuser'] = 'root';
$conf['dbpass'] = '8456065';
$conf['dbname'] = 'ps22';
$conf['dbhost'] = 'localhost';
$conf['dbpersistant'] = 1;
$conf['dbtblprefix'] = 'pstats_';
// What theme to use. 'psweb' is the standard and default theme.
$conf['theme'] = 'psweb';
$conf['allowthemechange'] = FALSE;
// If 'disablelogin' is TRUE then no users that are not admins will be able
// to login. the 'login' link will not be displayed, so an admin that wishes to
// login will have to manually go to the 'login.php' page first.
$conf['disablelogin'] = 0;
// The name of your server
$conf['servername'] = 'Powered By PsychoStats v2';
// The server IP:port to use for real-time server info display on the 'server' page
// If 'serverip' is an array, each element should be an IP:port that you want shown
// on your server page.
$conf['serverip'] = '192.168.0.224:27015';
//$conf['serverip'] = array('serverip1','serverip2','...');
// or
//$conf['serverip'][] = 'server1';
//$conf['serverip'][] = 'server2';
// Rule filters. These are PERL regular expressions to match against server rules.
// If a rule matches any of these than the rule is not displayed.
$conf['rulefilters'] = array('_tutor_', 'coop', 'deathmatch', 'pausable');
// If enabled the weapon hitboxes and damage will be displayed
$conf['showhitboxes'] = 1;
// Smarty configuration settings for templates:
// All directories default the current directory if nothing is specified
$conf['template_dir'] = '';
$conf['compile_dir'] = '';
$conf['smarty_dir'] = '';
// the 'root' options default to the current directory + '/images/*'
// You should not have to change these unless your images are in non-standard locations
$conf['statsroot'] = 'd:/web/cs/';
$conf['imagesroot'] = 'd:/web/cs/images/';
$conf['weaponsroot'] = 'd:/web/cs/images/weapons/';
$conf['mapsroot'] = 'd:/web/cs/images/maps/';
// The 'url' options default to the current directory + '/images/*'
// These settings define how files and images would appear to users browsing to your
// stats website (usually the same as the 'root' options without the document_root prefix)
// You should not have to change these unless your images are in non-standard locations
$conf['statsurl'] = 'd:/web/cs/';
$conf['imagesurl'] = 'd:/web/cs/images/';
$conf['weaponsurl'] = 'd:/web/cs/images/weapons/';
$conf['mapsurl'] = 'd:/web/cs/images/maps/';
// Enable/Disable SSL (HTTPS) support for session cookies.
$conf['usessl'] = 0;
?>
Songsong
发表于 2004-9-12 21:26:36
file:///d:/web/cs/images/title_left.png
你仔细看我的东西了么? :13::13:
ericxuwei
发表于 2004-9-14 23:38:08
强!
佩服一下
另外楼主在7楼说是bug
必须到官方论坛注册然后上网升级才能解决吗
因为我想装到单位的内网上?
能行吗?
lnsky
发表于 2004-9-15 17:04:41
songsong 还是不是很明白哦.这个图有什么不对的?
abcdjjh
发表于 2004-9-15 23:16:39
请教一下:我的CS服务器是1.5版,AMX0.95
能配合这个2.2.1b的排行榜软件使用吗?
我想在另外一台机器上做WEB,不在CS服务器上做
安装好WEB以后,需要什么操作呢?
请指教,谢谢
73543313
发表于 2004-9-16 03:07:20
老大请问我在用查找功能的时候为什么会出绝对路径呢?比如127.0.0.1/c:/apache/stats/......
反正是无法访问,请问我该怎么设置才可以?
crowner
发表于 2004-9-16 04:12:53
不知道问题出在那里。是系统的时间问题还是那里不对。装不下去了。
http://192.168.0.43/stats/imgserver.php?w=600&h=300
Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Program Files\Apache Group\Apache2\htdocs\stats\imgserver.php on line 23
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\stats\imgserver.php:23) in C:\Program Files\Apache Group\Apache2\htdocs\stats\imgserver.php on line 76
Songsong
发表于 2004-9-16 13:01:02
Post by ericxuwei
强!
佩服一下
另外楼主在7楼说是bug
必须到官方论坛注册然后上网升级才能解决吗
因为我想装到单位的内网上?
能行吗?
可以啊~~只要可以穿过网关或者防火墙达到即可
Post by 73543313
老大请问我在用查找功能的时候为什么会出绝对路径呢?比如127.0.0.1/c:/apache/stats/......
反正是无法访问,请问我该怎么设置才可以?
PS的cfg的地址配置错误
Post by abcdjjh
请教一下:我的CS服务器是1.5版,AMX0.95
能配合这个2.2.1b的排行榜软件使用吗?
我想在另外一台机器上做WEB,不在CS服务器上做
安装好WEB以后,需要什么操作呢?
请指教,谢谢
给你一个思路,通过FTP实现~具体看PS配置,里面有说明.如果你都是Linux系统,可以更方便地实现
73543313
发表于 2004-9-16 22:16:43
请SONGSONG大大能详细点说明一下是什么地方有错误,我仔细的看了看我的cfg,关键的路径什么的我都设置好了,其它的我都没动.....应该不会出现这样的问题啊。
页:
1
2
3
4
[5]
6
7
8
9
10
11
12
13
14