Config Path to match ISP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Config Path to match ISP

Postby johnlanglois » 30. August 2012 18:10

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.
johnlanglois
 
Posts: 3
Joined: 02. March 2009 16:07

Re: Config Path to match ISP

Postby JonB » 30. August 2012 21:50

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 122 guests