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: General / Current Version (Old)
 HuwR's version
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

master of puppets
Junior Member

Canada
117 Posts

Posted - 30 June 2001 :  02:34:58  Show Profile  Visit master of puppets's Homepage  Send master of puppets an AOL message  Send master of puppets an ICQ Message  Send master of puppets a Yahoo! Message
any ideas yet??

"It's not how far you go, it's how go you far"
- Guy in Ski School
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 30 June 2001 :  04:29:51  Show Profile
guess what guyz... i found out what the problem is .!!

go down and search for this line :

strRoot = Server.MapPath(strCookieURL & "uploaded") & GetSlash & strFolder

replace it with this :-

strRoot = Server.MapPath(strCookieURL & "../uploaded") & GetSlash & strFolder

this thing works, it gets the picture uploaded in the directory...... but there is one thing that is fishy... lemme find a fix for that ..........

am so happy to find a small fix to something with snitz

Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 30 June 2001 :  04:45:36  Show Profile
ok guyz come to MOD implementation help forum and my thread "File Attachment Upload Error :- HuwR''s MOD ". i'm also discussing the same thing there.. u can follow that thread if u want to

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 30 June 2001 :  11:23:19  Show Profile  Visit HuwR's Homepage
If you are getting problems with the path, you must have created your directory in the wrong place.

the uploaded directory should be in your main forum folder not the MODS folder
you should not change the line to this

strRoot = Server.MapPath(strCookieURL & "../uploaded") & GetSlash & strFolder

strCookieURL should point to your main forum directory, if it doesn't then there is something wrong ie "/" or "/forum/" but should not point to "/forum/mods"




Go to Top of Page

Matthew
New Member

USA
91 Posts

Posted - 30 June 2001 :  11:40:14  Show Profile  Visit Matthew's Homepage  Send Matthew an AOL message  Send Matthew a Yahoo! Message
Where can I get a copy of HuwR's version? I must have missed it somewhere..

Matt
If everything seems to be going your way, you have obviously overlooked something.
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 30 June 2001 :  15:47:15  Show Profile
quote:

If you are getting problems with the path, you must have created your directory in the wrong place.

the uploaded directory should be in your main forum folder not the MODS folder
you should not change the line to this

strRoot = Server.MapPath(strCookieURL & "../uploaded") & GetSlash & strFolder

strCookieURL should point to your main forum directory, if it doesn't then there is something wrong ie "/" or "/forum/" but should not point to "/forum/mods"








If everyone has the same problem, that means the problem is with the code, not with how everybody implemented the MOD. Am I right ?

So the orignal Code of the MOD needs a fix. Thats what I think.

Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 30 June 2001 :  15:49:20  Show Profile
quote:

Where can I get a copy of HuwR's version? I must have missed it somewhere..

Matt
If everything seems to be going your way, you have obviously overlooked something.




You can find it inside MOD : Completed Add Ons.



Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 30 June 2001 :  19:21:33  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
quote:

If you are getting problems with the path, you must have created your directory in the wrong place.

the uploaded directory should be in your main forum folder not the MODS folder
you should not change the line to this

strRoot = Server.MapPath(strCookieURL & "../uploaded") & GetSlash & strFolder

strCookieURL should point to your main forum directory, if it doesn't then there is something wrong ie "/" or "/forum/" but should not point to "/forum/mods"



Huw, I have for sure put the folder in the correct place. In fact, I have put folders just about everywhere and it still doesn't seem to work. Go to my forum and try upload something: http://www.snowmobilefanatics.com/snofans :)

Thanks for the help.

__________________________________


Snowmobile Fanatics
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 30 June 2001 :  20:43:42  Show Profile
quote:


Huw, I have for sure put the folder in the correct place. In fact, I have put folders just about everywhere and it still doesn't seem to work. Go to my forum and try upload something: http://www.snowmobilefanatics.com/snofans :)

Thanks for the help.

__________________________________


Snowmobile Fanatics





Dude, if you just follow my post in MOD Implementation, you will make your image upload work in no time !

there are just 2 things you have to change.

1. Replace this with :-

strRoot = Server.MapPath(strCookieURL & "uploaded") & GetSlash & strFolder

this :-

strRoot = Server.MapPath(strCookieURL & "../uploaded") & GetSlash & strFolder

2. At the bottom of UploadEngine.asp , you will find this line window.opener.document.PostTopic.Message.value+= '[im .................

replace that whole line with this :-

window.opener.document.PostTopic.Message.value+= '[im.g]' + '<%= "/" & "forum" & "/" & "uploaded" & "/" & strFolder %>' + "/" + fname + '[/i.mg]';


This will make it work but it would be better if you go and check my post in that forum and u'll know what HuwR thinks about my way to make that work .



Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 30 June 2001 :  20:47:12  Show Profile
P.S. : In the above post, the [im.g] has a '.' . just remove it cuz i had put to show the code as alphabets , because it assumed it as a image... !!

HuwR says we have to change only one line and it will work. I didn't take that risk yet because mine is already working. You might take a look on that on this post :-

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=12087&FORUM_ID=94&CAT_ID=10&Topic_Title=File+Attachment+Upload+Error+%3A%2D+HuwR%27s+MOD&Forum_Title=Help%3A+MOD+Implementation



[ I had the same error you are having ] . It is not a problem with the uploaded directory, it is the problem with strCookieURL .!!

Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 30 June 2001 :  20:56:21  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Ok, thanks!


__________________________________


Snowmobile Fanatics
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 01 July 2001 :  00:00:22  Show Profile
HuwR, this guy has this problem :=

Microsoft VBScript runtime error '800a0046'

Permission denied

/snofans/Mods/UploadEngine.asp, line 164



I believe the error is because his host server does not upload feature.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 01 July 2001 :  11:56:45  Show Profile  Visit HuwR's Homepage
if you are going to try and have the same conversation in two different topics, then you are not going to get the correct responses you would expect.

I told you in tthe other post why the two peices of code are different and what to do to fix it, so why just ignore me ?

as for this error

Microsoft VBScript runtime error '800a0046'

Permission denied

/snofans/Mods/UploadEngine.asp, line 164


I believe the error is because his host server does not upload feature

I would imagine is a directory permissions issue, or it can't find the uploaded directory, but since my version of uploadengine does not have this many lines, I can't say for sure



Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 01 July 2001 :  13:07:27  Show Profile
I am not ignoring you HuwR. That would be the last thing i'ld do.

The thing is that I got my stuff working and I was trying to help Eric. Alright Eric, You should check out the post In MOd Implementation too where HuWr told me the solution to the problem.

Also give me the link for your forum. let me see what is the directory structure.

Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 01 July 2001 :  13:18:46  Show Profile
oooooo Guess What !!

HuwR you were right !! .. This is a problem with the directory structure. !!

eric dude, dont worry just check your email.. I've sent the updated file there. ignore the first email, just use the 2nd one. let me know if you have any more problems .


Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.51 seconds. Powered By: Snitz Forums 2000 Version 3.4.07