Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Error 500 uploading files into post
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Tieko
Starting Member

Italy
4 Posts

Posted - 30 January 2004 :  05:57:59  Show Profile
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  Show Profile  Visit HuwR's Homepage
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.
Go to Top of Page

Tieko
Starting Member

Italy
4 Posts

Posted - 30 January 2004 :  09:29:52  Show Profile
Here you are the complete one :

Microsoft VBScript runtime error '800a004c'

Path not found

/forum/outputFile.asp, line 52
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 30 January 2004 :  09:37:21  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
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
Go to Top of Page

Tieko
Starting Member

Italy
4 Posts

Posted - 30 January 2004 :  09:53:45  Show Profile
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
Go to Top of Page

Tieko
Starting Member

Italy
4 Posts

Posted - 31 January 2004 :  05:59:50  Show Profile
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07