Gonzalo2002
Feb 16 2006, 12:53 PM
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
Feb 17 2006, 09:55 AM
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
Feb 17 2006, 12:05 PM
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
Feb 17 2006, 12:39 PM
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.