XAMPP control panel shortcut has incorrect working folder

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

XAMPP control panel shortcut has incorrect working folder

Postby leedega » 09. February 2013 21:49

When installing the latest version of XAMPP 1.8.1, it appears the default working folder set on the shortcut properties for the app is incorrect. It is set to [installdir]\tmp instead of [installdir] (e.g.: "c:\xampp\tmp" instead of "c:\xampp").

One unfortunate consequence of this is that when attempting to run some operations in the XAMPP control panel, you get erroneous "path not found errors". For example, if you attempt to install or start the Tomcat service straight from a fresh install, you get a "path not found" error because it tries to set the CATALINA_HOME folder to "c:\xampp\tmp\tomcat" (presumably because the batch script used to manage these operations assumes you are running them from the same folder the scripts are located in, which is c:\xampp).

Again, this should be a small thing to fix but will hopefully help save lots of people undue headache when configuring XAMPP on windows.
leedega
 
Posts: 2
Joined: 09. February 2013 21:32
Operating System: Windows

Re: XAMPP control panel shortcut has incorrect working folde

Postby hackattack142 » 11. February 2013 23:11

Hello,

I am aware of this issue but unfortunately I do not make the installer so I do not control the path in the shortcut the installer creates.

I have changed how the current directory is obtained in newer versions to fix this issue.

Thanks for reporting.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 116 guests