我正在尝试安装应用并收到此消息
Slim Application Error
The application could not run because of the following error:
Details
Type: ErrorException
Code: 8
Message: Undefined index: connection_string
File: /Applications/MAMP/htdocs/file2/app/config/initializers/setup.php
Line: 198
Trace
#0 /Applications/MAMP/htdocs/file2/app/config/initializers/setup.php(198): Slim\Slim::handleErrors(8, 'Undefined index...', '/Applications/M...', 198, Array)
#1 [internal function]: {closure}()
#2 /Applications/MAMP/htdocs/file2/app/Slim/Router.php(172): call_user_func_array(Object(Closure), Array)
#3 /Applications/MAMP/htdocs/file2/app/Slim/Slim.php(1222): Slim\Router->dispatch(Object(Slim\Route))
#4 /Applications/MAMP/htdocs/file2/app/Slim/Middleware/Flash.php(86): Slim\Slim->call()
#5 /Applications/MAMP/htdocs/file2/app/Slim/Middleware/MethodOverride.php(94): Slim\Middleware\Flash->call()
#6 /Applications/MAMP/htdocs/file2/app/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#7 /Applications/MAMP/htdocs/file2/app/Slim/Slim.php(1174): Slim\Middleware\PrettyExceptions->call()
#8 /Applications/MAMP/htdocs/file2/app/config/initializers/setup.php(358): Slim\Slim->run()
#9 /Applications/MAMP/htdocs/file2/app/config/boot.php(127): require('/Applications/M...')
#10 /Applications/MAMP/htdocs/file2/index.php(7): require('/Applications/M...')
#11 {main}
我尝试通过更改php.ini中的错误报告级别来修复此问题,但没有运气。 这似乎不是剧本的问题,因为许多人成功安装了它。
答案 0 :(得分:0)
这是浏览器的事情。 我使用的浏览器不能保存cookie。