Elxis CMS Forum

Support => General => Topic started by: 1050 on April 10, 2012, 11:48:50

Title: eshop xml
Post by: 1050 on April 10, 2012, 11:48:50
Hi,
I want to get a XML file from my products but it gives me his error :

URI: index2.php?option=com_eshop&task=export&mosmsg=XML+%D9%85%D8%AD%D8%B5%D9%88%D9%84%D8%A7%D8%AA+%D9%86%D8%AA%D9%88%D8%A7%D9%86%D8%B3%D8%AA+%D8%B0%D8%AE%DB%8C%D8%B1%D9%87+%D8%B4%D9%88%D8%AF
Path: /includes/Core/filemanager.class.php
Line: 308
is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/1050.ir/httpdocs/..) is not within the allowed path(s): (/var/www/vhosts/1050.ir/httpdocs/:/tmp/)

I try to find the problem but I can't. please help me
thank you :)
Title: Re: eshop xml
Post by: rentasite on April 10, 2012, 20:48:02

It seems there's a problem regarding your /tmp folder


Also, what are those characters? (in red)

is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/1050.ir/httpdocs/..) is not within the allowed path(s): (/var/www/vhosts/1050.ir/httpdocs/:/tmp/)
Title: Re: eshop xml
Post by: 1050 on April 11, 2012, 08:34:36
Yes, there's a problem in reading but I don't know how to solve this! I can't fint the tmp folder , I check all the reading and writing rules but can't find the problem, I read in some forum that it's because of the open_base_directory, they said that I should turn it off in my server but I don't know how!
Title: Re: eshop xml
Post by: apkoutsou on April 11, 2012, 10:30:34
You have to change an option in your php.ini file. The location of that file depends on your o/s and distribution (in case of Linux).

Be careful though when changing the php configuration file...
Title: Re: eshop xml
Post by: 1050 on April 12, 2012, 10:56:05
I find it in my phpinfo :
open_basedir   /var/www/vhosts/1050.ir/httpdocs/:/tmp/   /var/www/vhosts;/tmp
do you think that I must change it to : /var/www/vhosts/1050.ir/httpdocs/   ?
Title: Re: eshop xml
Post by: apkoutsou on April 12, 2012, 21:16:10
Actually, I cannot understand why there are both a ':' and ';' characters between the paths. The ':' character is used on Linux hosts and ';' on Windows hosts, each one for seperating the folders. What O/S does run on your host?
Title: Re: eshop xml
Post by: 1050 on April 14, 2012, 08:30:13
It's Linux, so I should change this character?