Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-02-26 14:27:20
- rednote
- New Member
- Registered: 2009-02-26
- Posts: 6
Problem with files permissions and missing files
I opened up the files tab in textpattern today only to find all the status of all my files as “missing” and the message at the bottom of the page saying:
Warning: cannot write to file directory
/c68/rednote/files.
Please change file permissions to 777.
I’m new to textpattern and would really appreciate some help on how to cure this problem. Any help is greatly appreciated!!!
-Rod
Offline
Re: Problem with files permissions and missing files
Rod, you need to “chmod” (change mode) the /files directory to 777 using your ftp program. Check the help for your ftp program on how to do this (often it is right-click/ctrl-click on the folder in question).
See the textbook for more details. You should see this error in the admin > diagnostics tab.
TXP Builders – finely-crafted code, design and txp
Offline
#3 2009-02-26 23:28:49
- rednote
- New Member
- Registered: 2009-02-26
- Posts: 6
Re: Problem with files permissions and missing files
Jakob,
Thanks for your reply. I use Transmit for my ftp client and I’m familiar with changing the chmod to 777 in that program. I cannot find where to change the chmod in my textpattern program. Sorry, but could you give me a hint as to where to find it?
Thanks,
Rod
Offline
Re: Problem with files permissions and missing files
Use transmit as you suggest and chmod the files directory to 777. You shouldn’t need to change any settings in textpattern, except to ensure that your files path is correct, i.e. it is looking for it in the right place – it should be from the base url, as described for a related topic here in the faq. After chmodding the /files directory with transmit the problem should disappear – you can check in the admin > diagnostics tab.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Problem with files permissions and missing files
777 may not be the best option for security sake. Textpattern just needs to be able to read and write to that directory. Depending on how your server is configured this may be possible with a more secure file permissions setting.
There’s a thread with much discussion.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#6 2009-03-05 15:09:50
- rednote
- New Member
- Registered: 2009-02-26
- Posts: 6
Re: Problem with files permissions and missing files
Thanks to everyone for their great advice. I admit, I’m very ignorant with textpattern. My previous web designer who used Textpattern is no longer available for help and I’m at the end of my rope with trying to sort this out.
At the moment I can’t update my site, so I’m really stuck. If someone is will to help me offline, I would gladly pay for the help.
Thanks!
Rod
rod at rednoteaudio dot com
Offline
#7 2009-03-06 00:07:51
- rednote
- New Member
- Registered: 2009-02-26
- Posts: 6
Re: Problem with files permissions and missing files
I’m trying to enter the correct path to my tmp and file folders on my ftp. Below is my dianostic info and I’m wondering how I should write the path based on the text below:
Pre Flight check:
File Upload Path is not writable: /home/rednote/web/files
Temp folder is not writable: /home/rednote/web/textpattern/tmp ?
/home/vg000web00/79/17/1001779/web/textpattern/setup/ still exists ?
Diagnostic Info:
Textpattern version: 4.0.3 (r1188)
Last Update: 2006-08-14 18:03:16/2006-08-07 12:32:26
Document root: /home/79/17/1001779/web (/home/vg000web00/79/17/1001779/web)
$path_to_site: /home/vg000web00/79/17/1001779/web
Textpattern path: /home/vg000web00/79/17/1001779/web/textpattern
Permanent link mode: section_title
upload_tmp_dir: /tmp/php-upl
Temp folder: /home/rednote/web/textpattern/tmp
Site URL: rednoteaudio.com
PHP version: 4.4.4-8+etch6
Register globals: 1
Server Local Time: 2009-03-05 17:58:41
MySQL: 4.1.22-standard-log
Locale: en_GB
Server: Apache
PHP Server API: cgi-fcgi
Server OS: Linux 2.6.28.3-hw
In Advanced Preferences, for “File Upload Path” and “Temp folder”, how should I word the path?
Thanks for your help!
Rod
Offline
#8 2009-03-06 08:33:26
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: Problem with files permissions and missing files
Hi rednote,
Try deleting the “Temporary Directory Path” in Admin Preferences & doing a Save – TXP should fill it in for you (it does in 4.0.5 & above but I notice you’re on 4.0.3).
Don’t worry about the /home/vg000web00/79/17/1001779/web/textpattern/setup/ still exists ?
message for the time being – it won’t stop TXP or the website from working. In the long run you simply need to delete the setup
directory that exists under the textpattern
directory.
For the File Upload Path maybe all you need to do is change /home/rednote/web/files
to /home/vg000web00/web/files
?
Regards,
Adi
Offline
#9 2009-03-06 16:41:34
- rednote
- New Member
- Registered: 2009-02-26
- Posts: 6
Re: Problem with files permissions and missing files
Thanks Adi, I tried “/home/vg000web00/web/files” for the File Upload Path but still no luck:(
-Rod
Offline
#10 2009-03-06 16:51:40
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Problem with files permissions and missing files
Shouldn’t that be
- File Upload Path:
/home/vg000web00/79/17/1001779/web/files
- Temp folder:
/home/vg000web00/79/17/1001779/web/textpattern/tmp
Offline
#11 2009-03-06 22:06:35
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: Problem with files permissions and missing files
rednote wrote:
Thanks Adi, I tried “/home/vg000web00/web/files” for the File Upload Path but still no luck:(
Sorry, my copy/paste went awry … Els, has taken better care. Just out of curiosity, did it fill in the Temp folder for you?
Offline
#12 2009-03-09 15:52:14
- rednote
- New Member
- Registered: 2009-02-26
- Posts: 6
Re: Problem with files permissions and missing files
That did it, IT WORKS! Thanks Els, and everyone! Files are uploading now!
-Rod
Offline