discuz Nt 论坛整合出错,急啊!!!!!!!!!!在线等 本帖最后由 my19901006 于 2010-12-21 16:24:10 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 程序里是不是有static变量?检查一下,最好不要用 有可能使这个问题 可能是数据库问题,我换了一个数据库,现在发现连那个安装页面都不在了 bbs/install/index.aspx不见了 discuz整合好了,其实就是那么点事。分还是要给你们的 我把步骤列出来,以后怕有人遇到 1.dnt.config绝对于是要放在网站根目录 ,如果你的discuz是放在项目的子目录,比如放在项目里的bbs文件夹里,则需要把要把Dnt.config的<Forumpath>节点修改为<Forumpath>/bbs/</Forumpath> <?xml version="1.0"?> <BaseConfigInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Dbconnectstring>Data Source=ip地址;User ID=sa;Password=***;Initial Catalog=数据库名;Pooling=true</Dbconnectstring> <Tableprefix>dnt_</Tableprefix> <Forumpath>/bbs/</Forumpath> <Dbtype>SqlServer</Dbtype> <Founderuid>1</Founderuid> </BaseConfigInfo> 2.discuz的bin文件要复制到网站根目录的bin文件里面 3.web.config整合方法 在更目录的web.config<httpModules>节点中增加 <add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" /> 类似: <httpModules> <add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" /> </httpModules> 4.最好也把discuz!nt的config文件 和 cache文件都考到根目录再补充一点,在安装discuz nt数据库的时候,它要自动往数据库里的表dnt_usergroups、dnt_userfields 、 dnt_users添加内容,如果表里没内容的话,浏览就会报错。就是这个问题把我搞爆炸了。还好,解决了。 帮忙看下这段 代码。 asp.net页面刷新问题 怎样让window.open 弹出的窗口靠最右 asp:Literal 在aspx中的赋值问题, 问下,WWWROOT根目录的问题 如何处理这样一个字符串? gridview中的如果commandname="select"会选黑,我添加多个linkbutton,其他commandname<>"select"怎么也让他选黑?? 介绍一个免费的个人网站空间!支持asp,asp.net webform与winform中的treeview的区别 文件夹属性的选项卡没有了 读取XML文件出错,开始和结束不匹配 缩放图片之后,都成了像素点.为什么???
检查一下,最好不要用 有可能使这个问题
1.dnt.config绝对于是要放在网站根目录 ,如果你的discuz是放在项目的子目录,比如放在项目里的bbs文件夹里,则需要把要把Dnt.config的<Forumpath>节点修改为<Forumpath>/bbs/</Forumpath>
<?xml version="1.0"?>
<BaseConfigInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Dbconnectstring>Data Source=ip地址;User ID=sa;Password=***;Initial Catalog=数据库名;Pooling=true</Dbconnectstring>
<Tableprefix>dnt_</Tableprefix>
<Forumpath>/bbs/</Forumpath>
<Dbtype>SqlServer</Dbtype>
<Founderuid>1</Founderuid>
</BaseConfigInfo>
2.discuz的bin文件要复制到网站根目录的bin文件里面
3.web.config整合方法
在更目录的web.config<httpModules>节点中增加
<add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" />
类似:
<httpModules>
<add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" />
</httpModules>
4.最好也把discuz!nt的config文件 和 cache文件都考到根目录再补充一点,在安装discuz nt数据库的时候,它要自动往数据库里的表dnt_usergroups、
dnt_userfields 、 dnt_users添加内容,如果表里没内容的话,浏览就会报错。就是这个问题把我搞爆炸了。还好,解决了。