Error HTTP 403 - forbidden
Posted by: kleberbh (---.orcon.net.nz)
Date: February 08, 2012 10:03PM

Anyone can help please!

I am running on Windows 7 (32 bits)

I installed wampserver with all included, But what is happening is that I can't access my phpmyadmin.
IE keep saying I need to login to access.
Tried everything possible and inpossible but nothing fix it.

I can access localhost and the websites I am working on. I can access Mysql via command prompt.
But need access phpmyadmin but IE doesn't allow me.

I tried this before:

Restore IE to advantace settings
Reinstall wampserver
Turn off anti-virus, firewall, etc.

Please anyone had this problem before that can help me?

Thanks a lot.

Kleberbh



Edited 1 time(s). Last edit at 02/08/2012 10:05PM by kleberbh.

Options: ReplyQuote
Re: Error HTTP 403 - forbidden
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: February 08, 2012 10:08PM

you can

-------------------------------------------------
open

c:\wamp\alias\phpmyadmin.conf


add


allow from localhost


after

allow from 127.0.0.1

-----------------------------------------------------


OR


------------------------------------------------------
you can goto

c:\windows\system32\drivers\etc\hosts

make sure this file contains

127.0.0.1 localhost

and make sure it does NOT contain

::1 localhost


-------------------------------------------------------


if you have trouble saving the file , you will need to move it to the desktop first,edit, save, and move back

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Error HTTP 403 - forbidden
Posted by: kleberbh (---.orcon.net.nz)
Date: February 08, 2012 10:31PM

Hi there

I changed on c:\wamp\alias\phpmyadmin.conf
It still doesn't work.

Than I went to c:\windows\system32\drivers\etc\hosts

The only file I have is lmhosts, opened it, it doesn't has any option like you described (localhost or IP address)

this is same file?

Options: ReplyQuote
Re: Error HTTP 403 - forbidden
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: February 08, 2012 10:41PM

then you are missing the hosts file.


you will need to create it


hosts
-------------
127.0.0.1 localhost
--------- ----


so call the file hosts (no extension)

and add that one line

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Error HTTP 403 - forbidden
Posted by: kleberbh (---.orcon.net.nz)
Date: February 08, 2012 11:25PM

Steven

I create a file there with the name hosts
Went to IE and tried it open.
Finally

Now it gives me a message access denied:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)


Will try to make it works.

Thanks a lot for help.

Kleberbh

Options: ReplyQuote
Re: Error HTTP 403 - forbidden
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: February 08, 2012 11:32PM

what colour is the wamp icon?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Error HTTP 403 - forbidden
Posted by: kleberbh (---.orcon.net.nz)
Date: February 08, 2012 11:48PM

green

wampserver - server ONLINE

After the changes I restarted it.

Options: ReplyQuote
Re: Error HTTP 403 - forbidden
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: February 08, 2012 11:54PM

then u must have added a password to mysql

you will need to add it also to c:\wamp\apps\phpmyadmin\config.inc.php

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Error HTTP 403 - forbidden
Posted by: kleberbh (---.orcon.net.nz)
Date: February 09, 2012 12:06AM

Yes

I did.

I went to c:\wamp\apps\phpmyadmin\config.inc.php and opened it.

It was there:

$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/*

Then I placed my password between ' ' and changed true to false;

Went to IE and tried.

Working now.

Thanks Man, you rock!

Options: ReplyQuote


Sorry, only registered users may post in this forum.