Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Advice needed (functions_filters.asp)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Advice needed (functions_filters.asp)

 Post Reply Post Reply Page  12>
Author
kiklop View Drop Down
Groupie
Groupie


Joined: 14 July 2005
Status: Offline
Points: 137
Post Options Post Options   Thanks (0) Thanks(0)   Quote kiklop Quote  Post ReplyReply Direct Link To This Post Topic: Advice needed (functions_filters.asp)
    Posted: 18 July 2005 at 3:47pm

Hi to all,

 

After searching for quite a long time for adequate forum application (and after many questions about forum form on my site) I have decided to go with Web Wiz.

I had some difficulties in setting it, since I already had a membership database with various pages with restrict access but after some work up (to be precise I changed a lot of my older code on the site to use the new one) I uploaded the whole thing to server yesterday.

 

After getting used to admin section ( I have read that the new version 8 will bring some improvements in this regard and that’s great since I must confess that I was little confused with some sections) now it's running fine.

The only problem is that I get many Invalid use of Null: 'Replace' errors (functions_filters.asp lines 316, and 436) when old user try to log in.

I used my old users data, including usernames and emails, but I forced old users to reactivate their accounts trough "password recovery" process.

 
Now my question is; can I add on all format functions one check like

 If strInputEntry then

   …. Format process …

End If

 This will prevent that use of Null: 'Replace' errors  but I'm not sure if it will lead to some additional and maybe serious problems.

 

Thanks you in advance

 Mladen Sever

p.s.

website in question is www.dyxum.com and the forum is located at www.dyxum.com/dforum/ in case anyone interested.



Edited by kiklop - 18 July 2005 at 4:04pm
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2005 at 3:57pm
when the users where added to the new system did you put the username and email addresses through the filter files to make them the same as the forum system

ie so userames etc are changed to work correctly with the forum security systems
Back to Top
kiklop View Drop Down
Groupie
Groupie


Joined: 14 July 2005
Status: Offline
Points: 137
Post Options Post Options   Thanks (0) Thanks(0)   Quote kiklop Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2005 at 4:08pm
Originally posted by dj air dj air wrote:

when the users where added to the new system did you put the username and email addresses through the filter files to make them the same as the forum system

ie so userames etc are changed to work correctly with the forum security systems


Well, I'm not sure if I understood you correctly but I copy pasted the data from the old to the new access database. So i presume I didn't do it in the way you have asked.

Any suggestion on how to minimize those errors?
Can I modify functions_filters.asp as stated before and will that do the trick?

Thanks for help.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2005 at 5:17pm
These types of errors are usually coursed if there is no data to process.

You could always try checking if there is data first using something along the lines of:-

If NOT null(variableName) Then
Back to Top
kiklop View Drop Down
Groupie
Groupie


Joined: 14 July 2005
Status: Offline
Points: 137
Post Options Post Options   Thanks (0) Thanks(0)   Quote kiklop Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2005 at 5:31pm
Originally posted by -boRg- -boRg- wrote:

These types of errors are usually coursed if there is no data to process.

You could always try checking if there is data first using something along the lines of:-

If NOT null(variableName) Then


Thanks !!
You guys are great.
I will add this check to functions_filters.asp file. I wanted to be sure that is safe to do so without causing additional problems.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2005 at 5:46pm
you wiull have ot add it in other places not the function filters setcion, as this is what is calling the problem.

i believe.


you will need to do the check around the lines that are coursing the errors within the actual files.

please note im not to sure on this but think its right.
Back to Top
kiklop View Drop Down
Groupie
Groupie


Joined: 14 July 2005
Status: Offline
Points: 137
Post Options Post Options   Thanks (0) Thanks(0)   Quote kiklop Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2005 at 7:06pm
Originally posted by dj air dj air wrote:

you wiull have ot add it in other places not the function filters setcion, as this is what is calling the problem.

i believe.
you will need to do the check around the lines that are coursing the errors within the actual files.

please note im not to sure on this but think its right.


Thanks dj air for your suggestion.

I'm trying to figure out what is exactlly causing the problem (is on the register.asp file); what field (or fields) but unfortunattely I can't reproduce this problem myself, but i'm getting server error messages (trough small email notification aplication).

Thanks again.

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2005 at 7:15pm
if you look within the register.asp section you wiull see a list of formatSQLInput, remveformatting

is there a certain line within the page you where getting it?
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.