Page 1 of 1

Config Path to match ISP

PostPosted: 30. August 2012 18:10
by johnlanglois
I am having trouble diagnosing why Virtuemart wrecks the path in the following line.
'E:\xampp\htdocs\www.CLIENTSITE.com/components/com_virtuemart/virtuemart_parser.php'

Notice how the backslash converts to a forward slash after the URL?
It occurs to me that when using Xampp on Windows 7
the paths are always hard coded to a drive.
For example,
var $log_path = 'E:\\xampp\\htdocs\\www.clientfolder.com\\logs';

Whereas on the ISP's shared hosting drive it is relative to the root
var $log_path = '/home1/provetlo/public_html/clientsite/logs';

Is it possible to configure XAMPP to match the naming convention used by the ISP?
Also, could I use a php.ini var to catpure the path and hand it to Virtuemart?
Thanks.

Re: Config Path to match ISP

PostPosted: 30. August 2012 21:50
by JonB
It occurs to me that when using Xampp on Windows 7 the paths are always hard coded to a drive.

Well that is because the Unix filesystem does not use drive letters (primarily). And uses 'forward slashes' instead of 'back slashes'...

As for the rest, that's hard to speculate on. You would have to see how Valuemart gets its parameters

Good Luck
8)