Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problems with Private Messaging
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problems with Private Messaging

 Post Reply Post Reply
Author
SMR Group View Drop Down
Newbie
Newbie


Joined: 05 June 2006
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote SMR Group Quote  Post ReplyReply Direct Link To This Post Topic: Problems with Private Messaging
    Posted: 20 June 2006 at 5:08am
I've got two copies of the latest version of Web Wiz forums, one for development and one licensed that will be the production copy.  They're on different servers, both running MySQL.
 
I'm getting the same error with both.  User logs in and sees the "Private Messanger" link, but clicking that produces an error:
 
Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'intNumOfNewPM'

/pm_welcome.asp, line 84

That same error is produced from all the links to the pm_welcome.asp file, otherwise the PM system seems OK.  Any ideas?
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: 20 June 2006 at 12:46pm
Sounds like you may have a modified file or a corrupted file.

The variable is declared in the file 'includes/pm_check_inc.asp' which is called from the file 'includes/navigation_buttons_inc.asp'
Back to Top
SMR Group View Drop Down
Newbie
Newbie


Joined: 05 June 2006
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote SMR Group Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2006 at 3:35am
Originally posted by -boRg- -boRg- wrote:

Sounds like you may have a modified file or a corrupted file.
Thank you - a modified file, that's about right.
 
Being homepage-specific, I've moved the pm_check_inc.asp file into what is now a somewhat re-designed default.asp file.  Given that code is largely unchanged, I'm guessing it's an ordering issue, ie. Dim intNumOfNewPM has to come earlier in the routine?
 
The critical part of the code could go back into navigation_buttons_inc.asp if that's the case.


Edited by SMR Group - 21 June 2006 at 3:36am
Back to Top
SMR Group View Drop Down
Newbie
Newbie


Joined: 05 June 2006
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote SMR Group Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2006 at 4:51am
Scratch that last message, I shuffled the Dim intNumOfNewPM lines back into the navigation_buttons_inc.asp file and that's fixed it, previously the connection was being closed before the include.
 
Thanks for the pointer!
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: 21 June 2006 at 10:18am
I have changed the variable name in pm_welcome.asp for the latest version so that others don't have this issue when modifying the pages.
Back to Top
 Post Reply Post Reply

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.