Olá , boa tarde .
Sou leiga quando se trata de PDO , estou tentando executar um sistema utilizando PDO .
O banco de dados já foi importado e clonei o projeto no Netbeans para executar .
Este sistema está sendo feito com php , porém aparecem várias exceções .
( ! ) SCREAM: Error suppression ignored for
( ! ) Notice: Undefined index: login in C:\wamp\www\controle-cead\biblioteca\Mvc\Mvc.php on line 61
Call Stack
# Time Memory Function Location
1 0.0024 139656 {main}( ) ..\index.php:0
2 0.6070 191952 Mvc->rodar( ) ..\index.php:9
( ! ) SCREAM: Error suppression ignored for
( ! ) Notice: Undefined index: senha in C:\wamp\www\controle-cead\biblioteca\Mvc\Mvc.php on line 62
Call Stack
# Time Memory Function Location
1 0.0024 139656 {main}( ) ..\index.php:0
2 0.6070 191952 Mvc->rodar( ) ..\index.php:9
PDOException Object ( [message:protected] => SQLSTATE[HY000] [1049] Unknown database 'controlecead' [string:Exception:private] => [code:protected] => 1049 [file:protected] => C:\wamp\www\controle-cead\biblioteca\bancoDeDados\PDOconnectionFactory.php [line:protected] => 17 [trace:Exception:private] => Array ( [0] => Array ( [file] => C:\wamp\www\controle-cead\biblioteca\bancoDeDados\PDOconnectionFactory.php [line] => 17 [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => mysql:host=127.0.0.1;dbname=controleCead [1] => root [2] => ) ) [1] => Array ( [file] => C:\wamp\www\controle-cead\biblioteca\seguranca\seguranca.php [line] => 55 [function] => getConection [class] => PDOconnectionFactory [type] => :: [args] => Array ( ) ) [2] => Array ( [file] => C:\wamp\www\controle-cead\biblioteca\Mvc\Mvc.php [line] => 63 [function] => autenticaUsuario [args] => Array ( [0] => Usuario Object ( [idUsuario] => [idPapel] => [login] => [senha] => [PNome] => [UNome] => [email] => [dataNascimento] => ) ) ) [3] => Array ( [file] => C:\wamp\www\controle-cead\index.php [line] => 9 [function] => rodar [class] => Mvc [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => [errorInfo] => [xdebug_message] => ( ! ) PDOException: SQLSTATE[HY000] [1049] Unknown database 'controlecead' in C:\wamp\www\controle-cead\biblioteca\bancoDeDados\PDOconnectionFactory.php on line 17 Call Stack #TimeMemoryFunctionLocation 10.0024139656{main}( )..\index.php:0 20.6070191952Mvc->rodar( )..\index.php:9 30.8330192520autenticaUsuario( )..\Mvc.php:63 40.8330192704PDOconnectionFactory::getConection( )..\seguranca.php:55 50.9098193232PDO->__construct( )..\PDOconnectionFactory.php:17 )
Alguém poderia me falar algo sobre ?
Obrigada .