Cannot access to my localhost websites

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

Cannot access to my localhost websites

Postby cascade27 » 13. March 2010 00:20

I'm using xampp 1.7.1 and I have a few localhost websites. When I enter http://localhost in my browser, I get a xampp welcome page with the following message:

"Welcome to XAMPP for Windows Version 1.7.1 !
Congratulations:
You have successfully installed XAMPP on this system!

However, when I go to my test site where Joomla 1.5.15 is installed (e.g. http://localhost/test001/), I get an error "Database Error: Unable to connect to the database:Could not connect to MySQL".

When I go to a regular html site, I get an error "Restricted access".

I'm not sure what I'm doing wrong.
cascade27
 
Posts: 2
Joined: 13. March 2010 00:01

Re: Cannot access to my localhost websites

Postby brett » 15. March 2010 10:39

I'm getting the same problem. Although I'm using XAMPP 1.7.3 (same Joomla build).

Here's hoping someone can solve our problem!
brett
 
Posts: 2
Joined: 15. March 2010 10:32

Re: Cannot access to my localhost websites

Postby brett » 15. March 2010 22:54

Hi

I solved my problem.

In short, after multiple reloads of XAMPP and Joomla of course, not putting a password in the database configuration page of Joomla got me past the problem. (Which makes sense I discovered becuase my configuration of MYSQL on my localhost doesn't have/need a password.)

Hope it helps you cascade27.
brett
 
Posts: 2
Joined: 15. March 2010 10:32


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 97 guests