Author |
Topic  |
richfed
Average Member
  
United States
999 Posts |
Posted - 30 June 2010 : 12:11:37
|
Installed - I think correctly. In testing, I attempted to use the MOD: clicked on the HF icon and that brought up a small window where I was to enter a description. I did and upon clicking on the Hall of Fame Button on that screen, received this error:
Microsoft OLE DB Provider for SQL Server error '80040e37'
Invalid object name 'FORUM_HALL_OF_FAME'.
/messageboard/pop_fame.asp, line 64
I am using Snitz .05, not .06 - could that be it? |
Edited by - richfed on 30 June 2010 12:14:23 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 30 June 2010 : 14:50:28
|
Sounds like you failed to first run the "hall_of_fame.asp" file while logged on as administrator. It creates the necessary table, etc. |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 30 June 2010 : 14:56:36
|
Correct ... I missed that ...
After running, the error is:
Microsoft OLE DB Provider for SQL Server error '80040e14' Column or parameter #1: Cannot find data type AUTOINCREMENT.
/messageboard/hall_of_fame.asp, line 140
|
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 30 June 2010 : 15:30:35
|
Missed the Sql Server statement. In Sql, autoincrement requires an underline (thus: auto_increment). Change line 139 to say:
|
 |
|
richfed
Average Member
  
United States
999 Posts |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 01 July 2010 : 04:44:28
|
If you changed "autoincrement" to "auto_increment", an error should show "Cannot find data type AUTO_INCREMENT."
That said, you should be able to use the "identity" command like this:
|
Edited by - Carefree on 01 July 2010 04:44:59 |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 01 July 2010 : 08:53:21
|
Yes, it did, Carefree ... the underscore was there in the new error message.
I am lost with this know. I just used that latest bit at Line 139. Is that what you meant to do? In any event, doing that created this error:
Microsoft OLE DB Provider for SQL Server error '80040e14' The definition for column 'HF_ITEM' must include a data type.
/messageboard/hall_of_fame.asp, line 140
Here is a text file of my Hall of Fame file as it stands now.
Thanks for assisting me in this. |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 01 July 2010 : 09:29:05
|
Well, this should do it. If not, we'll have to use a dbs file.
|
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 01 July 2010 : 09:49:58
|
Nope.
Microsoft OLE DB Provider for SQL Server error '80040e14' The definition for column 'HF_ITEM' must include a data type.
/messageboard/hall_of_fame.asp, line 144
 |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 01 July 2010 : 11:16:09
|
OK, dbs file it is. Save the following as "dbs_fame.asp" in your forum directory, run it from administrative console (mods).
|
Edited by - Carefree on 01 July 2010 12:09:39 |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 01 July 2010 : 11:32:41
|
Jeez --- running it says that the table already exist!
Hall of Fame 1.0
Dropping Table..
Table does not exist --------------------------------------------------------------------------------
Creating table(s)... CREATE TABLE FORUM_HALL_OF_FAME#INT#IDENTITY (1,1)#( HF_ITEM int IDENTITY (1, 1) PRIMARY KEY NOT NULL , HF_MEMBER_ID int NOT NULL , HF_MEMBER_NAME nvarchar(75) NOT NULL , HF_SUBJECT nvarchar(255) NOT NULL , HF_DATE nvarchar(14)not null NOT NULL , HF_DESCRIPTION ntext NOT NULL , HF_TOPIC_ID int NOT NULL , HF_REPLY_ID int NOT NULL ) Table already exists
--------------------------------------------------------------------------------
Database setup finished
I tried to place a post into the Hall of Fame anyway, but got the very same error I received in my first post.
|
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 01 July 2010 : 11:34:06
|
Is this how pop_fame.asp is supposed to look in your browser?
 |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 01 July 2010 : 12:11:05
|
quote: Originally posted by richfed
Jeez --- running it says that the table already exist!
Sorry, cursor jumped when I cut/pasted and it was corrupt. I fixed it above. |
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 01 July 2010 : 12:25:02
|
I get exactly the same errors on this, Carefree ... For some reason, it doesn't work on my forum.
How should pop_fame be reading right now? |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 01 July 2010 : 16:55:46
|
Copy/paste the error please, it should not be the same.
"pop_fame.asp"
|
 |
|
richfed
Average Member
  
United States
999 Posts |
Posted - 01 July 2010 : 17:48:29
|
Alright ... I redid pop_fame and the dbs file to what you have just currently posted. Ran the dbs file again.
Here is the message after running the database upgrade:
Hall of Fame 1.0
Dropping Table..
Table does not exist --------------------------------------------------------------------------------
Creating table(s)... CREATE TABLE FORUM_HALL_OF_FAME( HF_ITEM#INT#IDENTITY (1,1)# int IDENTITY (1, 1) PRIMARY KEY NOT NULL , HF_MEMBER_ID int NOT NULL , HF_MEMBER_NAME nvarchar(75) NOT NULL , HF_SUBJECT nvarchar(255) NOT NULL , HF_DATE nvarchar(14)not null NOT NULL , HF_DESCRIPTION ntext NOT NULL , HF_TOPIC_ID int NOT NULL , HF_REPLY_ID int NOT NULL ) Table already exists
--------------------------------------------------------------------------------
Database setup finished
I then went to a thread and clicked on the "HF" icon. That brought up a window that looks similar, but not exactly like the image I posted above. The cell to the right is not there this time ... just the 2 that say "Description" and the input cell with the "Hall of Fame" button below it.
----> Question: How can I change the background color in the left most field to that in the now gone [thankfully] right-most field?
After clicking on the "Hall of Fame" button, I get this error:
Microsoft OLE DB Provider for SQL Server error '80040e14'
Line 1: Incorrect syntax near 's'.
/messageboard/pop_fame.asp, line 64
----> Question: Am I doing something incorrectly, or is it the MOD?
Thanks for your patience, Carefree!! |
 |
|
Topic  |
|
|
|