Getting strange error messages
-
Hi everyone, ok i have uploaded wordpress many times with no problems, but im now trying to upload to a new server which i have not used before and wp is giving me these messages when i get to the sutup-config page:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../wp-config.php) is not within the allowed path(s): (/vhosts/platteinttechnologies.nl/httpdocs:/tmp) in /vhosts/platteinttechnologies.nl/httpdocs/wp-admin/setup-config.php on line 25
Warning: Cannot modify header information – headers already sent by (output started at /vhosts/platteinttechnologies.nl/httpdocs/wp-admin/setup-config.php:25) in /vhosts/platteinttechnologies.nl/httpdocs/wp-admin/setup-config.php on line 34
I have contacted my host support and this was their response:
All files indeed need to be placed in the /httpdocs folder.
The error message is pretty self explaining:File(/vhosts/platteinttechnologies.nl/wp-config.php) is not within the
allowed path(s): (/vhosts/platteinttechnologies.nl/httpdocs:/tmp)This means that for some reason the application ( wordpress ) thinks he
needs to look into /vhosts/platteinttechnologies.nl/ while he should
look into /vhosts/platteinttechnologies.nl/httpdocsYou will need to check the code of wordpress for any configuration rule
which implies this.If anyone could tell me what i need to do so i can get wp working properly, it would be great.
Im really lost on why i get these messages and what i need to do to fix them?Thanks for any help..
The topic ‘Getting strange error messages’ is closed to new replies.