Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-20 00:06:13

Ashis
New Member
From: Bhubaneswar
Registered: 2005-11-21
Posts: 9
Website

File directory path is not writable -Strange but Serious Problem!

Hi friends,
This is Strange but serious.

My file directory path is not writable.
Every time I change the path.. it happens the same.
I have the directory permission set to 777, still I get the same message.

I tried to upgrade (reinstall) textpattern, but no use.
Don’t ask me to delete the database(I cannot start from scrap).

I tried installing textpattern in a subdomain & didn’t have any problem.
Why is that I am having problem with this?
I don’t know how it started. One day I discover I just couldn’t download any files from my site.

Please help me with this….what or at-least where might be the problem?

Pre-flight check
File directory path is not writable: /public_html/files

Diagnostic info:

Deleted…. :) Security Reason

————————————

Last edited by Ashis (2009-02-20 16:53:24)


99 little bugs in the code, 99 bugs in the code, fix one bug, compile it again, 148 little bugs in the code. 148 little bugs in the code….

Offline

#2 2009-02-20 01:25:58

moontan
New Member
From: Taipei
Registered: 2009-02-20
Posts: 2
Website

Re: File directory path is not writable -Strange but Serious Problem!

I have the exact same problem. “files” directory permissions definitely set to 777 but TXP recognises it as non-writable.

[edit: I am still on 4.0.6 – will try to upgrade but I suspect the problem will remain]

Last edited by moontan (2009-02-20 01:28:15)

Offline

#3 2009-02-20 02:20:48

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: File directory path is not writable -Strange but Serious Problem!

File directory path needs to be a full path, similar to path_to_site and other such file paths


Code is topiary

Offline

#4 2009-02-20 02:44:40

moontan
New Member
From: Taipei
Registered: 2009-02-20
Posts: 2
Website

Re: File directory path is not writable -Strange but Serious Problem!

Thanks a lot… I got it to work. Obviously the important thing is to start the path at the server’s root dir. But is that really a necessary inconvenience to keep up in future versions? Quite frankly it isn’t very intuitional.

Offline

#5 2009-02-20 04:45:06

tangpoet
New Member
Registered: 2009-02-18
Posts: 2

Re: File directory path is not writable -Strange but Serious Problem!

My installation is having a similar problem of “directory path is not writable”.
(Running TXP with XAMPP on Windows XP home (SP3) on a FAT32 formatted drive.)

Textpattern version: 4.0.8 (r3085)
Last Update: 2009-02-10 18:38:27/2009-01-23 16:20:56
Document root: C:/Program Files/xampp/htdocs/public/txp (C:\Program Files\xampp\htdocs\public\txp)
$path_to_site: C:\Program Files\xampp\htdocs\public\txp
Textpattern path: C:\Program Files\xampp\htdocs\public\txp\textpattern
Permanent link mode: messy
upload_tmp_dir: C:\Program Files\xampp\tmp
Temporary directory path: C:\Program Files\xampp\tmp
Site URL: txp
PHP version: 5.2.3
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server Local Time: 2009-02-19 20:34:16
MySQL: 5.0.45-community-nt
Locale: English_United States.1252
Server: Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3 mod_perl/2.0.3 Perl/v5.8.8
Apache version: Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3 mod_perl/2.0.3 Perl/v5.8.8
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Windows NT 5.1

Pre-flight check:
————————————
File directory path is not writable: C:\Program Files\xampp\htdocs\public\txp\files
————————————

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php

RewriteCond %{HTTP:Authorization} !^$ RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

————————————

Offline

#6 2009-02-20 15:17:19

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: File directory path is not writable -Strange but Serious Problem!

moontan wrote:

Thanks a lot… I got it to work. Obviously the important thing is to start the path at the server’s root dir. But is that really a necessary inconvenience to keep up in future versions? Quite frankly it isn’t very intuitional.

Perhaps not, but this is one of the places where the help pop-up (the little ? link) actually works. Also, this is handled automatically during installation, always correctly in my experience.

Last edited by jsoo (2009-02-20 15:18:55)


Code is topiary

Offline

#7 2009-02-20 15:28:27

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: File directory path is not writable -Strange but Serious Problem!

tangpoet wrote:


File directory path is not writable: C:\Program Files\xampp\htdocs\public\txp\files

Have you tried fiddling with the permissions on that directory? 755 usually works, but on a local install 777 should be fine and will certainly work, if in fact this is a permissions issue.


Code is topiary

Offline

#8 2009-02-20 16:48:38

Ashis
New Member
From: Bhubaneswar
Registered: 2005-11-21
Posts: 9
Website

Re: File directory path is not writable -Strange but Serious Problem!

jsoo wrote:

File directory path needs to be a full path, similar to path_to_site and other such file paths

Thanks that got it.

Pre-flight check
All checks passed!

But earlier I tried it all, but didn’t succeed.
Any way now its OK.


99 little bugs in the code, 99 bugs in the code, fix one bug, compile it again, 148 little bugs in the code. 148 little bugs in the code….

Offline

#9 2009-02-26 18:19:42

tangpoet
New Member
Registered: 2009-02-18
Posts: 2

Re: File directory path is not writable -Strange but Serious Problem!

jsoo wrote:


re: File directory path is not writable: C:\Program Files\xampp\htdocs\public\txp\files
Have you tried fiddling with the permissions on that directory?
755 usually works, but on a local install 777 should be fine and will certainly work, if in fact this is a permissions issue.

I’m not able to change permissions from Read Only even with Administrator privileges. Could this may be due to the fact that the hard drive is formatted to FAT32 ?

http://en.wikipedia.org/wiki/File_Allocation_Table
“Permissions: NO”

Last edited by tangpoet (2009-02-26 18:28:21)

Offline

Board footer

Powered by FluxBB