Well I am still trying to figure out wether this error was induced by my system but I just thought someone here might know the solution so I'll go for it. Well even when I uninstall XAMPP off my mac os x system...and re-install a new XAMPP in the Applications folder it goes smoothly. There after I start my XAMPP control panel and enter the relevant username and password to grant it system admin previledges...thereafter it brings up an error message that says
"It appears that you do mot have Xampp installed correctly.
It has to be installed in /Applications/ xampp/"
This happens even after I re-install nomatter how many more times I do this. Please can anyone Help me. Please can you direct me to the perfect place I can try to resolve this if this is not possible.