Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Files upload problems
I cannot reproduce your problem, so It’s hard to make a suggestion.
the Upload path always should be a full file system path – not containing relative things
(unlike the image path which is always relative to your main textpattern install)
Maybe your clean urls are not working as expected? Do you get the same problem with messy urls? Do you get any messages when your turn production status to live? Do you get the same problems on a clean install as well?
Offline
Re: Files upload problems
It isn’t the URL’s I tried messy with the same result.
Do you know of a download counter script, because I didn’t find any good ones on Google.
Offline
Re: Files upload problems
I’m having the same problem with losing files uploaded through TXP. My host is one.textdrive.com. I have not changed the default setting of the file upload (to /var/tmp) and I check via the terminal that the files are in fact in the directory. But they disappear, mysteriously, after about 15 – 20 downloads (3 days or so). TXP has a facility (it seems) to ‘relocate’ the file — there is a drop-down that seems to refer to an ‘existing file’ — but I can’t seem to get that to do anything. I update my TXP through SVN every couple of days so I’m at rev. 55x
[correction…. 589! Good grief!]
Last edited by pwg (2005-07-23 23:45:46)
Peter Gallagher — www.petergallagher.com.au — inquit pty ltd
Offline
Re: Files upload problems
> to /var/tmp
tmp equaly temp equals temporary. The dictionary says: “impermanent: not permanent; not lasting;”. Therefor my suggestion is to change the Fule upload path to another diretory. maybe /fullpath/textpattern/files and then either re-upload or alternatively move those files manually from the old dir to the new dir.
Offline
Re: Files upload problems
Hi Sencer: Yes I guessed, too, that the /var/tmp directory must be cleaned out automatically. So I’m trying that right now. Thanks for the suggestion —- Peter
[Just noticed, in fact, that the latest update contains a directory named ‘files’. Hadn’t seen that before]
Last edited by pwg (2005-07-24 01:02:42)
Peter Gallagher — www.petergallagher.com.au — inquit pty ltd
Offline
Re: Files upload problems
I am also having weird problems with files utility. Will post back later more info.
Basicly I can´t get files upload via FTP working with correct download link. If textpattern recognize my existing files, then my download links are not working. When my downloads are working, textpattern says file status is missing and I can´t add files through FTP.
Getting quite annoying as my deadline is getting close and I had to be off from work due to sickness.
“The role of art is to make a world which can be inhabited.”
Offline
Re: Files upload problems
Yup, still having same problem. Symptoms are exactly same as thame descriped.
Tried on “messy” and “section/title” mode.
“The role of art is to make a world which can be inhabited.”
Offline
Re: Files upload problems
@t0ma: The amount of detail in your report is … less than optimal. I can’t reproduce the problem you describe. And without being able to reproduce it, I can’t fix it.
Maybe if you post diagnostics and tell me wether you are on a clean install or an upgrade, will enable me to reproduce the error. Thanks.
Offline
Re: Files upload problems
Hi again,
thank you for quick response.
My problem is with files utility. If i set files folder path to “ ../files “ in my site preferences, my files utility recognizes existing files in files folder. All the files in files utility show status ok and all diagnostics shows ok. Problem is that I can´t download anything. When I try to download something, I am forwarded to blank page with url: “ index.php?s=file_download&id=10 “.
Then when I change my files folder to “ files “ , in my site preferences, I can download those documents that were previously unaccessable. Still, in the files utility the files status to these articles is saying missing and I can´t add existing files anymore. All the diagnostics are still saying ok.
My files folder is in “ public_html/files “ and textpattern is installed in “ public_html/txp “.
I don´t have ReWrite lines in .htaccess but have tried with those too. Problem also appears in clean and messy mode. All the folders are chmodded correctly.
I am not any way expert with these but hope I gave enough info.
I am on uppgrade. I will do tomorrow clean install if that will solve problem. Maybe the tables are screwed or something, read something like that happening to somebody I think.
Best regards, Topi
p.s. Now of from Uni and to beach. Back on work tomorrow.
Textpattern version: 1.0rc5 (r705)
last_update: 2005-08-03 08:47:11/2005-08-03 08:43:00
Document root: /www/asiakkaat/barentss/public_html
$path_to_site: /www/asiakkaat/barentss/public_html
Textpattern path: /www/asiakkaat/barentss/public_html/textpattern
Permanent link mode: messy
Temp folder: /www/asiakkaat/barentss/public_html/textpattern/tmp
Site URL: www.barentsspecialists.net
PHP version: 4.3.11
Register globals: 1
Magic quotes: 1/0
MySQL: 3.23.56
Locale: en_GB.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
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
.htaccess file contents:
————————————
DirectoryIndex index.html index.htm index.php
————————————
“The role of art is to make a world which can be inhabited.”
Offline
Re: Files upload problems
What happens when you set the absolute path for files?
/www/asiakkaat/barentss/public_html/files
Offline
Re: Files upload problems
It makes me smile and grants you a free beer if ever happen to visit northern finland :D
Everything works just fine. Just thinking why I didn´t thought that before.
Vielen dank, Topi
“The role of art is to make a world which can be inhabited.”
Offline
Re: Files upload problems
Hehe, you’re welcome. I was just creating all the help items for the advanced-preferences, and made sure to mention that an absolute path should be used.
Oh, and let’s keep the cheese and beer discussions in one place, this makes it easier for us, once we start our world tour…
Offline