Elxis CMS Forum
Support => General => Topic started 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 :)
-
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/)
-
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!
-
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...
-
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/ ?
-
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?
-
It's Linux, so I should change this character?