Author |
Topic |
Actor
Starting Member
31 Posts |
Posted - 17 January 2004 : 21:33:29
|
OK, I'm very new at this asp lark, and I just know some smart******is going to post a link and tell me to use the search function in future, but.. I have, I just don't know what I'm looking for.
I'm asking just one question, is this...
%>
<!--#include file="inc_simple_slash.asp"-->
<%
...just supposed to be inserted to my asp home page (after adjusting the url) where I want the 'latest posts' to appear and it will work? I don't get any errors, the page just will not display.
|
|
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 18 January 2004 : 06:12:49
|
%> <!--#include virtual="/inc_simple_slash.asp"--> <%
Something like that instead (adjusted to your homepage, but remember the Slash in front) AND cookies to website. |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
|
Actor
Starting Member
31 Posts |
Posted - 18 January 2004 : 09:02:27
|
Thank you acoustica.
The cookies are already set to 'website', so I changed 'file' to 'virtual' but still I have no success. The files are uploaded in the right place, I changed the URL to point to that place and still I get 'there is a problem with the page etc etc'. I even uploaded a test asp page with only that 'include' code on it and that could not be displayed either.
I had the same problem attempting to use that 'universal login' mod and eventually gave up trying.
Am I missing something obvious? I feel pretty much an idiot as this seems to be the easiest mod to implement. Further suggestions would be most welcome. (I'm using msaccess) |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 18 January 2004 : 09:37:14
|
Actor, you should use simple_slash.asp instead for inc_simple_slash.asp in you homepage (and other non-forum pages). The inc_simple_slash.asp is to be used if you want to show the topics in other forum pages.
Also, you should change IE to not display friendly error messages, as that makes it a lot easier to bug-track. Instructions here |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
Actor
Starting Member
31 Posts |
Posted - 18 January 2004 : 21:44:40
|
Thank you masterao, I did as you suggested by using the simple_slash file rather than the 'inc' file. And my IE no longer shows friendly error messages, doing this allowed me to see that the 'include file' link thingy had an incorrect tag (I copied and pasted it from the first post in this thread). I rectified that problem and now my page displays... but still no sign of topics from the forum appearing.
I also saw a post on page 1 of this thread suggesting that further files should be included at the top of the simple_slash file. I did that also but, alas! still nothing happens.
Not very good at this am I? |
Edited by - Actor on 18 January 2004 21:47:08 |
|
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 19 January 2004 : 02:32:24
|
Have you remembered so set the Forum_Id's to show on top of inc_Simple_slash??? I recall it is set to 5 as default, maybe you don't have a forum_ID 5. Set it to "ANY" I can Imagine you get a blank (white) page at now??? |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
|
Actor
Starting Member
31 Posts |
Posted - 19 January 2004 : 06:00:52
|
Yep, I have a blank page but the forum ID is already set to "ANY". Does it only show the the messages posted AFTER the mod is installed, or will it automatically select the most recent entries made before the installation?
|
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 19 January 2004 : 09:26:22
|
Actor, could you post a link to the page which you are trying to display the latest topics on, and a link to a text-version of it? |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
Actor
Starting Member
31 Posts |
Posted - 19 January 2004 : 10:19:16
|
Sure can masterao,
www
www
As you can see, I have the two versions of the 'include' tag as a tester, as I don't know what the difference is, but niether seems to work.
|
Edited by - Actor on 20 January 2004 19:14:21 |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 19 January 2004 : 12:25:10
|
Ok, although you should only include simple_slash.asp once (it is incldued twice now).
I spotted the problem. You need to remove the <% and %> before and after the include-line. Include tags isn't asp-code, so they aren't needed.
Nice-looking forum, BTW. |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
Actor
Starting Member
31 Posts |
Posted - 20 January 2004 : 17:18:06
|
Wow, thanks masterao. It works!! I knew it was gonna be something silly that I missed. Thanks for the help.
(and the compliment! ) |
|
|
masterao
Senior Member
Sweden
1678 Posts |
|
batman
Starting Member
27 Posts |
Posted - 04 February 2004 : 11:54:43
|
I cant get simple_slash.asp to work outsite the forum - can any body helt me? |
|
|
ardsfc
Starting Member
29 Posts |
Posted - 24 February 2004 : 09:39:21
|
I'm receiving this error message, what's wrong?
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/comber/forum/inc_simple_slash.asp, line 46
|
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 25 February 2004 : 03:58:17
|
Your not trying to run the page "stand-alone" are you? it's supposed to be included into an existing forum page which has the config.asp included (to prevent the above error which is saying your connection string isn't defined basically)
If you want to run it stand-alone use the simple_slash.asp page instead of the inc_simple_slash.asp page |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
Topic |
|