-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
500 Internal Server Error -> "Setting \"piwik_enabled\" couldn't be found #1881
Comments
I had the same error. Look at #1828. |
ok, that solved the problem.... now i got the next error: 404.... [2016-04-08 11:04:44] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /index.php"" at /var/www/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 123 {"exception":"[object](Symfony\Component\HttpKernel\Exception\NotFoundHttpException%28code: 0%29: No route found for "GET /index.php" at /var/www/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:123, Symfony\Component\Routing\Exception\ResourceNotFoundException%28code: 0%29: at /var/www/wallabag/var/cache/prod/appProdUrlMatcher.php:632)"} [] vhost configured like described.... |
Are you sure about that ? Your vhost must point to |
Ah, sorry.... my fault..... got this one again: [2016-04-08 11:13:39] request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Setting "piwik_enabled" couldn't be found.") in "WallabagCoreBundle::base.html.twig" at line 73." at /var/www/wallabag/var/cache/prod/classes.php line 1242 {"exception":"[object](Twig_Error_Runtime%28code: 0%29: An exception has been thrown during the rendering of a template %28"Setting "piwik_enabled" couldn't be found."%29 in "WallabagCoreBundle::base.html.twig" at line 73. at /var/www/wallabag/var/cache/prod/classes.php:1242, RuntimeException%28code: 0%29: Setting "piwik_enabled" couldn't be found. at /var/www/wallabag/vendor/craue/config-bundle/Util/Config.php:139)"} [] Build wallabag with database_path: null. |
Error stays the same: [2016-04-08 11:19:03] request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Setting "piwik_enabled" couldn't be found.") in "WallabagCoreBundle::base.html.twig" at line 73." at /var/www/wallabag/var/cache/prod/classes.php line 1242 {"exception":"[object](Twig_Error_Runtime%28code: 0%29: An exception has been thrown during the rendering of a template %28"Setting "piwik_enabled" couldn't be found."%29 in "WallabagCoreBundle::base.html.twig" at line 73. at /var/www/wallabag/var/cache/prod/classes.php:1242, RuntimeException%28code: 0%29: Setting "piwik_enabled" couldn't be found. at /var/www/wallabag/vendor/craue/config-bundle/Util/Config.php:139)"} [] |
Can you clear the cache to be sure ? |
Fully deleted the cache folder. Error stays the same |
That's bothering if you have a different issue than in #1828 |
seems so :-( |
Did you do |
yes, i did |
I can't reproduce this bug. I installed wallabag with mysql storage, with
During the Can you retry the installation? |
i just wrote me a little script:
After build the following error appears: [Exception] I also use pdo_mysql. |
That's just a warning. You can resolve it by setting your timezone inside your |
done. but the initial error stays.... :-( |
You mean this error
? |
Yes |
Do you have |
Is there a command to list? pdo_mysql is installed |
|
[PHP Modules] |
What do you have in your MySQL database? (like inside craue_config or sth like that) |
All Tables are emtpy... "Did you try to re-launch the wallabag:install command?" yes, multiple times |
And which options did you select while re-running wallabag:install? Did you choose to trash everything and re-create the database? |
"Did you choose to trash everything and re-create the database?" While install i choose "reset". I will drop the database now and will try reinstall |
Could you launch the wallabag:install command with |
Nothing changes: |
What's the full output of the command? |
|
The tables were created, but empty |
Could you say yes instead? We should fix that. |
Tried it again on another server. Could it be, that is no warning rather an error: [Exception] Exception trace: |
This is a common error on your PHP version, you can fix it: http://stackoverflow.com/q/16765158/569101 |
Ticket can be closed!! :-) "That's just a warning. You can resolve it by setting your timezone inside your php.ini file, for instance : date.timezone = America/New_York and eventually restart your webserver." No, this is not just a warning. I changed it in the wrong php.ini. For cli commands there is an own php.ini file. After setting the timezone and reinstall everything is fine. Wallabag2 works! |
If you want to reproduce: Just remove the timezone frpm your php.ini file. |
Yeah I'll close it after fixing the configuration problem in wallabag:install command. |
Issue details
Installed how described: http://doc.wallabag.org/en/v2/user/installation.html
After opeing the URL i got a 500.
The prod.log:
[2016-04-07 16:48:20] request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Setting "piwik_enabled" couldn't be found.") in "WallabagCoreBundle::base.html.twig" at line 73." at /var/www/wallabag/var/cache/prod/classes.php line 1242 {"exception":"[object](Twig_Error_Runtime%28code: 0%29: An exception has been thrown during the rendering of a template %28"Setting "piwik_enabled" couldn't be found."%29 in "WallabagCoreBundle::base.html.twig" at line 73. at /var/www/wallabag/var/cache/prod/classes.php:1242, RuntimeException%28code: 0%29: Setting "piwik_enabled" couldn't be found. at /var/www/wallabag/vendor/craue/config-bundle/Util/Config.php:139)"} []
Environment
composer create-project
Steps to reproduce/test case
Install like described in the tutorial
The text was updated successfully, but these errors were encountered: