Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySQL][PHP] Błąd po próbie logowania
van_bombel
post
Post #1





Grupa: Zarejestrowani
Postów: 6
Pomógł: 0
Dołączył: 25.01.2011

Ostrzeżenie: (0%)
-----


Witam!

Otóż mam takie pytanie, stworzyłem stronkę w php. Po wpisaniu danych logowania otrzymuje następujący błąd:



Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\SerwisAukcyjny\classes\DB.php on line 26

Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\xampp\htdocs\SerwisAukcyjny\classes\DB.php on line 29

Warning: mysqli::query() [mysqli.query]: Couldn't fetch mysqli in C:\xampp\htdocs\SerwisAukcyjny\classes\DB.php on line 56

Warning: DB::Query() [db.query]: Couldn't fetch mysqli in C:\xampp\htdocs\SerwisAukcyjny\classes\DB.php on line 59

Fatal error: Uncaught exception 'Exception' in C:\xampp\htdocs\SerwisAukcyjny\classes\DB.php:60 Stack trace: #0 C:\xampp\htdocs\SerwisAukcyjny\classes\DB.php(73): DB->Query('CALL GetAccount...') #1 C:\xampp\htdocs\SerwisAukcyjny\classes\AuctionService.php(37): DB->GetRow('CALL GetAccount...') #2 C:\xampp\htdocs\SerwisAukcyjny\classes\AuctionService.php(14): AuctionService->GetAccountByName('root') #3 C:\xampp\htdocs\SerwisAukcyjny\index.php(13): AuctionService->Login('root', 'test') #4 {main} thrown in C:\xampp\htdocs\SerwisAukcyjny\classes\DB.php on line 60


Co może być nie tak? Całość stoi na xampie. Szukałem odp w internecie ale niestety nie mam już pomysłów. Proszę o pomoc.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 15:43