Help - Search - Members - Calendar
Full Version: Impotant. I need your help
The Planet Forums > Control Panels > Plesk
Gonzalo2002
For i mistake in the configuration inicial of server i have to do a symlink www->/home/www/ in /var directory.

Now i have another problem and i need your help. I define a variable called
$mosConfig_absolute_path = '/var/www/vhosts/domain.con/httpdocs'; in the configuration file. After when a script calls to $mosConfig_absolute_path it changes to '/home/www/vhosts/domain.com/httpdocs' and i have a lot of errors.

Please how can i fix it?

Thanks in advance.
web1
I think it needs to be

mosConfig_absolute_path="/var/www/vhosts/domain.con/httpdocs";

Notice no spaces, double quotes and no "$", you may have a reason for the single quotes, I'm not sure.

Now let's say you want to do a simple cd

cd $mosConfig_absolute_path

At that point you need the "$".

That should work.
Gonzalo2002
I explain better this post. It appears in Mambo 4.5.3 in the configuration.php there i a line like this
$mosConfig_absolute_path = '/var/www/vhosts/domain.con/httpdocs';
?>

Then when the CMS calls to mambo.php file it shows like $mosConfig_absolute_path to '/home/www/vhosts/domain.com/httpdocs'

Please any idea.
Thanks in advance.
Tex
nevermind
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.