Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-08-03 19:42:57

Kossatsch
Member
From: St. Wolfgang
Registered: 2004-04-01
Posts: 198
Website

Problem open_basedir restriction with multisite installation

Hi,

I am just installing TXP for a client who moved to a new provider and server. As he has 5 TXP installations, I wanted to switch – finally – to a multi installation.

I directed the (first) domain to /httpdocs/sites/site1/public (and optionally I tried the subdomain for admin). But instead of showing me an installation routine, I get the following error:

Warning: realpath(): open_basedir restriction in effect. File(/var/www/vhosts/sitename.de/httpdocs/textpattern) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 33 Warning: include(): open_basedir restriction in effect. File(/lib/constants.php) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(/lib/constants.php): failed to open stream: Operation not permitted in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(): open_basedir restriction in effect. File(/lib/constants.php) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(/lib/constants.php): failed to open stream: Operation not permitted in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(): Failed opening ‘/lib/constants.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(): open_basedir restriction in effect. File(/lib/txplib_misc.php) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Warning: include(/lib/txplib_misc.php): failed to open stream: Operation not permitted in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Warning: include(): open_basedir restriction in effect. File(/lib/txplib_misc.php) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Warning: include(/lib/txplib_misc.php): failed to open stream: Operation not permitted in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Warning: include(): Failed opening ‘/lib/txplib_misc.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Fatal error: Call to undefined function txp_status_header() in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 40

When working with the subdomain mehtod and pointing the browser to http://admin.sitename.de/admin/setup (after preparing the subdomain), I get an “Internal server error”.

As far as I understand, the open_basedir restriction is the problem. How do I change this in a Pleask environment (as far as I understand I must edit the vhost.conf with ssh and vi)?

Any idea?

Best regards

Torsten


txp at irox.de since spring 2004 (g1.17) & at roxomatic since 2006.

Offline

#2 2011-08-03 20:40:00

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

Re: Problem open_basedir restriction with multisite installation

Google for open basedir plesk: first hit

Offline

Board footer

Powered by FluxBB