Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-11-13 21:52:46
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
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?
Kevin
(graphicpush)
Offline
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
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: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Re: class.thumb.php fails upload
Uploading to a different folder does not work.
I have no idea what a CHOWN is. :)
Kevin
(graphicpush)
Offline
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
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
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: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
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.
Kevin
(graphicpush)
Offline
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
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 | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: class.thumb.php fails upload
Thanks Yiannis, I hadn’t thought of trying that. Will keep it in mind for next time.
Offline
#12 2012-05-16 11:35:52
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: class.thumb.php fails upload
One more idea: upload any uploadable file, then edit its content and change the name.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline