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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已解决] 已经解决!uc界面不正常显示+所有应用通信失败+备份时提示“未知错误”

[复制链接]
 楼主| t-house 发表于 2009-1-21 13:36:19 | 显示全部楼层
10# 下砂
昨晚我的论坛首页

出现:
Discuz! info: MySQL Query Error

User: Mx、
Time: 2009-1-20 10:10pm
Script: /index.php

SQL: SELECT t.tid, t.author, t.authorid, t.subject, t.dateline, t.lastpost, t.lastposter, t.views, t.replies, t.highlight, t.highlight, f.fid, f.name FROM [Table]threads t LEFT JOIN [Table]forums f USING(fid) WHERE f.fid IN(,45,27,29,16,2,36,33,17,18,23,21,31,32,22,35,34,39,4,9,7,11,6,15,14,8,10,12) AND f.fid=t.fid AND f.fid not in (0) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0,8
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '45,27,29,16,2,36,33,17,18,23,21,31,32,22,35,34,39,4,9,7,11,6,15,14,8,10,12) AND ' at line 1
Errno.: 1064

Similar error report has been dispatched to administrator before.

http://faq.comsenz.com 搜索此错误的解决方案


------------------------------


我到http://faq.comsenz.com/?action-viewnews-itemid-173这里看,然后就修改了一下config.inc.php,但是现在uc就白屏了!!
回复

使用道具 举报

 楼主| t-house 发表于 2009-1-21 13:37:15 | 显示全部楼层
之后用https://discuz.dismall.com/thread-1046632-1-1.html
修复下config文件,单手后来uc进去就白屏了
回复

使用道具 举报

 楼主| t-house 发表于 2009-1-21 13:46:16 | 显示全部楼层
回复

使用道具 举报

 楼主| t-house 发表于 2009-1-21 13:53:47 | 显示全部楼层
人呢???????????
回复

使用道具 举报

 楼主| t-house 发表于 2009-1-21 14:07:59 | 显示全部楼层
:@
回复

使用道具 举报

下砂 发表于 2009-1-21 14:20:44 | 显示全部楼层
config.inc.php文件修改了那些选项啊?
回复

使用道具 举报

 楼主| t-house 发表于 2009-1-21 14:23:37 | 显示全部楼层
config.inc.php文件修改了那些选项啊?
下砂 发表于 2009-1-21 14:20
用官方的repirconfig.php修复,
https://discuz.dismall.com/thread-1046632-1-1.html
回复

使用道具 举报

 楼主| t-house 发表于 2009-1-21 14:26:34 | 显示全部楼层
用那个修复,好像是覆盖了
回复

使用道具 举报

 楼主| t-house 发表于 2009-1-21 14:31:30 | 显示全部楼层
<?php
define('UC_DBHOST', 'localhost');
define('UC_DBUSER', 'sq_teenz');
define('UC_DBPW', '*******');
define('UC_DBNAME', 'sq_teenz');
define('UC_DBCHARSET', 'gbk');
define('UC_DBTABLEPRE', 'uc_');
define('UC_DBCONNECT', 0);
define('UC_CHARSET', 'gbk');
define('UC_FOUNDERPW', '2466b03c5a108a2f543cd2cf14b1cfca');
define('UC_FOUNDERSALT', '297649');
define('UC_KEY', '67308YbfeUaS9taF9k6y1LcG2m4Y2Z4t4i4Nbi83ci8Z4db5cHbmf2c97E9W7e8p');
define('UC_SITEID', '6m3e8VbRecaC9Pa79u641Pcx2n4h274n4P4Nb58qcA8Y42bAcxbcfgc57x9M7w8K');
define('UC_MYKEY', '6n3P8wbwe3a198a49T6b1Scu2K4J20444L4bbU8Pch8i4xbTcvbgf5cq719R7T8T');
define('UC_DEBUG', false);
define('UC_PPP', 20);
?>
回复

使用道具 举报

 楼主| t-house 发表于 2009-1-21 14:33:11 | 显示全部楼层
建议检查一下 UCenter 目录下的 data/config.inc.php 和应用下面的配置文件中的配置信息是否正确。这里需要注意一下,应用下的配置文件中的 define('UC_DBTABLEPRE', '`xx`.uc_'); xx 是 UCenter 的数据库名,但是 UCenter 下的配置文件中的 define('UC_DBTABLEPRE', 'uc_');  UC_DBTABLEPRE 后面的 ‘uc_’ 前不需要再加任何信息。

这句话不明白,
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-8 01:20 , Processed in 0.347938 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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