-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR] Slim #1
Comments
Oi Filipe, tudo bem?
Teste e nos diga se funcionou |
Ok consegui obrigado! |
Olá, estou fazendo o curso de vocês e estou com o seguinte erro:"Fatal error: Uncaught Error: Class 'Hcode\DB\Sql' not found in D:\e-commerce\index.php:11 Stack trace: #0 [internal function]: {closure}() #1 D:\e-commerce\vendor\slim\slim\Slim\Router.php(200): call_user_func_array(Object(Closure), Array) #2 D:\e-commerce\vendor\slim\slim\Slim\Slim.php(1210): Slim\Router->dispatch(Object(Slim\Route)) #3 D:\e-commerce\vendor\slim\slim\Slim\Middleware\Flash.php(86): Slim\Slim->call() #4 D:\e-commerce\vendor\slim\slim\Slim\Middleware\MethodOverride.php(94): Slim\Middleware\Flash->call() #5 D:\e-commerce\vendor\slim\slim\Slim\Middleware\PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call() #6 D:\e-commerce\vendor\slim\slim\Slim\Slim.php(1159): Slim\Middleware\PrettyExceptions->call() #7 D:\e-commerce\index.php(18): Slim\Slim->run() #8 {main} thrown in D:\e-commerce\index.php on line 11", isso acontece quando não definimos o Hcode\ no psr-4, já defini e continua assim. ps: Já rodei o comando composer dump-autoload |
Olá tudo bem? |
Olá, já resolvi aqui, obrigado. |
Eu tou com esse erro... Fatal error: Uncaught Error: Class 'Hcode\DB\Sql' not found in C:\Users\josemalcher\Documents\01-SERVs\xampp_php7.2.1\htdocs\workspace-Udemy-Curso-Completo-de-php-7\24-Projeto-E-Commerce-Admin\index.php:11 Stack trace: #0 [internal function]: {closure}() #1 C:\Users\josemalcher\Documents\01-SERVs\xampp_php7.2.1\htdocs\workspace-Udemy-Curso-Completo-de-php-7\24-Projeto-E-Commerce-Admin\vendor\slim\slim\Slim\Router.php(200): call_user_func_array(Object(Closure), Array) #2 C:\Users\josemalcher\Documents\01-SERVs\xampp_php7.2.1\htdocs\workspace-Udemy-Curso-Completo-de-php-7\24-Projeto-E-Commerce-Admin\vendor\slim\slim\Slim\Slim.php(1210): Slim\Router->dispatch(Object(Slim\Route)) #3 C:\Users\josemalcher\Documents\01-SERVs\xampp_php7.2.1\htdocs\workspace-Udemy-Curso-Completo-de-php-7\24-Projeto-E-Commerce-Admin\vendor\slim\slim\Slim\Middleware\Flash.php(86): Slim\Slim->call() #4 C:\Users\josemalcher\Documents\01-SERVs\xampp_php7.2.1\htdocs\workspace-Udemy-Curso-Completo-de-php-7\24-Projeto-E-Commerce-Admin\vendor\slim\slim\Sli in C:\Users\josemalcher\Documents\01-SERVs\xampp_php7.2.1\htdocs\workspace-Udemy-Curso-Completo-de-php-7\24-Projeto-E-Commerce-Admin\index.php on line 11 Se alguém consegue ver o problema por ai? Resolvido... Tem que adicionar no arquivo SQL Hcode\DB
|
estou com o mesmo problema |
Boa tarde! sou iniciante aqui, estou fazendo o curso da udemy com vocês, e estou precisando de ajuda com erro erro. Slim Application Error Details |
Boa noite estou a ter este erro. Slim Application Error Details |
Slim Application Error Details |
Ola pessoa! Estou com esse erro na configuração de alteração de usuario. Ja conferi todo o código e até tentei um código postado pelo professor João, mas o problema continua o mesmo, indicando um possivel erro na classe Page. Fatal error: Uncaught Error: Call to undefined method Rain\Tpl::assing() in C:\ecommerce\vendor\hcodebr\php-classes\src\Page.php:40 Stack trace: #0 C:\ecommerce\vendor\hcodebr\php-classes\src\Page.php(47): Hcode\Page->setData(Array) #1 C:\ecommerce\index.php(75): Hcode\Page->setTpl('users', Array) #2 [internal function]: {closure}() #3 C:\ecommerce\vendor\slim\slim\Slim\Router.php(200): call_user_func_array(Object(Closure), Array) #4 C:\ecommerce\vendor\slim\slim\Slim\Slim.php(1210): Slim\Router->dispatch(Object(Slim\Route)) #5 C:\ecommerce\vendor\slim\slim\Slim\Middleware\Flash.php(86): Slim\Slim->call() #6 C:\ecommerce\vendor\slim\slim\Slim\Middleware\MethodOverride.php(94): Slim\Middleware\Flash->call() #7 C:\ecommerce\vendor\slim\slim\Slim\Middleware\PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call() #8 C:\ecommerce\vendor\slim\slim\Slim\Slim.php(1159): Slim\Middleware\PrettyExceptions->call() #9 C:\ecommerce\index.php(140): Slim\Slim->run() #10 {main} thrown in C:\ecommerce\vendor\hcodebr\php-classes\src\Page.php on line 40 Segue o código de rota:
});
$app->run(); ?> |
Como resolver esse erro? Slim Application Error Details |
Tô com um erro parecido. Como resolvê-lo? Slim Application Error Details |
Olá pessoal, estou com este problema Slim Application Error Details Alguém me ajude, por favor! |
==>>> https://github.com/ronaldolsilva/ecommerce Ainda com problema abaixo, nenhuma solução encontrada, preciso de ajuda para continuar o curso. Obrigado. Fatal error: Uncaught Error: Class 'Hcode\DB\slq' not found in C:\ecommerce\index.php:11 Stack trace: #0 [internal function]: {closure}() #1 C:\ecommerce\vendor\slim\slim\Slim\Router.php(200): call_user_func_array(Object(Closure), Array) #2 C:\ecommerce\vendor\slim\slim\Slim\Slim.php(1210): Slim\Router->dispatch(Object(Slim\Route)) #3 C:\ecommerce\vendor\slim\slim\Slim\Middleware\Flash.php(86): Slim\Slim->call() #4 C:\ecommerce\vendor\slim\slim\Slim\Middleware\MethodOverride.php(94): Slim\Middleware\Flash->call() #5 C:\ecommerce\vendor\slim\slim\Slim\Middleware\PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call() #6 C:\ecommerce\vendor\slim\slim\Slim\Slim.php(1159): Slim\Middleware\PrettyExceptions->call() #7 C:\ecommerce\index.php(18): Slim\Slim->run() #8 {main} thrown in C:\ecommerce\index.php on line 11 |
o meu erro é o seguinte: DETAILS |
Olá tudo bem! Estou estudando o curso de vocês na Udemy.
Estou com um problema na parte de usuários especificamente na parte do editar o usuário já inserido. Ele me mostra um erro.
Peço que por favor olhem. obg!
https://github.com/Srubens/hcode-ecommerce
The text was updated successfully, but these errors were encountered: