Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-11-28 22:31:33

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 101

TXP 4.2.0 File Upload no longer working

I’m afraid it’s that simple: it worked a few months ago, now it doesn’t.

First I checked the file size – it’s well within the 2MB default.
I double checked permissions – Publisher.
Tried a different browser – Chrome then IE9
Diagnostics – all good.

I can select a file (a 389kb .PDF) through “Browse.” I hit upload – Chrome shows percentage progress to 100%, IE9 just sits like a bump on a log for a few seconds, then BOTH clear the field where the file name was and there’s nothing added to the “Files.”

Client is desparate to have this promotion in place and I don’t understand what could be wrong.


Voice Actor – starting up a site for that good book stuff.

Offline

#2 2011-11-28 22:35:03

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: TXP 4.2.0 File Upload no longer working

Maybe not related to your problem, but you really should upgrade.
And who knows, maybe it helps :)

Offline

#3 2011-11-28 22:49:45

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 590
Website

Re: TXP 4.2.0 File Upload no longer working

Can you post diagnostics here? Has your host upgraded or modified its server software such as PHP?

Offline

#4 2011-11-28 23:16:29

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: TXP 4.2.0 File Upload no longer working

An interim solution:
FTP your file to the files folder. Then open Admin > Files, there you see a dropdown menu titled “Existing file”.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2011-11-28 23:17:59

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,578
Website

Re: TXP 4.2.0 File Upload no longer working

Are you using a plugin to upload with such as EBL_Upload? I don’t see a percentage progress indicator at all when using txp’s standard file upload.


TXP Builders – finely-crafted code, design and txp

Offline

#6 2011-11-28 23:45:51

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 101

Re: TXP 4.2.0 File Upload no longer working

I’m hunting for the FTP User and PW (most folks still in traffic right now).
I’m not using any Upload Plugin – it’s directly into Content > Files
Unsure if host has altered any settings.
I’ll upgrade ASAP once I get the FTP info UNLESS I can upgrade right from the backend.

Low detail Diag:

Textpattern version: 4.2.0 (r3275)
Last Update: 2010-04-15 03:19:24/2010-04-14 21:12:47
Document root: /var/chroot/home/content/k/m/3/km34144563/html (/home/content/k/m/3/km34144563/html)
$path_to_site: /home/content/k/m/3/km34144563/html
Textpattern path: /home/content/k/m/3/km34144563/html/textpattern
Permanent link mode: title_only
Temporary directory path: /home/content/k/m/3/km34144563/html/textpattern/tmp
Site URL: www.deafblindcampofmd.org
PHP version: 5.2.14
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: America/Denver
Server Local Time: 2011-11-28 16:37:24
DST enabled?: 0
Automatically adjust DST setting?: 1
Time Zone: America/New_York (-18000)
MySQL: 5.0.91-log
Locale: en_GB.UTF-8
Server: Apache
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.6.18-238.19.1.el5PAE
Admin-side theme: classic 4.2.0

Pre-flight check:
————————————
I know I know -bryana.
————————————

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
Options +FollowSymLinks
RewriteBase /

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php
</IfModule>

#php_value register_globals 0

————————————


Voice Actor – starting up a site for that good book stuff.

Offline

#7 2011-11-29 00:59:41

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: TXP 4.2.0 File Upload no longer working

Maybe its a stupid advice but have you checked that your file has no white space or dots in the name? If I remember correctly I had this same problem once and simply renaming the file solved it.

Offline

#8 2011-11-29 12:26:52

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 101

Re: TXP 4.2.0 File Upload no longer working

No, that wasn’t the answer, but it was good advice to remove spaces. I know that problem can happen, but I hadn’t thought to even try it, so thanks for reminding me!


Voice Actor – starting up a site for that good book stuff.

Offline

#9 2011-11-29 12:55:02

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: TXP 4.2.0 File Upload no longer working

BryanA. wrote:

No, that wasn’t the answer, but it was good advice to remove spaces. I know that problem can happen, but I hadn’t thought to even try it, so thanks for reminding me!

Ok , it was a try ;)
Anyway, just to be sure, my advice was directed also towards accented words, apostrophes and any other non ascii charachter.

Offline

#10 2011-11-29 21:25:17

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: TXP 4.2.0 File Upload no longer working

Does uploading images work?
If so, compare permissions on the files and images folder.

Offline

#11 2011-12-02 07:02:52

MarcoK
Plugin Author
From: Como
Registered: 2006-10-17
Posts: 248
Website

Re: TXP 4.2.0 File Upload no longer working

I had this same problem some week ago. Was the webserver’s manager that have modified some server configuration!

Offline

#12 2012-01-08 19:22:50

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 101

Re: TXP 4.2.0 File Upload no longer working

I’ve tried the Image upload as well as the File upload and neither work. After a long, frustrating time, I believe that the webserver modified some server config as well – I’ll be updating Textpattern to the latest.

Thank you for all your input and ideas – I was so ready to blame another person who briefly had permission to upload things – turns out it was just bad luck and timing, not a conspiracy.


Voice Actor – starting up a site for that good book stuff.

Offline

Board footer

Powered by FluxBB