Textpattern Forum

You are not logged in. Register | Login | Help

#1 2011-11-13 21:52:46

kevinpotts
Member
From: Kansas City
Registered: 2004-12-07
Posts: 364
Website

class.thumb.php fails upload

Does anyone has any clue why the file class.thumb.php fails uploading every time? I’m using Network Solutions. It either times out completely and gives me a zero byte file, or only half the file. I have tried:

  • Binary, ASCII and Auto-detect uploading
  • Renaming and uploading
  • Using a different FTP client
  • Using the web-based file manager

Never run into this before, and I am beginning to suspect its Network Solutions, not me.

Thoughts?

Offline

#2 2011-11-13 22:49:33

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

Re: class.thumb.php fails upload

Tried uploading it to a different folder, an empty one somewhere else in the tree for example? If that works maybe you could just add a symlink to it. :-)

Offline

#3 2011-11-14 00:04:22

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 1,898
Website

Re: class.thumb.php fails upload

Check the CHOWN settings for that file? Sometimes I get that problem with cnk_versioning and my host provides a way to reset the ownership permissions for certain files (Im barred from doing it with an ftp client). That usually resolves it for me, maybe for you?


TXP Builders – finely-crafted code, design and txp

Offline

#4 2011-11-14 03:08:42

kevinpotts
Member
From: Kansas City
Registered: 2004-12-07
Posts: 364
Website

Re: class.thumb.php fails upload

Uploading to a different folder does not work.

I have no idea what a CHOWN is. :)

Offline

#5 2011-11-14 04:18:08

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

Re: class.thumb.php fails upload

Yeah, to check on this chown (who owns the file) stuff, can you log in via SSH? Like open a terminal and go in via ‘ssh kpotts@yourserver.com’?

If so you can usually type ‘cd public_html’ or ‘cd public_html/myproject’ and then type ‘ls -l’ to get more information on the files, like this;

-rwxr--r-- 2 kpotts users 4096 2010-04-23 03:11 class.thumb.php

And sometimes you can see a problem brewing when you see ‘nobody’ there instead of ‘kpotts’, for example.

Last edited by maruchan (2011-11-14 04:19:11)

Offline

#6 2011-11-14 08:45:22

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 1,898
Website

Re: class.thumb.php fails upload

Uploading to a different folder does not work

Hmm, that doesn’t sound like CHOWN then if a fresh file can’t be uploaded anywhere else…

As Marc said, CHOWN is who owns and may change a file. Sometimes a process writes a file itself will block you from changing it. It can help to go back and reset the ownership permissions for that file/folder (I guess that’s an option in your host’s control panel). If you don’t have ssh access, you may be able to at least see the info with your ftp client. With Transmit for example, you do command-I for “Get Info” and it shows me “owner” and “group” names beneath the read/write/execute grid you normally use for CHMOD.

Another loose idea: you’re not over quota for that account/sub-account or something simple like that??


TXP Builders – finely-crafted code, design and txp

Offline

#7 2012-05-14 14:30:55

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: class.thumb.php fails upload

Kevin, did you ever get to the bottom of this? I’m having the exact same issue.

And the hosting company? Network Solutions :-o

Offline

#8 2012-05-14 15:13:08

kevinpotts
Member
From: Kansas City
Registered: 2004-12-07
Posts: 364
Website

Re: class.thumb.php fails upload

pieman wrote:

Kevin, did you ever get to the bottom of this? I’m having the exact same issue.

Nope. And I have never seen the issue with any other host.

Offline

#9 2012-05-16 10:48:18

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: class.thumb.php fails upload

Kevin, this is probably no use to you now, but I resolved this by zipping the file and ftping it up to the server, then calling Network Solutions support and getting them to unzip it.

This phone call took a mere 25 minutes, including 2-3 minute pauses while they “unzipped the file”, “downloaded the file” and then “moved the file”. It was quite an eye opener.

Can’t wait til the next upgrade :-)

Offline

#10 2012-05-16 11:28:16

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 4,951
Website

Re: class.thumb.php fails upload

Couldn’t you just remotely unzip the file using a php script?

Last edited by colak (2012-05-16 11:28:41)


Yiannis
——————————
neme.org | neme-imca.org | hblack.net | LABS

Offline

Board footer

Powered by FluxBB