Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-09-11 01:04:05

pitta
New Member
Registered: 2008-07-23
Posts: 2

Problems with File download

Hi All
I have just develop a website for the Mental Illness Fellowship in Western Australia using Textpattern (www.mifwa.org.au). I started developing it in my PC using XAMPP (mySQL PHP). All the downloadable documents are working, but since moving it to my server I can’t download nor edit the files from the backend. I have asked my web host to change the files permission and it still not working. Do you have any idea what might have cause this to happen?

Note: when permission level was changed the graphics are displaying and I was able to edit it but not the downloadable documents!

Please help

Offline

#2 2008-09-12 08:46:03

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Problems with File download

Do you get any errors… and does the diagnostics tab (admin -> diagnostics) show anything relevant?

Offline

#3 2008-09-13 02:34:18

pitta
New Member
Registered: 2008-07-23
Posts: 2

Re: Problems with File download

Hi Ruud
The pre-flight check suggest that image directory and file directory is not writable, but my host have changed the permission levels for these two, and since then the image directory can be viewed and edited but not the file directory where my pdf documents are located.

I have copied the diagnostic info you might be able to advise me on what to do here. . .

Textpattern version: 4.0.6 (r2805)
Last Update: 2008-04-27 03:29:37/2008-07-01 00:29:10
Document root: /var/www/vhosts/mifwa.org.au/httpdocs
$path_to_site: /var/www/vhosts/mifwa.org.au/httpdocs
Textpattern path: /var/www/vhosts/mifwa.org.au/httpdocs/textpattern
Permanent link mode: section_title
open_basedir: /var/www/vhosts/mifwa.org.au/httpdocs:/tmp
Temporary directory path:

/var/www/vhosts/mifwa.org.au/httpdocs/textpattern/tmp
Site URL: www.mifwa.org.au
PHP version: 4.3.10-22
GD Image Library: 2.0 or higher; supported formats: GIF, JPG, PNG.
Server Local Time: 2008-09-13 12:24:54
MySQL: 4.1.11-Debian_4sarge8-log
Locale: English_United Kingdom.1252
Server: Apache
Apache version: Apache
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.20
Active plugins: tcm_crumbs-0.2, rss_admin_db_manager-4.3m

Pre-flight check:
————————————
Image directory is not writable:

/var/www/vhosts/mifwa.org.au/httpdocs/images
File directory path is not writable: mifwa.org.au/httpdocs/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]

RewriteRule ^(.*) index.php

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

#php_value register_globals 0

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

Offline

#4 2008-09-13 13:51:07

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Problems with File download

File directory path is not writable: mifwa.org.au/httpdocs/files

This means the file directory is owned by the wrong username (not allowing you to write in it) or its permissions are too restrictive. Without knowing the permissions set on that directory and the files within, it’s difficult to recommend anything. The explanation in this FAQ about permissions may be useful.

Offline

Board footer

Powered by FluxBB