Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Required Reading - DBS Error
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 15 December 2008 :  17:21:25  Show Profile
Carefree, Etymon makes a good point. Your DBS file should be using CONFIG_NEW.

Required Reading v1.0
[INSERT]
CONFIG_NEW
(C_VARIABLE,C_VALUE)#("TPID","0")
[END]

<

Support Snitz Forums

Edited by - Davio on 15 December 2008 17:21:48
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 15 December 2008 :  21:20:45  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
Hey Davio, I just tried using alternative mod setup:
Required Reading v1.0
[INSERT]
CONFIG_NEW
(C_VARIABLE,C_VALUE)#("TPID","0")
[END]

and got this error:
-2147217900 | [Microsoft][ODBC SQL Server Driver][SQL Server]The name 'TPID' is not permitted in this context. Only constants, expressions, or variables allowed here. Column names are not permitted.

I am using Snitz 3.4.03 unfortunately and I do have the table FORUM_CONFIG_NEW in there.<

coaster crazy
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 16 December 2008 :  03:11:52  Show Profile  Visit Etymon's Homepage
weeweeslap,

try this:

[INSERT]
CONFIG_NEW
(C_VARIABLE,C_VALUE)#('TPID','0')
[END]

Notice that the quotes are now apostrophes.

Also, I have seen it coded this way as well:


[INSERT]
CONFIG_NEW
(C_VARIABLE,C_VALUE)#('TPID',0)
[END]

Notice that the 0 has no apostrophes around it.<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 December 2008 :  06:14:51  Show Profile  Visit HuwR's Homepage
see http://forum.snitz.com/forum/topic.asp?TOPIC_ID=25296 for instructions on using dbs<
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 16 December 2008 :  11:56:42  Show Profile
Wow, was almost certain that would have worked. This looks like it having us stumped.<

Support Snitz Forums
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 16 December 2008 :  12:18:13  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
Etymon, the apopstrophes did the trick!


Database Update


Adding new records..
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('TPID','0')

Value(s) updated succesfully
--------------------------------------------------------------------------------


Database setup finished

Now I'll continue on installing the rest of the script. Many thanks to everyone!<

coaster crazy
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 16 December 2008 :  15:59:36  Show Profile
OK - Learned something new about SQL Server's scripts. I'll put a second dbs file in future releases for those using it. I updated the file at SnitzBitz for future downloaders who use Sql.<

Edited by - Carefree on 16 December 2008 16:18:34
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 16 December 2008 :  18:51:44  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
I was reading the install file and noticed this where you indicate the changes to inc_header.asp:

%>
	<!--#INCLUDE FILE="inc_required.asp"-->
	</form>
	<%

However, in the highlighted portion below you only show:

%>
	<!--#INCLUDE FILE="inc_required.asp"-->
<%

No closing form tag. I figured that should be updated in case others run into trouble with that.
Thanks again for this mod
<edit 1>
and uhmm for some reason it's not working for me. I made a topic, added the topic number into the admin panel and doesn't seem to be redirecting / forcing people to view said topic. Login here: http://www.coastercrazy.com/
username: snitztest
pwd: snitzsnitz
Thanks
<edit 2>
I decided to check members who viewed and I get this message:
No required topic set.Refreshing

So I am thinking it is not updating the database after adding a topic number.<

coaster crazy

Edited by - weeweeslap on 16 December 2008 19:19:47
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 16 December 2008 :  20:14:16  Show Profile
I fixed that line error (the /form didn't belong there), thanks.

I'm just guessing, but I suppose you have data mixed from one version to the next.

If you don't mind, download the last version and see if it fixes it for you.<
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 16 December 2008 :  22:06:13  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message

Active Server Pages error 'ASP 0126' 

Include file not found 

/forum/admin_required.asp, line 36 

The include file 'CONFIG_NEW.asp' was not found. 


Mind posting a dl link for your config_new.asp file? I don't have one in my forum folder <

coaster crazy
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 17 December 2008 :  00:23:06  Show Profile
delete that "_new" (search/replace did it to me).<
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 December 2008 :  00:57:57  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
Hmm ok I got it. Went to the mod admin page, added a topic number, now my site wont load up. Check it out: http://www.coastercrazy.com/ I'll remove the db entry and mod once you take a look. Thanks.<

coaster crazy
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 17 December 2008 :  01:44:00  Show Profile
It shows that it's trying to load topic 19403. Is that the number you used?

I sent you EMail to show how it is supposed to be working (works on my site).<
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 December 2008 :  11:53:16  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
That is the correct number. I replied to your email!<

coaster crazy
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 18 December 2008 :  17:10:18  Show Profile
See your email. There was an error in your inc_header.<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07