Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-07-02 14:24:48

jeffBrady
Member
From: Wisconsin-US
Registered: 2009-06-08
Posts: 11

[resolved] File Directory and tmp directories not writeable

My File and tmp Directories are not writable, althought the permissions have been set correctly. I’ve tried changing the urls under preferences to:

/mcgrath/beta/files AND /files
/mcgrath/beta/textpattern/tmp AND /textpattern/tmp

I get the same error.
I believe the problem is with the host, maybe php.ini?

What should i be looking for when I contact them?

Here are the diagnostics:

Textpattern version: 4.0.8 (r3085)
Last Update: 2009-06-02 13:42:34/2009-06-29 21:57:43
Document root: /var/www/vhosts/hpicreate.com/httpdocs
$path_to_site: /var/www/vhosts/hpicreate.com/httpdocs/mcgrath/beta
Textpattern path: /var/www/vhosts/hpicreate.com/httpdocs/mcgrath/beta/textpattern
Permanent link mode: section_id_title
open_basedir: /var/www/vhosts/hpicreate.com/httpdocs:/tmp
Temporary directory path: hpicreate.com/mcgrath/beta/textpattern/tmp
Site URL: hpicreate.com/mcgrath/beta
PHP version: 5.2.6
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server Local Time: 2009-07-02 07:16:29
MySQL: 5.0.45
Locale: English_United States.1252
Server: Apache/2.2.3 (CentOS)
Apache version: Apache/2.2.3 (CentOS)
PHP Server API: apache2handler
RFC 2616 headers: 
Server OS: Linux 2.6.9-023stab048.6-enterprise
Active plugins: rss_thumbpop-0.7, ebl-image-edit-2.0, dds_admin_style-0.1, hak_tinymce-0.7.4

Pre-flight check: 
------------------------
File directory path is not writable: hpicreate.com/mcgrath/beta/files
Temporary directory path is not writable: hpicreate.com/mcgrath/beta/textpattern/tmp
Clean URL test failed.
------------------------

.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

------------------------

Added bc.. to display the diagnostics info -Gocom

Last edited by Gocom (2009-07-02 15:49:42)


Rocky!?

Offline

#2 2009-07-02 15:48:40

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [resolved] File Directory and tmp directories not writeable

jeffBrady wrote:

I’ve tried changing the urls under preferences

File directory path is not writable: hpicreate.com/mcgrath/beta/files
Temporary directory path is not writable: hpicreate.com/mcgrath/beta/textpattern/tmp

You aren’t supposed to use URLs, but absolute file system paths. The File directory path is not writable -error comes up also when the directory does not exist.

For example the paths could be, depending where you put the dirs:

/var/www/vhosts/hpicreate.com/httpdocs/mcgrath/beta/files
/var/www/vhosts/hpicreate.com/httpdocs/mcgrath/beta/textpattern/tmp

etc.

Last edited by Gocom (2009-07-02 15:54:20)

Offline

#3 2009-07-02 15:55:27

jeffBrady
Member
From: Wisconsin-US
Registered: 2009-06-08
Posts: 11

Re: [resolved] File Directory and tmp directories not writeable

It worked! Thanks a million.


Rocky!?

Offline

Board footer

Powered by FluxBB