I have installed phpemployment and came up with an error message:
Warning: include() [function.include]: open_basedir restriction in effect. File(/httpdocs/phpemployment/lib/MySQL.inc) is not within the allowed path(s): (/var/www/vhosts/mindseyemidlands.co.uk/httpdocs:/tmp:/usr/share/pear:/var/www/vhosts/mindseyemidlands.co.uk/httpsdocs) in /var/www/vhosts/mindseyemidlands.co.uk/httpdocs/phpemployment/conf/conf.inc on line 51
does anyone know what this means??
conf.inc:
<?
$sp="/";
$rlimit="";
$connection="MySQL";
$TypeSQL="mysql";
$hostname="localhost";
$dbname="********";
$username="*******";
$epath="/httpdocs/phpemployment";
$eurl="http://www.mindseyemidlands.co.uk/phpemployment";
$lang="eng";
$sitename="icommission";
$design["tab_color"]="#A2ABB1";
$design["tr_color"]="#B8C2C9";
$design["td_color"]="#ffffff";
$design["border_color"]="#f2f2f2";
$upload["size"]="70000";
$upload["width"]="500";
$upload["height"]="500";
$upload["type"]=array("gif","jpeg","jpg","png");
$adminLogin="admin";
$adminPass="12345";
$adminEmail="";
$reg["name"]="Artak";
$reg["company"]="";
$reg["email"]="example@example.com";
$reg["address"]="";
$reg["city"]="";
$reg["state"]="";
$reg["zip"]="";
$reg["country"]="";
$reg["phone"]="";
$dbtables["registration"]["res"]="pE_jobseekers";
$dbtables["registration"]["job"]="pE_employers";
$dbtables["ads"]["res"]="pE_resume";
$dbtables["ads"]["job"]="pE_job";
$dbtables["country"]="pE_country";
$dbtables["state"]="pE_state";
$dbtables["city"]="pE_city";
$dbtables["invoice"]="pE_invoices";
$dbtables["fees"]="pE_fees";
include($epath.$sp."lib".$sp.$connection.".inc");
//include($epath."/lib/PearDB.inc");
/*
The DB package of PEAR (PHP Extension and Application Repository) is
an unified API for accessing SQL-databases
The base installation that comes with the PHP distribution as part of the PFC, contains
all the stuff that is needed to run the PEAR installation tools etc.
If you have a recent installation of PHP 4, you can relax:
The PEAR base installation is already installed on your system. Otherwise You need to install this package.
See details on [url]http://pear.php.net[/url]
The currently supported database backends are:
mysql -> MySQL
pgsql -> PostgreSQL
ibase -> InterBase
msql -> Mini SQL
mssql -> Microsoft SQL Server
oci8 -> Oracle 7/8/8i
odbc -> ODBC (Open Database Connectivity)
sybase -> SyBase
ifx -> Informix
fbsql -> FrontBase
*/
include($epath.$sp."languages".$sp."lang_".$lang.".inc");
############## Email Header #######################################
$headers="MIME-Version: 1.0\r\n";
$headers.="Content-type: text/html; charset=iso-8859-1\r\n";
$headers.="From: $sitename <$adminEmail>\r\n";
$headers.="Reply-To: $sitename <$adminEmail>\r\n";
$headers.="X-Priority: 1\r\n";
$headers.="X-MSMail-Priority: High\r\n";
$headers.="X-Mailer: W2C HTML-Mailer v1.0";
############## End ##################################################
$plen=10;
$rlimit=10;
?>