403 Forbidden and Error 1045
Posted by: jevans (---.cpe.net.cable.rogers.com)
Date: July 13, 2012 01:30PM

I am a newbie so please forgive me if I have done something wrong that should have been obvious.

I have loaded latest WAMP 2.2E 64 bit (Apache 2.4.2 – Mysql 5.5.24 – PHP 5.4.3 XDebug 2.1.2 XDC 1.5 PhpMyadmin 3.4.10.1 SQLBuddy 1.3.3 webGrind 1.0) on a PC. Installation went without a hitch.


Problems:

1. WAMP icon glows amber, from other threads I take it it should be green. Help?
2. I can successfully launch Localhost from WAMP console, when I click on any of the 'Your Aliases' (phpmyadmin, sqlbuddy, webgrind) I get a '403 Forbidden' error. Help?
3. When I try to load 'phpmyadmin' I Error #1045 #1045 - Access denied for user 'root'@'localhost' (using password: NO). Help?

Thanks in advance for taking interest and time in my problems.

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: stevenmartin99 (Moderator)
Date: July 13, 2012 01:31PM

2 things...

you have a mistake in your hosts file.

you have mysql already installed


they are common issues you will see in other threads, or download teamviewer and ill fix it for you

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

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: jevans (---.cpe.net.cable.rogers.com)
Date: July 13, 2012 01:42PM

Thanks, I've look at other threads and can't seem to locate the problem. My hosts file has the entry 127.0.01 local hosts, but that doesn't seem to help. Grrr!

Also, I go to the MySQL console. It asks for a password, but I haven't set one. Help?

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: stevenmartin99 (Moderator)
Date: July 13, 2012 01:43PM

thats because you have mysql installed already..


grab teamviewer and ill sort out the other issue, host file seems ok

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

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: jevans (---.cpe.net.cable.rogers.com)
Date: July 13, 2012 02:11PM

I uninstalled WAMP. I unloaded other SQL, surprise, surprise, you were absolutely right... thank you! I have reloaded WAMP, the icon now glows Green... yes good progress. BUT, I still can't get PHPMYADMIN to work. I continue to get Error 1045. This has got to be an easy fix????

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: stevenmartin99 (Moderator)
Date: July 13, 2012 04:22PM

you shoudnt have this issue ,... that is very odd

maybe clear browser history?

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

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: jevans (---.cpe.net.cable.rogers.com)
Date: July 13, 2012 05:43PM

Steven,

I cleared the browser history and made sure that I have administrative rights to all dir/subdir. Still no luck, I get 403 Forbidden. I also loaded WAMP on another machine (albeit 32bit Windows 7, not 64bit Windows 7) and exactly the same thing. Do you think it might be a Windows 7 thing?

Thanks

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: jevans (---.cpe.net.cable.rogers.com)
Date: July 13, 2012 06:19PM

Here is what the CONF file looks like in the 64bit environment...

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require local
</Directory>

Here is what CONF file looks like in the 32bit environment...

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

I deleted WAMP 64bit from the 64bit machine and loaded WAMP 32bit instead.

I changed 'Deny from all' to 'Allow from all' in each of the CONF files in the Alias subdirectory and... wait for it....

IT WORKS!

I don't know who you are Steven and if you get paid for what you do, but I appreciate you and your efforts. I have read some of your other posts... you are a very clever man.

Thank you for your help! See you again, hopefully, when I have another question.

Cheers

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: stevenmartin99 (Moderator)
Date: July 13, 2012 09:08PM

no i dont get paid, but you cant leave it like this..

its a big security issue


let me take a look and ill troubleshoot it


i would like to find out why you have that issue.

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

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: jevans (---.cpe.net.cable.rogers.com)
Date: July 14, 2012 11:12PM

A new issue developed when my system was automatically updated and restarted by Windows. Nothing works!

When I try to load localhost, I get an Opening dialogue box that says somethin like:

You have chosen to open


which is a: application/octet-stream (0bytes)
from: [localhost]

What should Firefox do with this file?
etc.
etc.

And then no matter what I do, localhost, phpmyadmin, etc. nothing works.

Have you seen this before?

Thanks

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: stevenmartin99 (Moderator)
Date: July 14, 2012 11:17PM

most likely the hosts file has been updated?

deleted EVERYTHING in it , and just write
127.0.0.1    localhost

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

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: jevans (---.cpe.net.cable.rogers.com)
Date: July 15, 2012 01:44AM

Steven thanks, but that's not it.

There were several such entries in there and so I just deleted all but one and restarted the DNS service. Still no go.

Thanks for trying. I will keep looking.

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: stevenmartin99 (Moderator)
Date: July 15, 2012 02:38AM

are you should the wamp icon is green?

you could search netstat to make sure it binding to the port

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

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: jevans (---.cpe.net.cable.rogers.com)
Date: July 15, 2012 08:51PM

yes it's binding to port 80

maybe I should try xampp instead?

I am getting very frustrated!

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: stevenmartin99 (Moderator)
Date: July 15, 2012 09:00PM

you should really get teamviewer and let me take a look.

your missing something simple

trust me smiling smiley

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

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: jevans (---.cpe.net.cable.rogers.com)
Date: July 15, 2012 09:31PM

Steven,

Thank you for persevering with me.

I found it because you made me think about the port binding.

I hadn't seen the Test port 80 feature before in the WAMP console. Just found Saw it and tried it. It said that port 80 was being used by Drive Mapping software... but I was not sure which mapping software it was referring to and so I got to work. I disabled Starfield Technologies (online storage for Godaddy), Power ISO and Virtual Clone; restarted the computer and tested port 80 again. The test showed port 80 was now being used by Apache and voila, it works again.

Previously when Apache had worked (ie. just after install) and then stopped because the computer had rebooted, I guess it was because the drive mapping software took priority over Apache in the loading sequence... I manually start Apache after booting.

Steven, I am going to write you an email tomorrow seperate from this forum thread.

Thanks again.

Cheers,

jevans

Options: ReplyQuote
Re: 403 Forbidden and Error 1045
Posted by: stevenmartin99 (Moderator)
Date: July 15, 2012 09:44PM

Ok no problem.

I think to solve your issues you should do the following

Press "start" > type in "services.msc"

On the list of services find:

wampapache
wampmysqld


Right click each > properties

Change the startup type from "Manual" to "Automatic"

This means that apache and mysql will grab the ports on startup of the pc and you shouldnt have the issue anymore.

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.