源码论坛,商业源码下载,尽在锦尚中国商业源码论坛
标题:
【求助】安乐业有偿调试版-论坛通讯成功,安乐业通讯失败!高手请帮忙
[打印本页]
作者:
hyaline
时间:
2010-4-24 18:30
标题:
【求助】安乐业有偿调试版-论坛通讯成功,安乐业通讯失败!高手请帮忙
安装说明及视频都看仔细了,感觉配置也没什么问题,可安乐业的通讯就是不能成功。望高手能指点一二,不胜感激!~
说明:运行环境为本地phpnow
anleye.test.com anleye.test.com/bbs anleye.test.com/uc访问正常
[attach]5934[/attach]
[attach]5935[/attach]
[attach]5936[/attach]
config.cfg.php
<?php
/*
* 数据库
*/
$cfg['db']['host'] = 'localhost'; // 主机地址
$cfg['db']['user'] = 'root'; // 用户名
$cfg['db']['password'] = 'root'; // 密码
$cfg['db']['name'] = 'anleye'; // 库名
$cfg['db']['provider'] = 'mysql'; // 数据库类型
/*
* 文档根路径
*/
$cfg['path']['root'] = dirname(__FILE__) . '/';
$cfg['version'] = '0.1';
@date_default_timezone_set(PRC);
$cfg['time'] = time();
/*
* 站点信息
*/
$cfg['charset'] = 'gb2312';
$cfg['style'] = '2010a'; // 主题
$cfg['url'] = 'http://anleye.test.com/'; // 站点URL
$cfg['url_sale'] = $cfg['url'].'sale/';
$cfg['url_pinggu'] = $cfg['url'].'pinggu/';
$cfg['url_rent'] = $cfg['url'].'rent/';
$cfg['url_news'] = $cfg['url'].'news/';
$cfg['url_newHouse'] = $cfg['url'].'newHouse/';
$cfg['url_community'] = $cfg['url'].'community/';
$cfg['url_broker'] = $cfg['url'].'broker/';
$cfg['url_university'] = $cfg['url'].'university/';
$cfg['url_shop'] = $cfg['url'].'shop/';
$cfg['url_bbs'] = $cfg['url'].'bbs';
$cfg['domain'] = 'anleye.test.com'; // 域名
$cfg['debug'] = 0; // 是否发布状态0为发布
$cfg['path']['conf'] = $cfg['path']['root'] . 'conf/';
$cfg['path']['part'] = $cfg['path']['root'] . 'part/';
$cfg['path']['data'] = $cfg['path']['root'] . 'data/';
$cfg['path']['common'] = $cfg['path']['root'] . 'common/';
$cfg['path']['lib'] = $cfg['path']['common'] . 'lib/';
$cfg['path']['apps'] = $cfg['path']['common'] . 'apps/';
$cfg['path']['themes'] = $cfg['path']['root'] . 'themes/' . $cfg['style'] . '/';
$cfg['path']['template'] = $cfg['path']['themes'] . 'template/';
$cfg['site']['themes'] = $cfg['url'] . 'themes/' .$cfg['style'] . '/';
$cfg['path']['images'] = $cfg['site']['themes'] . 'images/';
$cfg['path']['css'] = $cfg['site']['themes'] . 'css/';
$cfg['path']['js'] = $cfg['url'] . 'common/js/';
$cfg['path']['url_lib'] = $cfg['url'] . 'common/lib/';
$cfg['auth_key'] = 'fangke_cc_on_board';// cookie验证hash值
$cfg['cityName'] = "无锡市"; //此处要与anleye.php里配置的名称要一致
$cfg['cityCode'] = 510; //此处为程序代码可以 也可以随便写3个数字
//在间隔时间内去数据库验证下Cookie ,设置为 0 即为每次都是在数据库中验证用户
$auth_time = 3600;
//发送邮件的方法("mail", "sendmail", "qmail", or "smtp").
$cfg['mail']['mailer'] = 'smtp'; //服务器类型 例:smtp
$cfg['mail']['host'] = 'smtp.022f.com'; //发信服务器地址:例:smtp.qq.com
$cfg['mail']['username'] = '022f'; //发信用户名
$cfg['mail']['password'] = '131311'; //发信密码
define('SYSTEM_ADMIN_ID', 1);
define('TABLEPREFIX','fke_');//表前缀
//Ucenter数据库配置文件
define('UC_ENABLE', '0'); //ucenter 开关
define('UC_CONNECT', 'mysql');
define('UC_DBHOST', 'localhost');
define('UC_DBUSER', 'root');
define('UC_DBPW', 'root');
define('UC_DBNAME', 'anleye');
define('UC_DBCHARSET', 'gbk');
define('UC_DBTABLEPRE', '`anleye`.uc_');
define('UC_DBCONNECT', '0');
define('UC_KEY', '52jscn');
define('UC_API', 'http://anleye.test.com/uc');
define('UC_CHARSET', 'gbk');
define('UC_IP', 'localhost');
define('UC_APPID', '3');
define('UC_PPP', '20');
?>
作者:
hyaline
时间:
2010-4-24 19:47
自己顶一下,研究一整天了。汗~~
作者:
hyaline
时间:
2010-4-25 12:47
看来这个问题求解似乎很难啊,高手牺牲两分钟看看啊{:2_240:}
欢迎光临 源码论坛,商业源码下载,尽在锦尚中国商业源码论坛 (https://bbs.52jscn.com/)
Powered by Discuz! X3.3