-
Notifications
You must be signed in to change notification settings - Fork 113
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
slim application error #3
Comments
this worked for me : $db_host = "127.0.0.1"; use Illuminate\Database\Capsule\Manager AS Capsule; $capsule = new Capsule(); $capsule->setAsGlobal(); |
are you able to add voter? mine is not sending e-mail i even purchased ssl for it i thought it wasnt sending because of that.. im getting stuck at Please wait, sending email now |
the original structure works perfectly , using the above hack will get you in but email will not send. Do this in xampp on windows . import database file (link in readme) from http://localhost/phpmyadmin. git clone eveything to the xampp folder (i.e. c:\xampp on windows) rename .sample-env to .env and adjust settings inside .env to your database and email account settings. copy everything from public folder to htdocs folder. this is the correct structure if you are still having problems then your apache settings and/or folder permissions need work. learn https://www.slimframework.com/ |
please tell someone how to run thiis project ?? |
give me ur whatsapp or e-mail and ill help you. |
[email protected] |
please tell how to run this project... can u help me step by step procedure.. i am beginner about this. |
Can you help me to run this project? |
Can you help me to run this project? |
hi there, i m getting this error whenever im trying to open localhost, any ideas?
`Slim Application Error
The application could not run because of the following error:
Details
Type: InvalidArgumentException
Message: Unsupported driver []
File: C:\wamp64\www\vendor\illuminate\database\Connectors\ConnectionFactory.php
Line: 232
Trace
#0 C:\wamp64\www\vendor\illuminate\database\Connectors\ConnectionFactory.php(64): Illuminate\Database\Connectors\ConnectionFactory->createConnection(false, Object(Closure), false, '', Array)
#1 C:\wamp64\www\vendor\illuminate\database\Connectors\ConnectionFactory.php(49): Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection(Array)
#2 C:\wamp64\www\vendor\illuminate\database\DatabaseManager.php(176): Illuminate\Database\Connectors\ConnectionFactory->make(Array, 'default')
#3 C:\wamp64\www\vendor\illuminate\database\DatabaseManager.php(68): Illuminate\Database\DatabaseManager->makeConnection('default')
#4 C:\wamp64\www\vendor\illuminate\database\Eloquent\Model.php(3280): Illuminate\Database\DatabaseManager->connection(NULL)
#5 C:\wamp64\www\vendor\illuminate\database\Eloquent\Model.php(3246): Illuminate\Database\Eloquent\Model::resolveConnection(NULL)
#6 C:\wamp64\www\vendor\illuminate\database\Eloquent\Model.php(1873): Illuminate\Database\Eloquent\Model->getConnection()
#7 C:\wamp64\www\vendor\illuminate\database\Eloquent\Model.php(1846): Illuminate\Database\Eloquent\Model->newBaseQueryBuilder()
#8 C:\wamp64\www\vendor\illuminate\database\Eloquent\Model.php(1816): Illuminate\Database\Eloquent\Model->newQueryWithoutScopes()
#9 C:\wamp64\www\vendor\illuminate\database\Eloquent\Model.php(3491): Illuminate\Database\Eloquent\Model->newQuery()
#10 [internal function]: Illuminate\Database\Eloquent\Model->__call('find', Array)
#11 [internal function]: App\Models\User->find(0)
#12 C:\wamp64\www\vendor\illuminate\database\Eloquent\Model.php(3507): call_user_func_array(Array, Array)
#13 C:\wamp64\www\app\Auth\Auth.php(20): Illuminate\Database\Eloquent\Model::__callStatic('find', Array)
#14 C:\wamp64\www\app\Auth\Auth.php(20): App\Models\User::find(0)
#15 C:\wamp64\www\bootstrap\app.php(57): App\Auth\Auth->user()
#16 C:\wamp64\www\vendor\pimple\pimple\src\Pimple\Container.php(113): {closure}(Object(Slim\Container))
#17 C:\wamp64\www\vendor\slim\slim\Slim\Container.php(121): Pimple\Container->offsetGet('view')
#18 C:\wamp64\www\vendor\slim\slim\Slim\Container.php(144): Slim\Container->get('view')
#19 C:\wamp64\www\app\Middleware\CsrfViewMiddleware.php(20): Slim\Container->__get('view')
#20 [internal function]: App\Middleware\CsrfViewMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#21 C:\wamp64\www\vendor\slim\slim\Slim\DeferredCallable.php(37): call_user_func_array(Object(App\Middleware\CsrfViewMiddleware), Array)
#22 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#23 C:\wamp64\www\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(67): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#24 C:\wamp64\www\vendor\slim\csrf\src\Guard.php(162): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#25 [internal function]: Slim\Csrf\Guard->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#26 C:\wamp64\www\vendor\slim\slim\Slim\DeferredCallable.php(37): call_user_func_array(Object(Slim\Csrf\Guard), Array)
#27 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#28 C:\wamp64\www\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(67): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#29 C:\wamp64\www\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(116): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#30 C:\wamp64\www\vendor\slim\slim\Slim\App.php(337): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#31 C:\wamp64\www\vendor\slim\slim\Slim\App.php(298): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#32 C:\wamp64\www\public\index.php(5): Slim\App->run()
#33 {main}`
The text was updated successfully, but these errors were encountered: