Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-17 15:52:44

hcameron
New Member
Registered: 2006-04-07
Posts: 8

Cannot upload images

I have this message on my images page and I can’t upload an image.

Warning: cannot write to image directory
../images.
Please change file permissions to 777.

Where do I change the file permissions?

Offline

#2 2006-04-17 17:16:01

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

Re: Cannot upload images

Use your FTP client. Find the images directory. Usually setting permissions is in the right click menu.

(I’ll delete your other post…)

Offline

#3 2006-04-17 18:01:09

hcameron
New Member
Registered: 2006-04-07
Posts: 8

Re: Cannot upload images

Sorry, I can’t get it to work yet. I have changed the permissions on the image directory (at least I think so) and I am still getting the error. I am new at this.

Offline

#4 2006-04-17 18:16:53

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

Re: Cannot upload images

Sorry, I’ll try again ;) It’s also possible that you’ve specified the wrong image directory in Admin > preferences. If you go to Advanced preferences, what does it say for Image directory?

Offline

#5 2006-04-17 18:23:26

hcameron
New Member
Registered: 2006-04-07
Posts: 8

Re: Cannot upload images

I have gone to Admin > Preferences and don’t see anything about image or even Advanced preferences. Am I missing something?

Offline

#6 2006-04-17 18:47:00

hcameron
New Member
Registered: 2006-04-07
Posts: 8

Re: Cannot upload images

I am thinking that I should delete all of Textpattern and reload it. When I have tried to do that, I get errors and it won’t let me. I have probably screwed something up. Frustrating!!!!!

Offline

#7 2006-04-17 19:22:00

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

Re: Cannot upload images

Don’t get angry, it’s not going to help you ;) So, you can go to Admin, and when you go there you are in the ‘preferences’ tab. Right below the title ‘Site Preferences’ you can see a yellow link to ‘Advanced preferences’. Go there. The third line under ‘Admin’ says ‘Image directory’. If you can’t make it that far, there must indeed be something wrong.

Offline

#8 2006-04-17 19:37:01

hcameron
New Member
Registered: 2006-04-07
Posts: 8

Re: Cannot upload images

There is no link under Site Preferences. I believe that there is something wrong and as I have been working on this since 3:30 am and it is now 12:30 pm, I am quite frustrated. You can’t say I am not persistant!!! :) Would it work to just copy the folders over from the latest version of Textpattern? Also, as I am using Textdrive, I believe that the site root is under public_html. Should all of the files and folders reside in public_html? By the way, I really appreciate your help.

Offline

#9 2006-04-17 19:54:29

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

Re: Cannot upload images

Unless you already entered a lot of content, I’d say it would be best to empty your database, remove all files from the server, and do a fresh install. That way Txp will find the right paths etc. for config.php, in case there is something wrong there.
You should upload all files and folders to public_html exactly as you unpacked them (like here).

Offline

#10 2006-04-17 20:11:17

hcameron
New Member
Registered: 2006-04-07
Posts: 8

Re: Cannot upload images

I have deleted as much as I can but I get an error

Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 14

when I try to delete the old Textpattern folder or try to copy the new one over it. Any solutions?

Offline

#11 2006-04-17 20:15:57

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

Re: Cannot upload images

Sorry, this is where I have to give up :( I suggest you go the Textdrive forum for help, doesn’t look like a Textpattern problem to me.

Offline

#12 2006-04-17 20:17:37

hcameron
New Member
Registered: 2006-04-07
Posts: 8

Re: Cannot upload images

Thanks for your help…I will give that a try.

Offline

Board footer

Powered by FluxBB