Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - I have deleted the includes folder-Need H
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

I have deleted the includes folder-Need H

 Post Reply Post Reply
Author
mikewatts View Drop Down
Newbie
Newbie


Joined: 07 July 2003
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikewatts Quote  Post ReplyReply Direct Link To This Post Topic: I have deleted the includes folder-Need H
    Posted: 07 July 2003 at 12:14pm

Hi

I have stupidly deleted the forum/includes folder, luckily we backed up 3 days ago and replaced the folder but still nothing works.

here's the error

Microsoft VBScript compilation error '800a0411'

Name redefined

/members/forum/includes/pm_check_inc.asp, line 51

Dim intNumOfNewPM	'Holds the number of new pm's
----^

what do i need to do?

 



Edited by mikewatts
Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2003 at 12:53pm
Sounds to me like you have mod'ed page somewhere that already dim's the intNumOfNewPM variable. Now that you have reinstalled the default pm_check_inc.asp you are getting the redefined error.
Back to Top
mikewatts View Drop Down
Newbie
Newbie


Joined: 07 July 2003
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikewatts Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2003 at 12:58pm

thank-you for answering,

is this modified page likely to be anywhere obvious? what can i do to remedy it,



Edited by mikewatts
Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2003 at 1:22pm

If I had to guess, I'd say one of the following:

  • forum/default.asp
  • forum/forum_topics.asp
  • forum/forum_posts.asp

Look for Dim intNumOfNewPM on one of those OR just comment out the Dim intNumOfNewPM line from your pm_check_inc.asp and see if that clears it up. As long as the intNumOfNewPM variable is dim'ed on each page that is necessary, then you should be ok.

If you have Dreamweaver, you can use the Edit--Find/Replace and search an entire directory. I've found this invaluable for troubleshooting since I am an ASP newbie too.

Also, I keep a page in all my sites called revisions.asp or something that contains commented lines of my revisions. That way, if I have to upgrade an application or something, I have a roadmap to implement the mod's in the new version and a history of what I did. I learned that the hard way.



Edited by xeerex
Back to Top
mikewatts View Drop Down
Newbie
Newbie


Joined: 07 July 2003
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikewatts Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2003 at 1:26pm

I shall give that a go

thanks again, i may be back!

Back to Top
kbannon View Drop Down
Groupie
Groupie


Joined: 03 October 2002
Location: Ireland
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote kbannon Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2003 at 2:10pm
assuming you havent modified the look and feel then make a copy of the database from your forum then unzip all the files for the board again into your forum folder and then overwrite the unzipped database with your copied version - should work purfeckly 
(you will need to change the path to the Db though!)
I don't suffer from insanity, I enjoy every minute of it.
Back to Top
mikewatts View Drop Down
Newbie
Newbie


Joined: 07 July 2003
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikewatts Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2003 at 5:02pm

as i said we backed up a couple days ago so the files havent changed much apart from the odd bit of tweaking for the look of the site. No paths were changed or anything complicated was done since backing up. Which is why it seems strange to me that it shouldnt work now.

Oh well back at work tomorrow and will try to sort it out.

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.