Apache Error?
Posted by: steefiepie (---.cm-10-1a.dynamic.ziggo.nl)
Date: October 04, 2013 01:28PM

Apache gives me this error in the error log

[Fri Oct 04 13:25:01.275543 2013] [:error] [pid 3888:tid 1500] [client 127.0.0.1:50663] PHP Warning: mysqli::mysqli(): (HY000/1045): Access denied for user '32837ads'@'localhost' (using password: YES) in C:\\wamp\\www\\ads\\classes\\dbase.class.php on line 22, referer: [localhost]
[Fri Oct 04 13:25:01.275543 2013] [:error] [pid 3888:tid 1500] [client 127.0.0.1:50663] PHP Stack trace:, referer: [localhost]
[Fri Oct 04 13:25:01.275543 2013] [:error] [pid 3888:tid 1500] [client 127.0.0.1:50663] PHP 1. {main}() C:\\wamp\\www\\ads\\dologin.php:0, referer: [localhost]
[Fri Oct 04 13:25:01.275543 2013] [:error] [pid 3888:tid 1500] [client 127.0.0.1:50663] PHP 2. Login->__construct() C:\\wamp\\www\\ads\\dologin.php:7, referer: [localhost]
[Fri Oct 04 13:25:01.275543 2013] [:error] [pid 3888:tid 1500] [client 127.0.0.1:50663] PHP 3. Login->connect() C:\\wamp\\www\\ads\\dologin.php:45, referer: [localhost]
[Fri Oct 04 13:25:01.275543 2013] [:error] [pid 3888:tid 1500] [client 127.0.0.1:50663] PHP 4. Dbase::connect() C:\\wamp\\www\\ads\\dologin.php:14, referer: [localhost]
[Fri Oct 04 13:25:01.275543 2013] [:error] [pid 3888:tid 1500] [client 127.0.0.1:50663] PHP 5. mysqli->mysqli() C:\\wamp\\www\\ads\\classes\\dbase.class.php:22, referer: [localhost]

Can someone please help me with this? I just want to log into my database through my browser but it just won't let me. Now, I am a total noob with all of this, I am just starting to learn the basics, but I don't know how to solve this? Any help would be greatly appreciated! Please ask me if I need to add more info,

I am using wampserver 2.4 including: Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.16 PHPMyAdmin : 4.0.4 SqlBuddy : 1.3.3 XDebug : 2.2.3



Edited 1 time(s). Last edit at 10/04/2013 01:30PM by steefiepie.

Options: ReplyQuote
Re: Apache Error?
Posted by: RiggsFolly (---.as13285.net)
Date: October 04, 2013 02:31PM

Looks to me like you have not created the user '32837ads' in MySQL.

Heres the documentation from phpMyAdmin on how to do that

[wiki.phpmyadmin.net]

Options: ReplyQuote
Re: Apache Error?
Posted by: steefiepie (---.cm-10-1a.dynamic.ziggo.nl)
Date: October 04, 2013 02:50PM

I created the user 32837ads in MySQL but its still giving me the same error? When I insert my username/pw the bottom left of my browser just says 'Waiting on localhost' and then nothing happens.

Now its giving me this error
[Fri Oct 04 15:14:24.436671 2013] [:error] [pid 3880:tid 1500] [client 127.0.0.1:53960] PHP Warning: mysqli::mysqli(): (HY000/1045): Access denied for user '32837ads'@'localhost' (using password: YES) in C:\\wamp\\www\\ads\\classes\\dbase.class.php on line 22, referer: [localhost]
[Fri Oct 04 15:14:24.436671 2013] [:error] [pid 3880:tid 1500] [client 127.0.0.1:53960] PHP Stack trace:, referer: [localhost]
[Fri Oct 04 15:14:24.436671 2013] [:error] [pid 3880:tid 1500] [client 127.0.0.1:53960] PHP 1. {main}() C:\\wamp\\www\\ads\\dologin.php:0, referer: [localhost]
[Fri Oct 04 15:14:24.436671 2013] [:error] [pid 3880:tid 1500] [client 127.0.0.1:53960] PHP 2. Login->__construct() C:\\wamp\\www\\ads\\dologin.php:7, referer: [localhost]
[Fri Oct 04 15:14:24.436671 2013] [:error] [pid 3880:tid 1500] [client 127.0.0.1:53960] PHP 3. Login->connect() C:\\wamp\\www\\ads\\dologin.php:45, referer: [localhost]
[Fri Oct 04 15:14:24.436671 2013] [:error] [pid 3880:tid 1500] [client 127.0.0.1:53960] PHP 4. Dbase::connect() C:\\wamp\\www\\ads\\dologin.php:14, referer: [localhost]
[Fri Oct 04 15:14:24.436671 2013] [:error] [pid 3880:tid 1500] [client 127.0.0.1:53960] PHP 5. mysqli->mysqli() C:\\wamp\\www\\ads\\classes\\dbase.class.php:22, referer: [localhost] same as before?



Edited 1 time(s). Last edit at 10/04/2013 03:21PM by steefiepie.

Options: ReplyQuote
Re: Apache Error?
Posted by: RiggsFolly (---.as13285.net)
Date: October 04, 2013 04:32PM

Did you give this new userid access to the database you are using?

Options: ReplyQuote
Re: Apache Error?
Posted by: steefiepie (---.cm-10-1a.dynamic.ziggo.nl)
Date: October 04, 2013 05:01PM

Well, if you are talking about the permissions, I gave it permission to access the database. I dont know if this is what you mean?

Options: ReplyQuote
Re: Apache Error?
Posted by: joedon_me (---.rdns.blackberry.net)
Date: October 08, 2013 03:03PM

Hello, I tried makiing wampserver run on my local pc (windows 8, 64-bit) but it has been failing. Port. 80 test says "your port 80 is not actually used." I unchecked IIS and even uninstalled Skype. I have followd certain online tutorials but non solved the problem. What should I do? I have suddenly developed hatred for Windows 8. I hope this forum solves the problem. Thanks

Options: ReplyQuote


Sorry, only registered users may post in this forum.