Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-07-20 20:00:27

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Files upload problems

I’ve been having a few problems with the file download feature of my site.

It has been working perfectly for a while now, with about 300+ downloads, but all of a sudden, the files started to…disappear.

After only a few minutes of reuploading the files, they quickly disappear again showing up as “Missing”.

I’m really not sure why, because before the files disappear, I was able to download them and the “files” tab logged the single download.

I really need to get this fixed becasue I’m loosing quite a few downloads.

Thanks

Offline

#2 2005-07-20 20:48:09

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Files upload problems

Which version are you on? rc3? deanload or subversion (revision?)? Can you post your diagnostics page, please.

Offline

#3 2005-07-20 23:26:24

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Re: Files upload problems

Her it is

Textpattern version: 1.0rc3
Document root: /home/thame/public_html
$path_to_site: /home/thame/public_html
Textpattern path: /home/thame/public_html/textpattern
Permanent link mode: section_title
Temp folder: /tmp
Site URL: www.tom.frihost.net
PHP version: 4.3.11
Register globals: 1
Magic quotes: 1/0
Locale: en_US.UTF-8
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Apache version: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
————————————

Offline

#4 2005-07-21 01:44:13

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Re: Files upload problems

Any ideas?

Offline

#5 2005-07-21 03:55:32

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Files upload problems

Are you sure your web hosting company isn’t deleting them?


Alex

Offline

#6 2005-07-21 11:38:55

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Re: Files upload problems

That is a possibility, but the problem is that whenever I upload a file (even before they started disappearing), I never found them on my server. My file upload path is set to “/tmp” and when I created a 777 folder in the right directory, no files appeared when I upload them through the admin panel.

I’m willing to give someone an admin panel login if they would just fix it for me ;)

Offline

#7 2005-07-21 12:16:49

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Re: Files upload problems

OK, so I finally got the system to work basically. It now recognizes the directory as properly CHMODed, and I even have the option of adding the existing files through Textpattern.

The problem now is that the files can’t be downloaded. For example, whenever someone clicks on the download file, they are taken to a blank white page and the file is not downloaded. Also, the size of the file does not appear next to the name (ie. FILE_NAME.zip [] )

Any ideas what this is caused by?

Note: I’m also getting some funky *.dat files in there whenever I’ve uploaded a file.

Last edited by thame (2005-07-21 12:20:30)

Offline

#8 2005-07-21 12:59:58

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Files upload problems

Your file-path is probably set to the same as your temp dir. If that is /tmp that would explain the disappearing files. Maybe some one can give you hand and explain how to change dirs. This will be fixed in the upcoming versions.

Offline

#9 2005-07-21 13:24:28

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Re: Files upload problems

actually, my file upload path is set to ../files while my temp directory is set to /tmp

Offline

#10 2005-07-21 13:38:03

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Re: Files upload problems

If I set the path to /files and place my “files” folder in side the textpattern directory, the folder is not recognized as being writeable even if it appears writeable in every FTP prorgam.

The only reason I need the file feature is to have the download counter. Is there any script you know of that lets me do this?

Offline

#11 2005-07-22 01:42:36

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Re: Files upload problems

Please, any ideas about either another download counter, or how to fix this.

Offline

#12 2005-07-22 03:23:48

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Re: Files upload problems

OK, I overwrote the entire “textpattern” directory with a new download, but I’m still facing the same problem.

While the files don’t seem to be dissappearing anymore, whenever someone clicks on the link (ie. /file_download/1), they go to a blank white page without download popping up.

Please, any suggestions?

Offline

Board footer

Powered by FluxBB