Print Page | Close Window

Problems with Private Messaging

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20363
Printed Date: 11 April 2026 at 11:32am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problems with Private Messaging
Posted By: SMR Group
Subject: Problems with Private Messaging
Date 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?



Replies:
Posted By: WebWiz-Bruce
Date 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'


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: SMR Group
Date 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.


Posted By: SMR Group
Date 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!


Posted By: WebWiz-Bruce
Date 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.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net