Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-21 10:04:12

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Warning in diagnostic tab

what this warning tries to excactly tell me?

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/www/htdocs) is not within the allowed path(s): (/www/10/otepaamaja.ee:/www/data/otepaamaja.ee:/tmp) in /www/10/otepaamaja.ee/textpattern/include/txp_diag.php on line 125

what i have to do?

Offline

#2 2007-06-21 10:20:10

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

Re: Warning in diagnostic tab

Can you post your diagnostics here?

It shouldn’t cause any problems though, because the use of $_SERVER[‘DOCUMENT_ROOT’] in the diagnostics (which triggers this error) has been deprecated since textpattern 1.0.

Last edited by ruud (2007-06-21 10:30:47)

Offline

#3 2007-06-21 10:35:45

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: Warning in diagnostic tab

ruud wrote:

Can you post your diagnostics here?

Textpattern version: 4.0.4 (r1956)
Last Update: 2007-06-21 09:43:45/2007-06-21 09:27:00
Document root: /www/htdocs ()
$path_to_site: /www/10/otepaamaja.ee
Textpattern path: /www/10/otepaamaja.ee/textpattern
Permanent link mode: section_id_title
open_basedir: /www/10/otepaamaja.ee:/www/data/otepaamaja.ee:/tmp
upload_tmp_dir: /tmp
Temporary directory path: /www/10/otepaamaja.ee/textpattern/tmp
Site URL: www.otepaamaja.ee
PHP version: 5.2.3
Register globals: 1
Server Local Time: 2007-06-21 12:57:52
MySQL: 4.1.11-Debian_4sarge7-log
Locale: en_GB.UTF-8
Server: Apache/2.2
Apache version: Apache/2.2
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.19.2

Pre-flight check:
————————————
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: diskfreespace,disk_total_space,symlink
————————————

.htaccess file contents:
————————————
RewriteBase /
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0

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

Offline

Board footer

Powered by FluxBB