51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 3230|回复: 6
打印 上一主题 下一主题

[原创] 询问两个mantis的问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-3-24 15:03:46 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
安装完成mantis后,简单使用了一下,有两个问题没搞明白,特来请教大家!
一、我使用管理员帐户发布了公告,又使用其他帐户进行登陆,发现登陆后直接进入我的视图页面,而不是我希望的首页,这样公告就没人看了,请问大家,怎么才能使用户登陆后先进入首页呢?

二、在安装完mantis后,又安装了jpgraph-2.3.4,然后进行了如下配置
    1、        下载JpGraph后,解压到c:\mantis\core\目录下,名称为jpgraph.
    2、        打开core\graph_api.php文件,找到function graph_get_font(),在里面加一句'simsun' => FF_SIMSUN,
    3、        在config_inc.php或config_defaults_inc.php中应该有以下配置内容:
############################
# Mantis JPGRAPH Addon
############################
# --- jpgraph settings --- #
# Initial Version from Duncan Lisset
#
# To use the Jpgraph addon you need the JPGRAPH package from
# http://www.aditus.nu/jpgraph/index.php
# You can place the package whereever you want, but you have
# to set the var in jpgraph.php eg.
# (DEFINE('DIR_BASE','/www/mantisbt/jpgraph/');)
$g_use_jpgraph    = ON;
$g_jpgraph_path   = 'C:/mantis/core/jpgraph/src/' ;

# what truetype font will the graphs use. Allowed values are 'arial', 'verdana', 'courier', 'book', 'comic', 'times',
# 'georgia', 'trebuche', 'vera', 'veramono', or 'veraserif'. Refer to the jpgraph manual for details.
# NOTE: these fonts need to be installed in the TTF_DIR as specified to jpgraph
$g_graph_font = 'simsun';
# what width is used to scale the graphs.
$g_graph_window_width = 800;
# bar graph aspect ration (height / width)
$g_graph_bar_aspect = 0.9;
# how many graphs to put in each row in the advanced summary page
$g_graph_summary_graphs_per_row = 2;
$g_system_font_folder = 'c:/winnt/fonts/';
$g_font_per_captcha = 'simsun.ttf';

但是,在打开统计报表时,发现图像并没有出来,出来的是一些乱码(如附件中的图片),不明白是什么道理,请知道的告知一下!不胜感激!!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2009-3-24 18:07:20 | 显示全部楼层
十分感谢您的回答。第一个问题已经解决。
第二个明天再验证吧,已经下班回家了,呵呵~~
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2009-3-25 09:32:35 | 显示全部楼层
图片已经出来了,但是还是乱码,您知道怎么回事么?
如附件图示

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2009-4-2 15:07:37 | 显示全部楼层
您好!十分感谢您的解答,问题已经圆满解决!
最近出差,所以回复慢了几天,呵呵~~~~~~~
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-5-17 09:19 , Processed in 0.074905 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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