Author |
Topic |
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 11 July 2005 : 12:57:11
|
I tried to install this mod (Mikes File Attachment MOD Version: 3.4.xx ) http://www.snitzbitz.com/mods/details.asp?Version=All&mid=67
I tried to upload one file and I have following error:
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument
/2004/v_01/forum/outputFile.asp, line 55
OutputFile.asp is placed in root of the forum directory.
Please help. |
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
Edited by - hans_ on 11 July 2005 12:58:35 |
|
gelliott
Junior Member
USA
268 Posts |
Posted - 11 July 2005 : 13:16:33
|
Hans, in order to use this mod (or most other file attach mods), your server must have FSO (FileSystemObject) enabled, and the directory you are using (subfolder variable) must be writable to the public. These are both settings that need to be done on the server, but most hosting companies make these available. However, you may have to request FSO to be enabled (usually already is enabled), and you will definately have to request the subfolder directory to be given write permission.
If you haven't already requested the write permission, as required in the readme file, do that first, then check for errors. |
* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized. |
|
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 11 July 2005 : 13:21:40
|
Thank you gelliott, I will ask my hosting company a try again.
Regards Jan |
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
|
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 19 July 2005 : 08:38:37
|
I have FileSystemObject enabled (says my webhosting provider) and the error I still have. I am tried to install this upload MOD (http://www.snitzbitz.com/mods/details.asp?Version=All&mid=67 MOD Version:3.4.xx ), now i have after trying to upload file following error in pop up window:
Here is the outputFile.asp file as txt file : http://www.flashmedia.cz/test/outputFile.txt
In upload folder is than created folder with user and inside this folder are only a few bits of the uploaded file on the webserver.
Can you help me please?
|
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
Edited by - hans_ on 22 July 2005 02:07:34 |
|
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 19 July 2005 : 11:04:19
|
I tried to create the text file in the folder what needed and that works. I used this code to create text field file and this was successful:
<%
Const ForReading = 1, ForWriting = 2, ForAppending = 8
set fso = Server.CreateObject("Scripting.FileSystemObject")
set objSoubor = fso.OpenTextFile(server.MapPath(".") & "/mycreatedfile.txt",ForWriting,True,0)
response.Write(server.MapPath("."))
%> Please help me with installing this MOD. The FSO is enabled, what shall I do next? |
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
Edited by - hans_ on 22 July 2005 02:08:34 |
|
|
gelliott
Junior Member
USA
268 Posts |
Posted - 22 July 2005 : 16:14:35
|
hans, I don't know what the problem is - if you have write access and fso enabled, the file should work. I think your test in the past post proves you have fso and write access enabled, so I'm not sure what else could be wrong. Many people have used this mod without trouble, so it must be something you changed in the file, but I can't find it.
One possibility - you are testing this in a test directory, right? Did you get write permissions turned on for both the production location and the test location of your upload folder? The error is occurring when it is trying to write to a file, so it is acting like the write permissions are not present. Perhaps you tested flashmedia.cz/upload/ instead of flashmedia.cz/test/upload/ or something similar? |
* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized. |
|
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 22 July 2005 : 17:00:57
|
You are right gelliott: Many people have used this mod without trouble So I try to make another tests on clean files of forum and I will see, thank you very much for your answer. Regards hans_ |
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
|
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 24 July 2005 : 12:05:24
|
I tried to make another test and I have still the same error. If I try make upload, click the icon for uploading on post.asp page. Than I choose some e.g. JPG file from my PC as image here:
Than I have message Wait uploading image... And after some seconds i recieve this message in upload window:
On the serve I see only piece of uploaded file. That means I can write here, but is in a while interrupted. Upload dir on the server:
Why? |
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
|
|
Carefree
Advanced Member
Philippines
4208 Posts |
Posted - 25 July 2005 : 12:05:31
|
The issue might be lag during the upload. Try disabling antivirus and/or firewall before uploading to see if the problem is there. |
|
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 25 July 2005 : 14:08:45
|
Thank you. I tried it (without firewall and AV), but the same problem is still there. I am really helpless. |
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
|
|
modifichicci
Average Member
Italy
787 Posts |
Posted - 25 July 2005 : 14:53:34
|
Try setting the ScriptTimeout adding Server.ScriptTimeout = 90 ' default timeout to output file at the end just before the %> sign setting the value as hight as you need. It could work, but the value is often set from the server, so you can ask to your hosting. Another issue could be the speed of your connection. (that is assuming the files and dir permmission all right!) |
Ernia e Laparocele Forum di Ernia e Laparocele Acces - MySql Migration Tutorial Adamantine forum |
|
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 25 July 2005 : 15:17:01
|
I tried in the meantime test on local pc. The problem ist the same. On localhost should work it normally isn´t it? It creates folder with name of user as per usual, and than writes only a few bytes and than I have the same error as on the webserver. I think, the error must be somewhere out of internet connection.
You can try it also here http://flashmedia.cz/2004/v_01/forum/post.asp?method=Reply&TOPIC_ID=190&FORUM_ID=1 Login is user: demo pw: demo And than click on Insert an Image File and see what´s occured. Thank you.
quote: Originally posted by modifichicci
Try setting the ScriptTimeout adding Server.ScriptTimeout = 90 ' default timeout to output file at the end just before the %> sign setting the value as hight as you need. It could work, but the value is often set from the server, so you can ask to your hosting. Another issue could be the speed of your connection. (that is assuming the files and dir permmission all right!)
|
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
Edited by - hans_ on 25 July 2005 15:17:36 |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 27 July 2005 : 12:11:07
|
I tested it locally (Win XP Proff., SP 2, IE 6.0 ) on original files of Snitz forum 3.4.05 and I have still the same error on outputFile.asp, line 55. Has somebody any idea, where could be the problem please? Thank you in advance. Hans_
|
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
|
|
|
Topic |
|