Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[已答复] uchome错误提示

[复制链接]
sun_void 发表于 2009-10-29 17:31:58 | 显示全部楼层 |阅读模式
UCenter info: MySQL Query Error
SQL:SELECT appid, type, name, url, tagtemplates, viewprourl, synlogin FROM [Table]applications
Error:Unknown column 'viewprourl' in 'field list'
Errno:1054


这个问题则么解决 我想要uchome的测试数据但是没有
回复

使用道具 举报

玻璃屋女孩 发表于 2009-10-29 17:33:58 | 显示全部楼层
检查配置文件中的uc信息是不是填错了
回复

使用道具 举报

云天一 发表于 2009-10-29 17:38:01 | 显示全部楼层
检查配置文件中的uc信息是不是填错了

    特别是id 和uc地址
回复

使用道具 举报

 楼主| sun_void 发表于 2009-10-30 15:44:15 | 显示全部楼层
ucenter的配置文件 还是uchome的
回复

使用道具 举报

玻璃屋女孩 发表于 2009-10-30 15:45:00 | 显示全部楼层
两个都检查一下
回复

使用道具 举报

 楼主| sun_void 发表于 2009-10-30 15:53:38 | 显示全部楼层
下面是ucenter的数据库链接

define('UC_DBHOST', 'localhost');
define('UC_DBUSER', 'root');
define('UC_DBPW', 'admin');
define('UC_DBNAME', 'tu');
define('UC_DBCHARSET', 'utf8');
define('UC_DBTABLEPRE', 'uc_');

下面是uchome的数据库连接

$_SC = array();
$_SC['dbhost']                  = 'localhost'; //服务器地址
$_SC['dbuser']                  = 'root'; //用户
$_SC['dbpw']                          = 'admin'; //密码
$_SC['dbcharset']                 = 'utf8'; //字符集
$_SC['pconnect']                 = 0; //是否持续连接
$_SC['dbname']                  = 't_home'; //数据库
$_SC['tablepre']                 = 'uchome_'; //表名前缀
回复

使用道具 举报

云天一 发表于 2009-10-30 15:55:29 | 显示全部楼层
uchome下面的id是否填错
按这里排查一下
http://faq.comsenz.com/viewnews-622
回复

使用道具 举报

 楼主| sun_void 发表于 2009-10-30 17:35:37 | 显示全部楼层
谢谢 我再仔细排查下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-14 11:38 , Processed in 0.078545 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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