I get the following errors after installing PathAuto (any version) and Token (5.x-1.8):


    * warning: pathauto_menu() [function.pathauto-menu]: open_basedir restriction in effect. File(/modules/pathauto/contrib/pathauto_node_event.inc) is not within the allowed path(s): (/home/httpd/vhosts/zoekbijles.be/httpdocs:/tmp) in /home/httpd/vhosts/.be/httpdocs/modules/pathauto/pathauto.module on line 68.

What's going wrong?

Comments

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

Have you tried using pathauto5.x-1.x?

I haven't seen this error before, but I certainly have an idea of where to start...I'll need more information about your platform if you can provide it (OS, apache settings, etc.) and also if you could add the line:

print $pathauto_path; right after the $pathauto_path gets set.

Thanks.

Rodeo.be’s picture

I'm using multi site configuration, in Dutch. Drupal 5.2.

greggles’s picture

"(OS, apache settings, etc.) "

You provided basically none of those...

Rodeo.be’s picture

MySQL database	4.1.20
PHP	5.0.4
Unicode library	PHP Mbstring Extension
Web server	Apache
# Protect files and directories from prying eyes.
<FilesMatch "(\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)|code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
  Order allow,deny
</FilesMatch>

# Don't show directory listings for URLs which map to a directory.
Options -Indexes

# Follow symbolic links in this directory.
Options +FollowSymLinks

# Customized error messages.
ErrorDocument 404 /index.php

# Set the default handler.
DirectoryIndex index.php

# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.


#Verhoog geheugen (22/8)
php_value memory_limit 32M

# PHP 4, Apache 1.
<IfModule mod_php4.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>

# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>

# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
  # Enable expirations.
  ExpiresActive On
  # Cache all files for 2 weeks after access (A).
  ExpiresDefault A1209600
  # Do not cache dynamically generated pages.
  ExpiresByType text/html A1
</IfModule>

# Various rewrite rules.
<IfModule mod_rewrite.c>
  RewriteEngine on

  # Rewrite current-style URLs of the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
greggles’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I'm guessing this is an open_basedir issue, but I'm not sure. It's not possible to repeat with the given information and since Pathauto is using the style of include that is found commonly among Drupal modules, I don't see what to do to "fix" this. So, I'm closing it.

If someone can describe the process to easily repeat this issue on any installation (i.e. what configuration changes are necessary to repeat this) then I'll happily revisit it.

Rodeo.be’s picture

Issue summary: View changes