Gyrbo
08-31-2003, 06:19 AM
I'm trying to use my own helpdeks script on my server and open_basedir seems to be doing its job a little too good.
You can see the error yourself: http://home.thinkhosted.com/helpdesk/admin/
Warning: open_basedir restriction in effect. File is in wrong directory in /var/www/virtual/thinkhosted.com/home/htdocs/helpdesk/admin/index.php on line 28
Fatal error: Failed opening required '../config.inc.php' (include_path='.:/usr/lib/php') in /var/www/virtual/thinkhosted.com/home/htdocs/helpdesk/admin/index.php on line 28
The lines:
//Load files
require('../config.inc.php');//this is the line
require('./common.inc.php');
But when you check, open_basedir shouldn't be a problem: http://home.thinkhosted.com/helpdesk/admin/phpinfo.php
This script used to work perfectly on my old server with a different control panel.
Does anyone know what could cause this?
Thank you for any help.
You can see the error yourself: http://home.thinkhosted.com/helpdesk/admin/
Warning: open_basedir restriction in effect. File is in wrong directory in /var/www/virtual/thinkhosted.com/home/htdocs/helpdesk/admin/index.php on line 28
Fatal error: Failed opening required '../config.inc.php' (include_path='.:/usr/lib/php') in /var/www/virtual/thinkhosted.com/home/htdocs/helpdesk/admin/index.php on line 28
The lines:
//Load files
require('../config.inc.php');//this is the line
require('./common.inc.php');
But when you check, open_basedir shouldn't be a problem: http://home.thinkhosted.com/helpdesk/admin/phpinfo.php
This script used to work perfectly on my old server with a different control panel.
Does anyone know what could cause this?
Thank you for any help.
