Author |
Topic |
Dan Martin
Average Member
USA
528 Posts |
Posted - 19 September 2002 : 12:13:27
|
Thanks for updating this for 3.4 Alex.
quote: Originally posted by dayve
another question, if you pick a private forum and select it as the NEWS page, it will show to ALL members. is this intentional?
The intent of this was for displaying public news. I don't quite understand the concept of private news, but I know you have the skills to modify it if you want .
quote: Originally posted by Lydecker
This MOD dosent seem to happy clappy with 3.4.0.3.
I get:
Microsoft OLE DB Provider for ODBC Drivers error '80040e21' ODBC driver does not support the requested properties.
/24/content/inc_news.asp, line 33
When trying to run homepage.asp
Lydecker, are you using Access? Which connection string are you using in config.asp?
-Dan |
Edited by - Dan Martin on 19 September 2002 12:18:59 |
|
|
Dan Martin
Average Member
USA
528 Posts |
Posted - 19 September 2002 : 12:22:51
|
quote: Originally posted by Lydecker
Cool - I've been waiting for this one - is there a demo anywhere?
THanks
It can also be seen on the www.councilofgrey.com home page. Although it's the 3.3 version, it *looks* the same. |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 19 September 2002 : 18:29:41
|
I am using MySQL (as denoted in my previous post ) - using the string provided in the config.asp file. I have no problems with the rest of my forum - just the news MOD dosent work
THanks for the help Dan |
|
|
nagasuma
Starting Member
1 Posts |
Posted - 20 September 2002 : 17:40:46
|
i installed the mod to v3.4.02 and i get the following error when i configure the forum to be the news forum
Microsoft VBScript runtime error '800a01a8'
Object required: 'rs'
/forum/admin_news_forum.asp, line 101
however, above this message, i do get that it was successful and the setup does occur correctly (i think) |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 20 September 2002 : 18:23:30
|
quote: Originally posted by nagasuma
i installed the mod to v3.4.02 and i get the following error when i configure the forum to be the news forum
Microsoft VBScript runtime error '800a01a8'
Object required: 'rs'
/forum/admin_news_forum.asp, line 101
however, above this message, i do get that it was successful and the setup does occur correctly (i think)
I get that ERROR as well as the one i posted above. PLEASE HELP US!!!
Thanks |
|
|
Mortalus
Starting Member
USA
6 Posts |
Posted - 20 September 2002 : 18:32:45
|
I'm getting this error as well:
Microsoft VBScript runtime error '800a01a8'
Object required: 'rs'
/forum/admin_news_forum.asp, line 101
Help would be greatly appreciated!
On version 3.4.02 |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 20 September 2002 : 19:19:24
|
Okay - we all get the same error on version 3.4.02+ |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 20 September 2002 : 19:21:46
|
quote: /forum/admin_news_forum.asp, line 101
Move line 101: rs.close
to be line 71 right after: rs.MoveNext Loop
quote: however, above this message, i do get that it was successful and the setup does occur correctly (i think)
It probably did do the setup, but came up with an error when it was trying to close something that wasn't open. Moving the line should fix that.
quote: I get that ERROR as well as the one i posted above.
I'm not that familiar with mySql ODBC yet so I'm not sure how to correct the other error you're getting. Does anyone else have this running with mysql and/or ODBC?
|
Edited by - alex042 on 20 September 2002 19:50:37 |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 20 September 2002 : 20:50:44
|
Okay - the admin error is fixed :) - Thanks!
Just the homepage.asp not working error now! Anyone else using MySQL and this MOD?
THanks |
|
|
Mortalus
Starting Member
USA
6 Posts |
Posted - 20 September 2002 : 23:12:42
|
quote: Originally posted by Lydecker
Okay - the admin error is fixed :) - Thanks!
Just the homepage.asp not working error now! Anyone else using MySQL and this MOD?
THanks
Yea, I fixed the previous error by moving the rs statement. How I just get a 404 error even when I try and use the default homepage.asp page. My directories are setup up correctly.
Any ideas??????? |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 20 September 2002 : 23:58:46
|
quote: How I just get a 404 error even when I try and use the default homepage.asp page.
What page is it trying to show in the address/location bar?
|
|
|
Mortalus
Starting Member
USA
6 Posts |
Posted - 21 September 2002 : 10:37:11
|
quote: Originally posted by alex042
quote: Now I just get a 404 error even when I try and use the default homepage.asp page.
What page is it trying to show in the address/location bar?
This is the page I was testing on:
http://www.constantvariable.com/test.asp
Here is the code to the page, since you probably won't be able to view it:
<!--#INCLUDE FILE="cgibin/news/config.asp" --> <!--#INCLUDE FILE="cgibin/news/inc_func_common.asp" --> <!--#INCLUDE FILE="cgibin/news/inc_header.asp" --> <!--#INCLUDE FILE="cgibin/news/inc_news.asp" --> <!--#INCLUDE FILE="cgibin/news/inc_footer.asp" -->
That's it, not very complicated. Basically it includes the include statements as listed in the read me file. I am not sure whats going on, looks ok to me, relative paths seems fine. I know it's trying to parse the test.asp file due to the fact that if I change one of the paths in the include statement it kicks back and error saying it can't find that file. It's just plain wierd. Any help you could give is GREATLY appreciated. |
Edited by - Mortalus on 21 September 2002 10:58:02 |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 21 September 2002 : 15:30:32
|
This is what I'm getting as an address:
quote: http://www.constantvariable.com/login.asp?target=test.asp
It looks like it's trying to log into a forum which is in a subdirectory. Snitz was basically designed to have all files contained in the same directory so when those files are moved around, some of the components can't find others. If you want them in seperate directories, then you'll probably have to tweak the code. I don't think it's in the News MOD code, but rather in one of the includes. The first place I'd look is in inc_header.asp where the login code is typically placed. You may want to consider integrating some other MODs, such as Univeral Login, if you want to use multiple directories.
|
|
|
Mortalus
Starting Member
USA
6 Posts |
Posted - 21 September 2002 : 16:39:03
|
Since incredibly savy has changing code, more specificaly what to change, would the universal login work and allow me to get around the problem? |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 21 September 2002 : 17:38:15
|
I was getting invalid number of arguments on line 54, variable ChkDate.
I changed it from:
Posted by <a href="<%=strForumURL%>/pop_profile.asp?mode=display&id=<%=rs.Fields("MEMBER_ID")%>"><%=rs.Fields("M_Name")%></a> On <%=ChkDate(rs.Fields("T_Date"))%> At <%=ChkTime(rs.Fields("T_Date"))%>
to say:
Posted by <a href="<%=strForumURL%>/pop_profile.asp?mode=display&id=<%=rs.Fields("MEMBER_ID")%>"><%=rs.Fields("M_Name")%></a> On <%=ChkDate(rs.Fields("T_Date"),1,8)%> At <%=ChkTime(rs.Fields("T_Date"))%>
and now it works. |
|
|
Topic |
|