| Author |
Topic Search Topic Options
|
Tegwin
Senior Member
Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
|
Post Options
Thanks(0)
Quote Reply
Topic: Making forums work on my site Posted: 30 November 2003 at 4:39pm |
|
I have created a site, with menus on the left and a main content area
in the middle. The main content area is a table. So what I would like
to know, is how to incorporate the forums so that they appear in my
main content area when someone clicks on the forum menu.
I have tried to add sections to the header and footer sections of the
forums but to no avail and then call the default.asp from the forum,
but this just returns a 404 error. . Can someone give me any ideas what
I need to do to get it to works
|
|
If you dont want my peaches, dont shake my tree
|
 |
MorningZ
Senior Member
Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
|
Post Options
Thanks(0)
Quote Reply
Posted: 30 November 2003 at 8:12pm |
404 error means it couldnt find the file...
so fix your code to point to the file in question... its not going to be any more difficult than that
|
|
Contribute to the working anarchy we fondly call the Internet
|
 |
Tegwin
Senior Member
Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
|
Post Options
Thanks(0)
Quote Reply
Posted: 30 November 2003 at 11:18pm |
|
Yes I know what a 404 error means. Trouble is what file is missing
there is no indication as to what it is because the default.asp
is there as are all the files I am pointing to within the default.asp
Edited by Tegwin
|
|
If you dont want my peaches, dont shake my tree
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2003 at 3:25am |
|
My bet is that this is not a 404 error, look more closly I'll bet it's a 500 internal server error.
Turn off friendly HTTP errors in IE and then report what the error message is so that we can help further.
|
|
|
 |
Tegwin
Senior Member
Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
|
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2003 at 4:04am |
Ok tahnks Borg.. I am not really sure what is going on here. Basically I have a file called forum.asp, which is called when someone hits the menu option. In the section, where I want the forum to appear, I have put the <!--#include virtual="forum/default.asp"--> now when I go to my site and click on the forum menu option I get the following message. So you're right borg, it is actually a 500 error. I am not really even sure if this is the right way to do it . I have changed nothing on the forum and just trying to include the forum/default.asp file.
HTTP 500.100 - Internal Server Error - ASP error Internet Information Services
Technical Information (for support personnel)
- Error Type:
Microsoft VBScript compilation (0x800A0411) Name redefined /temp1/common.inc, line 50, column 4
- Browser Type:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
- Page:
GET /temp1/forum/default.asp
|
|
If you dont want my peaches, dont shake my tree
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2003 at 4:46am |
|
Trying to include the whole frorum as an include file isn't really the
right way to do it, to place the forum in your sits design use the
header and footer files found in the includes directory of the forum.
By the way the error means that some of the variables used in your page are the same as those used in the forum and so clash.
|
|
|
 |
Tegwin
Senior Member
Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
|
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2003 at 7:13am |
|
Thanks I will give that a try...
|
|
If you dont want my peaches, dont shake my tree
|
 |
Tegwin
Senior Member
Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
|
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2003 at 11:22am |
|
Its sorted.. It all works well now.!!
|
|
If you dont want my peaches, dont shake my tree
|
 |