Author |
Topic |
|
MarsBar
Starting Member
49 Posts |
Posted - 10 September 2005 : 17:12:29
|
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
|
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
|
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 10 September 2005 : 18:00:05
|
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 |
|
|
MarsBar
Starting Member
49 Posts |
Posted - 10 September 2005 : 18:01:07
|
OK-ignore my first post as I misread readme. The errors in the second post are the ones I need help with.
Mark |
|
|
MarsBar
Starting Member
49 Posts |
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 10 September 2005 : 18:56:45
|
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 |
|
|
MarsBar
Starting Member
49 Posts |
Posted - 10 September 2005 : 22:16:46
|
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
|
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 11 September 2005 : 03:44:13
|
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 |
|
|
MarsBar
Starting Member
49 Posts |
Posted - 11 September 2005 : 04:17:18
|
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
|
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 11 September 2005 : 05:54:21
|
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 |
|
|
MarsBar
Starting Member
49 Posts |
Posted - 11 September 2005 : 08:17:01
|
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 |
|
|
kwhipp
Junior Member
USA
407 Posts |
Posted - 11 September 2005 : 23:50:52
|
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 |
|
|
MarsBar
Starting Member
49 Posts |
Posted - 12 September 2005 : 01:13:40
|
Thank you Kwhipp!
Mark |
|
|
|
Topic |
|