Author |
Topic |
RSADM
Starting Member
South Africa
24 Posts |
Posted - 13 August 2003 : 05:57:54
|
Any news for me as yet ? |
|
|
RSADM
Starting Member
South Africa
24 Posts |
Posted - 25 August 2003 : 09:29:05
|
quote: Originally posted by RSADM
Any news for me as yet ?
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 25 August 2003 : 11:03:54
|
So your forum is here: http://www.bdbdata.com/forum/ Your site poll file is here: http://www.bdbdata.com/site_poll.asp
Your setup.asp file is missing. Getting a 404 error when the file redirects to the setup.asp file. Upload the setup.asp file and we can see what the error is.
How does your includes look now? You're using <!--#include virtual="forum/config.asp"--> for your includes? |
Support Snitz Forums
|
|
|
RSADM
Starting Member
South Africa
24 Posts |
Posted - 27 August 2003 : 07:54:12
|
quote: Originally posted by Davio
So your forum is here: http://www.bdbdata.com/forum/ - correct ! Your site poll file is here: http://www.bdbdata.com/site_poll.asp - correct !
How does your includes look now? You're using <!--#include virtual="forum/config.asp"--> for your includes? - correct !
I have uploaded the setup.asp file to the live site http://www.bdbdata.com directory as well.
Just remember that the forum, although it is on .../forum - it is not in the same directory as the live site. It is on a virtual directory. /forum points to this location.
This is my error :
Active Server Pages error 'ASP 0126'
Include file not found
/setup.asp, line 46
The include file 'forum/inc_sha256.asp' was not found.
BUT the file is in the directory...
By now I realy don't know if I am coming or going ??? |
Edited by - RSADM on 27 August 2003 08:06:00 |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 27 August 2003 : 10:09:41
|
I don't really know if you're coming or going either.
Forget the setup.asp file. I know what the error is saying. It's saying it cannot connect to your database. So your site_poll.asp file is not finding your database file.
Your includes in your site_poll.asp file looks like this right?:<!--#include virtual="forum/config.asp"-->
<!--#include virtual="forum/inc_func_common.asp"-->
<!--#include virtual="forum/inc_func_secure.asp"--> You didn't change anything else in the site_poll.asp file, did you? |
Support Snitz Forums
|
|
|
RSADM
Starting Member
South Africa
24 Posts |
Posted - 27 August 2003 : 10:23:57
|
quote: Originally posted by Davio
I don't really know if you're coming or going either.
Forget the setup.asp file. I know what the error is saying. It's saying it cannot connect to your database. So your site_poll.asp file is not finding your database file.
Your includes in your site_poll.asp file looks like this right?:<!--#include virtual="forum/config.asp"--> - correct !
<!--#include virtual="forum/inc_func_common.asp"-->correct !
<!--#include virtual="forum/inc_func_secure.asp"-->correct ! You didn't change anything else in the site_poll.asp file, did you? nope
Keep in mind :
On my directory where the www.bdbdata.com is hosted there is no folder named "forum"... The forum folder is on another directory on the same server. We have multiple sites on this server. The bdbdata.com is for instance on 10.1.1.5. - the internal ip. The intranet is on 10.1.1.245 This forum is in the same directory (as a folder) on the .245 directory. The www.bdbdata.com/forum is a virtual link to the .245 directory.
Could it be that this is the problem ? Because there is no physical /forum folder in the www.bdbdata.com (10.1.1.5) directory ?
Please advise
|
Edited by - RSADM on 27 August 2003 10:27:32 |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 27 August 2003 : 12:01:55
|
That could probably be it. I have no way of testing it.
But we can try a simple test on your server. We will create 2 new files: test_include.asp and include.asp.
In include.asp you will have just this asp code:<% Response.Write "This include file is in the forum folder." %> Place this file in the forum folder.
In test_include.asp file you have this small bit of code:<html>
<head>
<title>Testing Include</title>
</head>
<body>
<!--#include virtual="forum/include.asp"-->
</body>
</html> Place this code in your root folder of your site. Then go to test_include.asp and see if the text shows up. If it does, then including files from a virtual directory does work.
And I am running out of ideas. lol |
Support Snitz Forums
|
|
|
tomasalsbro
Average Member
Sweden
818 Posts |
Posted - 27 August 2003 : 17:45:41
|
Hi,
sorry for jumping in to this subject, but I need to be clear of if an outside poll can be open for non-members to vote?
Cheers Tomas |
!-Keep distance in traffic-! www.whiplashinfo.se |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 27 August 2003 : 19:37:54
|
quote: Originally posted by tomasalsbro
Hi,
sorry for jumping in to this subject, but I need to be clear of if an outside poll can be open for non-members to vote?
Cheers Tomas
It behaves the same way as a featured poll does. So the answer is yes. |
Support Snitz Forums
|
|
|
RSADM
Starting Member
South Africa
24 Posts |
Posted - 28 August 2003 : 02:17:28
|
quote: Originally posted by Davio
That could probably be it. I have no way of testing it.
But we can try a simple test on your server. We will create 2 new files: test_include.asp and include.asp.
In include.asp you will have just this asp code:<% Response.Write "This include file is in the forum folder." %> Place this file in the forum folder.
In test_include.asp file you have this small bit of code:<html>
<head>
<title>Testing Include</title>
</head>
<body>
<!--#include virtual="forum/include.asp"-->
</body>
</html> Place this code in your root folder of your site. Then go to test_include.asp and see if the text shows up. If it does, then including files from a virtual directory does work.
And I am running out of ideas. lol
OK
All Done and guess what - I am the stupid one cause it does work... - When I ran the test include file I could see the text written on the screen.
What now ?
Is there no way I can send you some files to look at - maybe I am missing something ? |
Edited by - RSADM on 28 August 2003 03:02:03 |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 28 August 2003 : 03:30:05
|
You can post your connection string from your config.asp file. That might shed some light on the error. |
Support Snitz Forums
|
|
|
RSADM
Starting Member
South Africa
24 Posts |
Posted - 01 September 2003 : 06:35:39
|
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("dbname.mdb") '## MS Access 2000 using virtual path strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("dbname.mdb") '## MS Access 97 using virtual path
Is this what you want ?
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 01 September 2003 : 13:21:18
|
Have you tried using a direct path to your database?
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\dbname.mdb" '## MS Access 2000
If you don't know the direct path you can try looking in the forum Admin options, Server Variables section. Look for the APPL_PHYSICAL_PATH or PATH_TRANSLATED. Those should give you an idea to the direct path of your site. |
Support Snitz Forums
|
|
|
RSADM
Starting Member
South Africa
24 Posts |
Posted - 02 September 2003 : 02:01:41
|
I C LIGHT !!!
At least now I can see this "Site Poll Not Turned On"
Only thing is that the site poll is turned on in my admin settings...
Any suggestions ? |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 02 September 2003 : 13:08:52
|
Did you add all the site poll mod code in your config.asp file? Go to you admin options, Forum Valriables. Scroll down until you see the SitePoll variable in the left hand column. Check what value it has.
If the value is 1, then the site poll page isn't seeing the variable. If it is 0, and you are sure you have turned it on, then you are probably missing some code from the config.asp file.
In your config.asp file, what do you have set for your strPollURL and strPollAppURL? |
Support Snitz Forums
|
|
|
Topic |
|