Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 topic maker mod Active Server Pages error 'ASP 012
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarsBar
Starting Member

49 Posts

Posted - 10 September 2005 :  17:12:29  Show Profile  Visit MarsBar's Homepage
Active Server Pages error 'ASP 0126'

Include file not found

/topics/admin_topic_maker.asp, line 42

The include file 'config.asp' was not found.

This is the error message I get when I try to access topic maker from admin home.

Brinkster assures me they have set the proper permissions for the topics directory.

I thought I would mention that Brinkster had me change the script timeout at the top of the page to 90%.

I used the search but didn't find anything that would help me.

Mark

MarsBar
Starting Member

49 Posts

Posted - 10 September 2005 :  17:32:08  Show Profile  Visit MarsBar's Homepage
When I place admin_topic_maker.asp in with the rest of my forum files (instead of the topics directory) I get this:

Done processing topic number 1. - No such topic found.
Done processing topic number 2. - No such topic found.

Microsoft VBScript runtime error '800a004c'

Path not found

/admin_topic_maker.asp, line 109

Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 10 September 2005 :  18:00:05  Show Profile
It needs a path to be set correctly. You run it from the forum folder as you did in the second post, then you need to create a folder at the root level as in the code: strTopicPath = "/topics/" (provided it is the right version) and it should work fine, again provided the folder has write permissions.

If that doesn't help, please post a link to a text version of your admin_topic_maker.asp and I will let you know which line to change to reflect you folder.

Cheers,

David Greening
Go to Top of Page

MarsBar
Starting Member

49 Posts

Posted - 10 September 2005 :  18:01:07  Show Profile  Visit MarsBar's Homepage
OK-ignore my first post as I misread readme. The errors in the second post are the ones I need help with.

Mark
Go to Top of Page

MarsBar
Starting Member

49 Posts

Posted - 10 September 2005 :  18:11:50  Show Profile  Visit MarsBar's Homepage
Hello! This a link to the text

http://www.geocities.com/whitecrow2462/admin_topic_maker.txt

The version is the one offered at snitzbitz.

Mark

Edited by - MarsBar on 10 September 2005 18:13:51
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 10 September 2005 :  18:56:45  Show Profile
If you go to line 108 and look for the following in red:

TopicFile = Server.MapPath ("../topics/" & write_this & ".asp")

You just need to change that to where you would like the topics to be made. Please it in the root folder of whitecrowbayou.com so you have http://whitecrowbayou.com/topics/ (or whatever name you decide to call it), make sure it has write permissions on that folder and it should work.

Cheers,

David Greening
Go to Top of Page

MarsBar
Starting Member

49 Posts

Posted - 10 September 2005 :  22:16:46  Show Profile  Visit MarsBar's Homepage
David,

Using both

TopicFile = Server.MapPath ("http://whitecrowbayou.brinkster.net/topics/" & write_this & ".asp")

or

TopicFile = Server.MapPath ("http://whitecrowbayou.com/topics/" & write_this & ".asp")

I get this error...

Done processing topic number 1. - No such topic found.
Done processing topic number 2. - No such topic found.

Server.MapPath() error 'ASP 0173 : 80004005'

Invalid Path Character

/admin_topic_maker.asp, line 108

An invalid character was specified in the Path parameter for the MapPath method.

Mark


Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 11 September 2005 :  03:44:13  Show Profile
Mark,

It should be right to go like this:

TopicFile = Server.MapPath ("../topics/" & write_this & ".asp")

I take it that you did not have the folder topics before and that was why I think you where getting your errors.

Cheers,

David Greening
Go to Top of Page

MarsBar
Starting Member

49 Posts

Posted - 11 September 2005 :  04:17:18  Show Profile  Visit MarsBar's Homepage
David,

Yes, I had a topics folder since I first started trying to implement the mod. I originally had my admin_topic_maker file in the topics folder, yielding my original errors.

Am I understanding this right that I need to include the url address in the path?

TopicFile = Server.MapPath ("../topics/" & write_this & ".asp")

becomes

TopicFile = Server.MapPath ("http://whitecrowbayou.brinkster.net/topics/" & write_this & ".asp")

quote:
You just need to change that to where you would like the topics to be made. Please it in the root folder of whitecrowbayou.com so you have http://whitecrowbayou.com/topics/ (or whatever name you decide to call it), make sure it has write permissions on that folder and it should work.



Mark
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 11 September 2005 :  05:54:21  Show Profile
Mark,

you do not need the full url as the Server.MapPath places the http://www.whitecrowbayou.com URL in the version of Topic Maker you are using. Since looking at your forum, you only need the following:

TopicFile = Server.MapPath ("/topics/" & write_this & ".asp")

You have the forum from the root folder anyway. So change the line to the above.

I have reged on your site as David.

Cheers,

David Greening
Go to Top of Page

MarsBar
Starting Member

49 Posts

Posted - 11 September 2005 :  08:17:01  Show Profile  Visit MarsBar's Homepage
Hi David!
That put it to work, though I am now wondering how to keep it from listing topics in private forums. How do I configure it to not show private posts-or is it only listing the private posts that have been archived?

Mark

Edited by - MarsBar on 11 September 2005 08:32:38
Go to Top of Page

kwhipp
Junior Member

USA
407 Posts

Posted - 11 September 2005 :  23:50:52  Show Profile  Visit kwhipp's Homepage  Send kwhipp an AOL message  Send kwhipp an ICQ Message  Send kwhipp a Yahoo! Message
MarsBar -

The version you are using shows all private posts. If you want to exclude private posts and have an option to not include your archived posts, take a look at this version, http://whipp.us/topic.asp?TOPIC_ID=17.

- Kevin
Go to Top of Page

MarsBar
Starting Member

49 Posts

Posted - 12 September 2005 :  01:13:40  Show Profile  Visit MarsBar's Homepage
Thank you Kwhipp!

Mark
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.49 seconds. Powered By: Snitz Forums 2000 Version 3.4.07