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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 proeder's Download Lib Mod 1.0
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

proeder
Junior Member

Australia
230 Posts

Posted - 01 March 2004 :  01:34:46  Show Profile  Visit proeder's Homepage
? Seesm you're either in the wrong topic or you got confused by two different mods. Your error indicates that sth is wrong with the attchment mod - here we are in the download mod topic. Which mod you wnat to install and which dbs do you use?

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

yadyam
Starting Member

7 Posts

Posted - 06 April 2004 :  17:25:28  Show Profile
I tried this great mod, but can't seem to get it to work right.
When adding a category, the mod creates a folder like "forum_downloads\myfolder".
I can then upload a file in this category. But when trying to download the file, the server can't find it.
It's looking for "forum_downloads/myfolder/myfile"
Is there a mix up with "/" and "\" ?

Please help me, cause I have announced this download section on my forum.
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 11 April 2004 :  22:59:41  Show Profile  Visit proeder's Homepage
The folder that will be created is in

Server.Mappath("./")\your_download_directory\your_category\your_file
(the file system path will use backslashes, right)

while the browser will look for the file in

http://yourdomain/your_forum_directory/your_download_directory/your_category/your_file

That's alll correct so far.
When you can see the download in your category, what is the link to the file itself like? Des it point to the file, and if yes, does the iusr account have the correct permissions?

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

yadyam
Starting Member

7 Posts

Posted - 12 April 2004 :  06:57:31  Show Profile
Hi again.
When the folder is created, it's called "/forum_downloads\myfolder". I can't access the folder, and I can't download from it.
The link to the file is "/forum_downloads/myfolder/myfile.doc"
I don't know anything about IUSR account, cause it's setup by my host. But I assume that it's ok.

/yadyam
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 12 April 2004 :  08:29:39  Show Profile  Visit proeder's Homepage
I checked that again (I used the admin_downloads.asp from the zip file) and it definitly works. So let's see whats going wrong with your configuration...

Let's assume you have your forum in www.domain.com/forum/
You would then
1. create a subdirectory in the /forum/ directory called /downloads - you would create that folder with your ftp client
2. access this folder with the browser by browsing to www.domain.com/forum/downloads" target="_blank">http://www.domain.com/forum/downloads (if your host set up the webserver correctly you would get a Listing denied error)
3. assure that the folder has write / change permissions for anonymous access - that's the job of your host
4. got to admin section to configure downloads and enter the created directory in the top part of the admin page - just enter downloads and hit on submit. The script will check if the permissions on the folder are set correctly.

If everything was correct so far you may create a category called Democat - the script would create a folder called democat as a subfolder of /downloads. You might use your ftp client again to check if the folder has been created.

If you upload a file called file.txtin that category, a link to the file will be saved in the database; the link entry would like downloads/democat/file.txt so that the link itself would point to www.domain.com/forum/downloads/democat/file.txt" target="_blank">http://www.domain.com/forum/downloads/democat/file.txt

That's why the downloadfolder has to be in the forum directory.

Again: This should work, I installed the mod again to check that.

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

yadyam
Starting Member

7 Posts

Posted - 12 April 2004 :  09:26:02  Show Profile
Thanks for your quick reply.
I have checked my permisions on the server, and I have write/change permisions.
But still, when I browse in my FTP client, the folder is "/forum_downloads\myfolder"
And the file is download is pointing to "/forum_downloads/myfolder/myfile.doc"
The server is running ChiliASP, and the databse is MySQL. Could this be a problem?
Could I do anything to check that my script is creating the folder proberly?

/yadyam
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 12 April 2004 :  17:45:39  Show Profile
There is your issue there. ChiliASP does not allow for the windows scripting host which this mod uses to upload.
quote:
Originally posted by yadyam

The server is running ChiliASP, and the databse is MySQL. Could this be a problem?
Could I do anything to check that my script is creating the folder proberly?
You need to run it on a windows hosted system from past experience.

Cheers,

David Greening
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 12 April 2004 :  23:09:40  Show Profile  Visit proeder's Homepage
Didn't I mention that?

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 13 April 2004 :  05:58:16  Show Profile
I am sure you did, but it just takes a few hundred more times to be said...
quote:
Originally posted by proeder

Didn't I mention that?

You can never say it to many times..

Cheers,

David Greening
Go to Top of Page

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 16 April 2004 :  10:46:17  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
So has anybody put Proeder's Downlaod Lib Mod into action yet, I'd like to have a look at it, in english though, no offence Proeder lol

Steve
Drogheda, Ireland @ www.droghedatown.com
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 16 April 2004 :  19:11:01  Show Profile
I have, but it is only for registered user to use. It is in English and it works good like the other mod Proeder did the update on.

Cheers,

David Greening
Go to Top of Page

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 16 April 2004 :  21:44:52  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
Well I installed it and i was more than happy with it, exactley what I was looking for and easy to install, ie very few problems that couldn't be fixed by an amateur

Great Mod Proeder

I think you should take on a mod for a photo album next

Danke schön!

Steve
Drogheda, Ireland @ www.droghedatown.com
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 01 May 2004 :  23:10:27  Show Profile  Visit proeder's Homepage
Well there are few photo album mods out there which seem to work quite well...

Thanks anyways. But I love more and more the use of additional third party components which provide upload and photo album features to which most of the snitz users cannot revert as they are on any shared hosting. It is not the worth the effort building mods based on the use of such components because there are so many different components out there.


Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous 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.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07