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
 Mikes File Attachment MOD Version:3.4.xx - Error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hans_
Junior Member

Czech Republic
161 Posts

Posted - 11 July 2005 :  12:57:11  Show Profile  Visit hans_'s Homepage

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  Show Profile
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.
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 11 July 2005 :  13:21:40  Show Profile  Visit hans_'s Homepage
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.
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 19 July 2005 :  08:38:37  Show Profile  Visit hans_'s Homepage
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
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 19 July 2005 :  11:04:19  Show Profile  Visit hans_'s Homepage
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
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 22 July 2005 :  16:14:35  Show Profile
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.
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 22 July 2005 :  17:00:57  Show Profile  Visit hans_'s Homepage
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.
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 24 July 2005 :  12:05:24  Show Profile  Visit hans_'s Homepage
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.
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 25 July 2005 :  12:05:31  Show Profile
The issue might be lag during the upload. Try disabling antivirus and/or firewall before uploading to see if the problem is there.
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 25 July 2005 :  14:08:45  Show Profile  Visit hans_'s Homepage
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.
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 25 July 2005 :  14:53:34  Show Profile  Visit modifichicci's Homepage
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
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 25 July 2005 :  15:17:01  Show Profile  Visit hans_'s Homepage
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
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 25 July 2005 :  15:42:30  Show Profile  Visit modifichicci's Homepage
Yes there is an error, and i cannot see why...
The lines are
For i = 1 to LenB(value)
MyFile.Write chr(AscB(MidB(value,i,1)))
Next
and the function chr isn't recognize..
If the title file is written dir permission would be ok... but if you have done all the changes in files it could be a server error...

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 27 July 2005 :  12:11:07  Show Profile  Visit hans_'s Homepage
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.
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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07