Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: IOS Reservations online hotel booking system for Elxis CMS.
 
Pages: [1]
  Print  
Author Topic: eshop xml  (Read 817 times)
1050
Newbie
*
Offline Offline

Posts: 33


« on: April 10, 2012, 10: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 Smiley
Logged
rentasite
Elxis Community
Hero Member
*****
Offline Offline

Posts: 3137


Web Services


WWW
« Reply #1 on: April 10, 2012, 19: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/)
Logged

1050
Newbie
*
Offline Offline

Posts: 33


« Reply #2 on: April 11, 2012, 07: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!
Logged
apkoutsou
Sr. Member
****
Offline Offline

Posts: 326


WWW
« Reply #3 on: April 11, 2012, 09: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...
Logged

LawyersVoice.gr - Το forum των νέων δικηγόρων
1050
Newbie
*
Offline Offline

Posts: 33


« Reply #4 on: April 12, 2012, 09: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/   ?
Logged
apkoutsou
Sr. Member
****
Offline Offline

Posts: 326


WWW
« Reply #5 on: April 12, 2012, 20: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?
« Last Edit: April 12, 2012, 20:17:59 by apkoutsou » Logged

LawyersVoice.gr - Το forum των νέων δικηγόρων
1050
Newbie
*
Offline Offline

Posts: 33


« Reply #6 on: April 14, 2012, 07:30:13 »

It's Linux, so I should change this character?
Logged
Pages: [1]
  Print  
 
Jump to: