TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 262
  • Total: 262

Download Issue

Started by Danzka, February 26, 2008, 01:56:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Danzka

hey there first i want to thank you all for this great work on tinyportal it's really super well i started to notice that my members have some issues downloading some files from my website i use the default download manager the file size is completely okai i even can download and extract it from ftp but when i want to download it from the website i got 0kb file with archive not found error and the question is wht's goin on here i tried everythin' the permissions is okai and the linking is just perfect can anyone help, Thanks in Advance !!

Lesmond


Danzka

how nice of you to redirect me to search page, do you think iam n00b or somethin' iam searching for the past 4 and .5 hours here that's why iam posting DUH no one ever answered this question and the only one that did u ignored him !!

IchBin

No where in your first post did you indicate that you had searched. Not to mention, I know you didn't read the posting guidelines at the top of this very board either. Before you decide you would like to go off on a TP Team member maybe you should make sure you are following all the rules? Had you had said you search perhaps he wouldn't have said it?

Now, what are your download settings set to? A link to your PHP info page is probably needed as well. Also, what are your folder permissions, and who owns the files? By owner, I mean owner/group.

Danzka

well first of all iam a first class programmer iam online since 2002 and i know wht iam doing so don't ask me for permissions nor settings they are all perfect and by the way i can download files but some downloads are just 0 kb and when i download them from ftp they are just full size without problems where the problem on your script just mention the page and i'll fix it okai

Zetan

I often wonder how programing is a first language..

Did you actually bother to read IchBins reply.. or are you still moaning?

It would seem to be server, rather than code problems.

From a post in the Team boards:

Quote from: Thurnok on March 15, 2007, 05:54:10 PM
Ok, I'm assuming you asked IchBin or someone to change all the owner/group on your site again to famjegod.  This is the reason it is not working.

SMF runs as the "nobody" user.  Unless the "nobody" user is either the owner, or the group, AND owner or group (whichever is the nobody user) has write access, or you give write access to the WORLD category, SMF will not be able to write a file.  This means that when someone uploads, TP will put the info in the database (so you see it in the download manager and "think" it is there) but SMF will be unable to write the file to the server.  Therefore the file will actually not exist.  So when you go to download, you have a 0k file.

You have to do 1 of 2 things:
1) make either the owner or the group the nobody user and give it write access
2) give write access to world

I set the tp-downloads folder group to nobody and all files in it.  You can now upload / download without issue.  The rest of your site is still set as famjegod:famjegod as owner:group but as I suggested before and had done so before but it was changed (not by myself) it should be set as group nobody if you want SMF to be able to do things via the ACP like install packages and themes, etc.

Danzka

yes i did saw it and i already tried wht mentioned there and it's not working  and the question here can u even read i told you i can download some files and all of my files have the same permission so wht's goin' on it's not max_download_size issue either cuz i can download bigger files too, did i came to wrong place askin' for support, did u guys really wrote this portal !!

Dragooon

Yes they did, And you came to the right place, the only problem is you not answering them properly.

Did you moved the files from the server? Anything in the Forum Error Log?

Danzka


Zetan

There won't be errors. This is likely to be a File Permissions/Ownership problem.

Do you have full ownership of the files? IE; CHMOD the folder/file to 777 or 755, and it reverts back when you check the permissions again?

This website is proudly hosted on Crocweb Cloud Website Hosting.