Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-12-02 16:17:43

kikeo
New Member
Registered: 2009-11-30
Posts: 8

cant upload my images, getting an errror instead...

I would love to upload my images through the admin section, but this error isnt allowing me to do it:

Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /tmp/txp_xGdKSP owned by uid 48 in /var/www/vhosts/deubelauto.com/httpdocs/textpattern/textpattern/lib/txplib_misc.php on line 1410

how do i solve it? thx in advance.

Offline

#2 2009-12-02 17:39:41

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

Re: cant upload my images, getting an errror instead...

See FAQ

Offline

#3 2009-12-03 11:35:11

kikeo
New Member
Registered: 2009-11-30
Posts: 8

Re: cant upload my images, getting an errror instead...

ANSWER:

Your hosting company has set PHP’s upload_tmp_dir setting incorrectly. You’ll need to ask them to fix it.

I have asked my host to configure it correctly. But the problem is still there.

Offline

#4 2009-12-03 11:36:59

kikeo
New Member
Registered: 2009-11-30
Posts: 8

Re: cant upload my images, getting an errror instead...

This is what the Diagnostic shows:

Textpattern version: 4.2.0 (r3275)
Last Update: 2009-11-30 10:25:45/2009-11-30 10:14:16
Document root: /var/www/vhosts/deubelauto.com/httpdocs
$path_to_site: /var/www/vhosts/deubelauto.com/httpdocs/textpattern
Textpattern path: /var/www/vhosts/deubelauto.com/httpdocs/textpattern/textpattern
Permanent link mode: section_id_title
open_basedir: /var/www/vhosts/deubelauto.com/httpdocs:/tmp
upload_tmp_dir: /var/www/vhosts/deubelauto.com/httpdocs/tmp
Temporary directory path:
Site URL: www.deubelauto.com/textpattern
PHP version: 5.1.6
GD Image Library: version bundled (2.0.28 compatible), supported formats: GIF, JPG, PNG
Server TZ: -
Server Local Time: 2009-12-03 12:36:29
DST enabled?: 0
Automatically adjust DST setting?:
Time Zone: (+3600)
MySQL: 5.0.77
Locale: en_US.UTF-8
Server: Apache/2.2.3 (Red Hat)
Apache version: Apache/2.2.3 (Red Hat)
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.18-028stab062.3-ent
Admin-side theme: classic 4.2.0

Pre-flight check:
————————————
Temporary directory path is not writable:
no_temp_dir
Temporary directory path and Plugin cache directory path should <strong>not</strong> match.
————————————

.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

Board footer

Powered by FluxBB