Author |
Topic  |
|
campbell
Starting Member
6 Posts |
Posted - 21 July 2003 : 13:13:38
|
Hello,
Somehow everything has gone wrong...can anyone please help?
After activating the 'Membership Pending' feature within the 'Admin Options', the forum crashed, stating an error with the admin_accounts_pending.asp file.
I (stupidly)re-uploaded the local admin_accounts_pending.asp file but this has lead to further worries and now I can't even access the setup.asp page as it reports the following error:
Active Server Pages error 'ASP 0131' Disallowed Parent Path /~psa/forum/setup.asp, line 46 The Include file '../cgi-bin/Snitz/inc_sha256.asp' cannot contain '..' to indicate the parent directory.
Any suggestions/advice would be really appreciated.
Thanks,
Mark |
|
Dave.
Senior Member
   
USA
1037 Posts |
Posted - 21 July 2003 : 16:11:32
|
Have you tried moving your forum files out of the cgi-bin folder? |
 |
|
campbell
Starting Member
6 Posts |
Posted - 21 July 2003 : 16:25:39
|
Hi Dave,
The strange thing is, I've got all of the forum relatd files in a forum folder (www/forum). The only files in my cgi-bin folder are the whereami.asp and the database file.
Mark |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
campbell
Starting Member
6 Posts |
Posted - 21 July 2003 : 16:44:39
|
Hi Nikkol,
Thanks - I'll give it a go.
Mark |
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 21 July 2003 : 16:56:38
|
The error message tells you exactly what is wrong. When you edited your setup.asp file to look for inc_sha256.asp in some other folder, you caused the problem. Apparently your web server does not allow "parent paths" which is an IIS configuration setting that can prevent you from using the ../ syntax to go to a higher-level folder.
You can solve this by using includes that are fixed from the root of your web. Use include virtual instead of include file ex:
<!--#include virtual="/cgi-bin/myfolder/inc_sha256.asp"-->
|
====== Doug G ====== Computer history and help at www.dougscode.com |
 |
|
campbell
Starting Member
6 Posts |
Posted - 23 July 2003 : 07:36:29
|
Doug,
Sorry about the delay in replying. I had difficulties accessing the server.
Thank you for your advice. It worked for the inc_sha256.asp file error, but I now have an error reading:
Active Server Pages error 'ASP 0126'
Include file not found
inc_create_forum_mysql.asp, line 496
The include file 'forum/inc_create_forum_configvalues.asp' was not found.
I have tried using the same 'include virtual' method, but this doesn't seem to ne working.
Mark
|
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 23 July 2003 : 07:53:23
|
campbell, Most likely what you did is move some forum files from one folder to another using a program like FrontPage which will change all relative links in the files. It is recommended that you do not use FrontPage to modify your files (this includes moving them). The easiest solution is to re-upload fresh copies of all of your files from the zip (minus the database of course) to your forum folder. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
 |
|
campbell
Starting Member
6 Posts |
Posted - 23 July 2003 : 10:25:55
|
Thanks Nikkol,
I'll try that now.
|
 |
|
campbell
Starting Member
6 Posts |
Posted - 23 July 2003 : 10:57:52
|
Me again...sorry to be causing such hassle.
I re-uploaded the forum files from the snitz zip folder, and I can finally access the forum. Thank you!
However, I'm getting the original error in the 'Members Pending' section of the Admin Options. Just below where it reads:
NOTE: The following table will show you a list of registered users that are waiting to be authenticated. I'm getting the following error:
Microsoft VBScript runtime error '800a000d' Type mismatch: '[string: "16/07/2003"]' /~psa/forum/admin_accounts_pending.asp, line 403
Any suggestions? |
 |
|
|
Topic  |
|