Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Natterchat Development
 Natterchat Version 1.1
 Natterchat Version 1.1 Bug Fixes & Updates
 Forum Locked
 Printer Friendly
Author  Topic Next Topic  

Digital_Biscuit
King Coder

282 Posts

Posted - 16/07/2003 :  09:01:16  Show Profile  Visit Digital_Biscuit's Homepage
Here you will find all the bug fixes posted here.

You shall find the fixes, and the fix date. If you downloaded your copy before the specified date you may need to update your files to be safe.

Digi_B

Digital_Biscuit
King Coder

282 Posts

Posted - 16/07/2003 :  09:05:49  Show Profile  Visit Digital_Biscuit's Homepage
Login Bug Fix

This was corrected in version 1.0, and all pre release builds of version 1.1, however forgot in the final version.

Error Description
Users could log into the chat script with only a valid username. The password was not needed.

Fix
Change line 12 in login.asp to read:
varSQL = "SELECT * FROM USERS WHERE Username = '" & varUsername & "' AND Password = '" & varPassword & "';"

Date Changed
The date for this is unknown, the fixed version is the current downloadable version. Check your file to be sure

Digi_B
Go to Top of Page

Digital_Biscuit
King Coder

282 Posts

Posted - 16/07/2003 :  09:14:11  Show Profile  Visit Digital_Biscuit's Homepage
Houseclean Bug

Only appears in version 1.1, which includes all pre release builds that include houseclean.asp

Error Description
Houseclean logs people out after a period of inactivity. However, as it runs in users.asp then the way the script is at the moment it logs the person out correctly in the database, but whichever user loads houseclean.asp will have the appearance of logging out as it uses their name and their room, not the logged out users.

Fix
All these fixes are in houseclean.asp

line 39 change
arrExpiredUsers(i) = varUserID
to
arrExpiredUsers(i) = varUserID & ":" & varRoomID

then the array processing in line 48 to 53 change
if arrayEU = "yes" then
For F = LBound(arrExpiredUsers) To UBound(arrExpiredUsers)
call writeDB("INSERT INTO MESSAGES(UserID, RoomID, Message, Style, Colour, [Time]) VALUES(" & varUserID & ", '" & varRoomID & "', 'Has Logged Off', 'i', 'red', '" & varTime & "');")
call writeDB("UPDATE USERS SET RoomID=0, [Time]='" & varDate & "', Active=0 WHERE UserID = " & arrExpiredUsers(F) & ";")
Next
end if

to

if arrayEU = "yes" then
For F = LBound(arrExpiredUsers) To UBound(arrExpiredUsers)
'split the data
varData = split(arrExpiredUsers(F), ":")
call writeDB("INSERT INTO MESSAGES(UserID, RoomID, Message, Style, Colour, [Time]) VALUES(" & varData(0) & ", '" & varData(1) & "', 'Has Logged Off', 'i', 'red', '" & varTime & "');")
response.write "Logged out user " & varData(0) & " from room " & varData(1)
call writeDB("UPDATE USERS SET RoomID=0, [Time]='" & varDate & "', Active=0 WHERE UserID = " & varData(0) & ";")
Next
end if


Date Changed
16th July 2003 1pm GMT
Go to Top of Page

Digital_Biscuit
King Coder

282 Posts

Posted - 13/08/2003 :  20:25:41  Show Profile  Visit Digital_Biscuit's Homepage
Username Recognition

Appears in all versions

Error Description
After log in, if the username was entered with the incorrect case then when appearing in the users list it would look like all the others, not being identified as your own.

Fix
In login.asp add

rs.movefirst
varUsername = rs("USERNAME")

after line 16, just after else.

This will mean that the session variable is what is in the database and things will be ok

Date Changed
5th July 2004 - 22:30 GMT
Go to Top of Page

Digital_Biscuit
King Coder

282 Posts

Posted - 05/07/2004 :  22:33:46  Show Profile  Visit Digital_Biscuit's Homepage
Help File & Config.asp Error

Only version 1.1

Error Description
varDB variable is set to an unhelpful variable.

Fix
If you have a working copy of natterchat then ignore this, if not try changing lines 14 - 17 to the following:

'ACCESS DATABASE WITH ABSOLUTE PATH
'varDB = "location\to\database\natterchat11.mdb"
'ACCESS DATABASE WITH DATABASE IN SAME DIRECTORY AS CHAT FILES
varDB = server.mappath("natterchat11.mdb")

Update - Help File
We now have a more informative help file, with specific help for Brinkster users. This help file, [url]http://www.activity-weekends.co.uk/darren/natterchat/version11help.asp[/url], is on the website for those that have already downloaded version 1.1

Date Changed
5th July 2004 - 22:30 GMT
Go to Top of Page

Digital_Biscuit
King Coder

282 Posts

Posted - 08/07/2004 :  21:57:16  Show Profile  Visit Digital_Biscuit's Homepage
Admin Update

Version 1.1. Only for those that havent worked out how to change access to the admin

Update Description
I set it so it was IP dependent, however, non ASP people would not know how to change this, so i removed it!

Date Changed
8th July 2004 21:30 GMT
Digi_B
Go to Top of Page

Digital_Biscuit
King Coder

282 Posts

Posted - 09/07/2004 :  13:05:10  Show Profile  Visit Digital_Biscuit's Homepage
Houseclean Update

Version 1.1 only

Error Description
The script gave visual output of the users that it automatically logs out.

Fix
Delete Line 53 of houseclean.asp

Date Changed
9th July 2004 13:15 GMT

Digi_B
Go to Top of Page

Digital_Biscuit
King Coder

282 Posts

Posted - 26/07/2004 :  08:21:32  Show Profile  Visit Digital_Biscuit's Homepage
Admin Fix

Version 1.1 - For those users that have varDB set to server.mappath("natterchat11.mdb")

Error Description
This works fine for all the main chat files, but fails for admin as the files are in their own folder.

Fix
In all the admin files add
<%
varDB = server.mappath("../natterchat11.mdb")
%>

after
<!--#include file="../config.asp" -->

Date Changed
Not changed in download as its only for people that use varDB = server.mappath("natterchat11.mdb")

Digi_B
Go to Top of Page
   Topic Next Topic  
 Forum Locked
 Printer Friendly
© 2003 Natterchat Go To Top Of Page
Generated in 0.05 sec. Powered By: Snitz Forums 2000 Version 3.4.03