大家看看我的这个config.php文件,我曾经按照"Psychostats2.2.b调试、安装、使用帮助 "一文的方法修改过路径的,但是不行,我就改回来了.大家帮我看看,为什么显示不出图片来.
------------------------------------------------------------------------------------------------
// 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:/apache/htdocs/';
$conf['imagesroot'] = 'd:/apache/htdocs/images/*';
$conf['weaponsroot'] = 'd:/apache/htdocs/images/weapons/*';
$conf['mapsroot'] = 'd:/apache/htdocs/images/map/*';
// 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'] = '/htdocs/';
$conf['imagesurl'] = '/htdocs/images/*';
$conf['weaponsurl'] = '/htdocs/images/weapons/*';
$conf['mapsurl'] = '/htdocs/images/map/*';
------------------------------------------------------------------------------------------------
在apache的logs文件夹里面的error.log文件里有这样的提示,但是images下的图片都是有的.这样的提示应该是路径的问题,但是我真的不知怎么搞了,麻烦大家帮我看看是怎么回事.
------------------------------------------------------------------------------------------------
File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_deagle.gif
File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_g3sg1.gif
File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_grenade.gif
File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_famas.gif
File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_sg552.gif
File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_scout.gif
File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_knife.gif
File does not exist: d:/apache/htdocs/htdocs/images/weapons/cstrike_sg550.gif
File does not exist: d:/apache/htdocs/htdocs/images/title_bg.png
File does not exist:
------------------------------------------------------------------------------------------------
// 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'] = '/htdocs/';
$conf['imagesurl'] ='/htdocs/images/*';
$conf['weaponsurl'] = '/htdocs/images/weapons/*';
$conf['mapsurl'] = '/htdocs/images/map/*';
________________________________________________________________
我的
$conf['statsurl'] = '/';
$conf['imagesurl'] = '/images/';
$conf['weaponsurl'] = '/images/weapons/';
$conf['mapsurl'] = '';
看不明白 你的为什么会有个*号 $conf['imagesurl'] = '/htdocs/images/*'; 是我添加上去的,那时侯什么办法都试了 哈哈,我终于搞定了,感谢帮助我的人,特别感谢“littlebuoo”,谢谢 Post by itimagic
哈哈,我终于搞定了,感谢帮助我的人,特别感谢“littlebuoo”,谢谢
:sexy_girl 。。。回答了N多问题.第一次有人谢我 :d: 爽~~
页:
1
[2]