Author |
Topic |
|
Tieko
Starting Member
Italy
4 Posts |
Posted - 30 January 2004 : 05:57:59
|
Snitz forum Platinum - Italian version - 3.4.03 The Forum is working very well, but if someone try to upload atachment into a post, the operation always fail. We get an Error HTTP 500.
Sorry for my bad english, i hope you can understand. :) Tieko.
if you need to try:
http://www.tieko.net/forum user : test pwd : test |
Edited by - Tieko on 30 January 2004 06:23:38 |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 30 January 2004 : 06:31:07
|
http error 500 is not actually an error, it is IE hiding the error from you.
you need to uncheck 'Show friendly http errors' under the Tools|Internet options menu in IE. |
|
|
Tieko
Starting Member
Italy
4 Posts |
Posted - 30 January 2004 : 09:29:52
|
Here you are the complete one :
Microsoft VBScript runtime error '800a004c'
Path not found
/forum/outputFile.asp, line 52
|
|
|
redbrad0
Advanced Member
USA
3725 Posts |
Posted - 30 January 2004 : 09:37:21
|
You need to check what Path is trying to be written to on line 52. Its basically saying the location you are trying to access a file that is either no longer there or the location has changed. Can you paste your code from line 45 - 52 so we can show you where its writing to the file. |
Brad Oklahoma City Online Entertainment Guide Oklahoma Event Tickets |
|
|
Tieko
Starting Member
Italy
4 Posts |
Posted - 30 January 2004 : 09:53:45
|
line 45 To 54
If allowFile and byteCount <= 500000 Then '##Maximum File size
value = UploadRequest.Item("blob").Item("Value")
'Create FileSytemObject Component Set ScriptObject = Server.CreateObject("Scripting.FileSystemObject") memberPath = Server.MapPath(subfolder) If not ScriptObject.FolderExists(memberPath) then ScriptObject.createFolder(memberPath) end if
|
|
|
Tieko
Starting Member
Italy
4 Posts |
Posted - 31 January 2004 : 05:59:50
|
Problem Solved :)
in line 6 of the file outputfile.asp there was: subfolder = "/public/data"
Looking the structure of the site trough FTP, the subdir data was not present. Now the function works well. We can send files , but i have another problem. I will write it here, but i not sure if i must create another thread..
At the end of the operation , the file is uploaded, but the browser does not return into the window of the post. WE have :
Error: 'opener.document.postTopic.Message' is it null or it is not an object.
and the window where there was the post, is changed to the main page.
|
Edited by - Tieko on 31 January 2004 06:01:52 |
|
|
|
Topic |
|