Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-07-19 18:10:04

wispa
Member
Registered: 2012-05-10
Posts: 10

[SOLVED] Can't upload files or images

This is a 2-part problem so please bear with me.

I have transferred a new site to a client’s domain which relies on Network Solutions Hosting. However, I can’t seem to upload files via the CMS. I get the following message;

Warning: cannot write to file directory
/data/19/2/91/88/2580251/user/2829122/htdocs/files.

Now I know this is a write permissions issue as I’ve encountered this before with another hosting company. But NS says they can’t do anything about this. Fixing the permissions of the /files folder doesn’t seem to resolve the issue. I think the path could be wrong but I don’t know how to find out the correct path. What can I do?

2nd problem:

When I click on the ‘images’ tab, I get the following error;

Parse error: syntax error, unexpected $end in /data/19/2/91/88/2580251/user/2829122/htdocs/textpattern/lib/class.thumb.php on line 221

As far as I can tell, the entire file isn’t being properly uploaded. I’ve tried several times to FTP this .php file but it’s not taking. Is there a way to resolve this?

Last edited by wispa (2012-07-19 18:10:20)

Offline

#2 2012-07-19 19:05:56

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: [SOLVED] Can't upload files or images

wispa wrote:

As far as I can tell, the entire file isn’t being properly uploaded. I’ve tried several times to FTP this .php file but it’s not taking. Is there a way to resolve this?

I think that we had a similar issue before and – if I remember correctly – it was indeed a problem with network solutions. Unfortunately their support is impersonal so they will always deny any responsibility regarding their setup. I would zip the php file before uploading it and then use a php script to expand it.

Edited to add: maybe this will be of help.

Last edited by colak (2012-07-19 19:08:53)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2012-07-20 18:11:32

wispa
Member
Registered: 2012-05-10
Posts: 10

Re: [SOLVED] Can't upload files or images

For once, Network Solutions was helpful. I did the following to resolve the thumb file. I hope this is of help to others in the future;

-Zip the class.thumb.php file and ftp it to the appropriate path; /textpattern/lib/
-Go into Network Solutions and use their File Manager
-Tick the box for the zip file and then click on the zip file itself. It will take you to a new screen
-Go to the bottom of the file manager. Where it says, “Uncompress: All”. Hit the “Go” button.

The php file within this zip file should then be unzipped to the appropriate path.

Offline

#4 2012-07-21 05:24:27

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: [SOLVED] Can't upload files or images

so, is everything working now?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2012-07-24 02:11:08

wispa
Member
Registered: 2012-05-10
Posts: 10

Re: [SOLVED] Can't upload files or images

Yes it does. Thank you.

Offline

Board footer

Powered by FluxBB