I have changed root directory in xampp ( the documentroot and directory) and restart it, it worked but when I click on admin I got "Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again."
also I got problems connecting with database.

Hi,

Which document did you edit?
Is it the apache\conf\httpd.conf?
How was the modified entries added ? formatting wise ..e.g DocumentRoot "/xampp/theOneYouAdd"

Default value for XAMPP
DocumentRoot "/xampp/htdocs"

Hi,
C:\xampp\apache\conf\httpd.conf
DocumentRoot "C:/xampp/htdocs"
<Directory "C:/xampp/htdocs">
these what I edited thanks for reply