PHP Warning: is_file(): open_basedir restriction in effect. File(\metadata.xml) is not within the allowed path(s): (D:/INETPUB/VHOSTS//canopussystems.com\;C:\Windows\Temp) in D:\INETPUB\VHOSTS\canopussystems.com\ecommerce.canopussystems.com\mycart\cart\administrator\components\com_menus\models\item.php on line 951
Asked
Active
Viewed 316 times
0
-
Hi! Since some time, Joomla has its own StackExchange site: [joomla.stackexchange.com](http://joomla.stackexchange.com). I recommend you asking your future [tag:joomla]-related questions there. – miroxlav Jan 24 '15 at 14:02
2 Answers
1
you can bypass this if you don't have access to server configeration -in my case I don't- by editing the php code in the administrator\components\com_menus\models\item.php
look up
$option = '';
$base = '';
if (isset($args['option']))
{
// The option determines the base path to work with.
$option = $args['option'];
$base = JPATH_SITE . '/components/' . $option;
}
and replace it with
$option = '';
$base ='';
if (isset($args['option']))
{
// The option determines the base path to work with.
$option = $args['option'];
$base = 'D:/INETPUB/VHOSTS/canopussystems.com\ecommerce.canopussystems.com\mycart\cart'. '/components/' . $option;
}
that worked for me till I get access to php configuration . u should make sure the path is correct though.

Ashraf ElGabry
- 26
- 1
0
Check php configuration using <?php phpinfo(); ?>
Search php.ini file and change settings .
And search "open_basedir" that file. then replace
open_basedir = "/var/www/htdocs/:/var/www/tmp/"

Arshid KV
- 9,631
- 3
- 35
- 36
-
can you please explain me briefly how can I change the setting in php.ini file – NITIN PATEL Jan 24 '15 at 08:19
-
-
-
we are not getting php.ini file in our windows server plesk cpanel please tell me where I can find it – NITIN PATEL Jan 24 '15 at 11:16
-