{"action":"created","issue":{"url":"https://api.github.com/repos/partkeepr/PartKeepr/issues/443","labels_url":"https://api.github.com/repos/partkeepr/PartKeepr/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/partkeepr/PartKeepr/issues/443/comments","events_url":"https://api.github.com/repos/partkeepr/PartKeepr/issues/443/events","html_url":"https://github.com/partkeepr/PartKeepr/issues/443","id":112002035,"number":443,"title":"Internal server error during web setup when creating admin user","user":{"login":"damoclark","id":275110,"avatar_url":"https://avatars.githubusercontent.com/u/275110?v=3","gravatar_id":"","url":"https://api.github.com/users/damoclark","html_url":"https://github.com/damoclark","followers_url":"https://api.github.com/users/damoclark/followers","following_url":"https://api.github.com/users/damoclark/following{/other_user}","gists_url":"https://api.github.com/users/damoclark/gists{/gist_id}","starred_url":"https://api.github.com/users/damoclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damoclark/subscriptions","organizations_url":"https://api.github.com/users/damoclark/orgs","repos_url":"https://api.github.com/users/damoclark/repos","events_url":"https://api.github.com/users/damoclark/events{/privacy}","received_events_url":"https://api.github.com/users/damoclark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-18T05:22:37Z","updated_at":"2015-10-18T10:08:33Z","closed_at":null,"body":"I'm using CentOS 7.1 with PHP 5.6, Apache 2.4 and Postgresql 9.4 from softwarecollections.org.\r\n\r\nWhen getting to the web setup step of creating the admin user, I get an internal server error.  \r\n![screen shot 2015-10-18 at 3 18 25 pm](https://cloud.githubusercontent.com/assets/275110/10562683/a24bd78c-75ab-11e5-9644-ecb8c6825cab.png)\r\n\r\nNo errors from composer install\r\n\r\nThe output of the apache error_log is as follows:\r\n[Sun Oct 18 14:06:01.684840 2015] [core:notice] [pid 802] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd -D FOREGROUND'\r\n[Sun Oct 18 15:09:46.263574 2015] [:error] [pid 2221] [client 192.168.100.9:51945] PHP Fatal error:  Call to undefined function FOS\\\\UserBundle\\\\Util\\\\mb_convert_case() in /opt/rh/httpd24/root/var/www/html/PartKeepr/vendor/friendsofsymfony/user-bundle/Util/Canonicalizer.php on line 18, referer: http://192.168.100.74/setup/\r\n\r\nOutput from the app/logs/setup.log:\r\n[2015-10-18 15:09:42] request.INFO: Matched route \"partkeepr_setup_schemamigrationsetup_migrateschema\". {\"route_parameters\":{\"_controller\":\"PartKeepr\\\\SetupBundle\\\\Controller\\\\SchemaMigrationSetupController::migrateSchemaAction\",\"_route\":\"partkeepr_setup_schemamigrationsetup_migrateschema\"},\"request_uri\":\"http://192.168.100.74/setup.php/setup/schemaMigration\"} []\r\n[2015-10-18 15:09:46] request.INFO: Matched route \"partkeepr_setup_adminusersetup_createuser\". {\"route_parameters\":{\"_controller\":\"PartKeepr\\\\SetupBundle\\\\Controller\\\\AdminUserSetupController::createUserAction\",\"_route\":\"partkeepr_setup_adminusersetup_createuser\"},\"request_uri\":\"http://192.168.100.74/setup.php/setup/createUser\"} []\r\n[2015-10-18 15:09:46] php.CRITICAL: Fatal Error: Call to undefined function FOS\\UserBundle\\Util\\mb_convert_case() {\"type\":1,\"file\":\"/opt/rh/httpd24/root/var/www/html/PartKeepr/vendor/friendsofsymfony/user-bundle/Util/Canonicalizer.php\",\"line\":18,\"level\":6143,\"stack\":[]} []\r\n[2015-10-18 15:09:46] request.CRITICAL: Uncaught PHP Exception Symfony\\Component\\Debug\\Exception\\UndefinedFunctionException: \"Attempted to call function \"mb_convert_case\" from namespace \"FOS\\UserBundle\\Util\".\" at /opt/rh/httpd24/root/var/www/html/PartKeepr/vendor/friendsofsymfony/user-bundle/Util/Canonicalizer.php line 18 {\"exception\":\"[object] (Symfony\\\\Component\\\\Debug\\\\Exception\\\\UndefinedFunctionException(code: 0): Attempted to call function \\\"mb_convert_case\\\" from namespace \\\"FOS\\\\UserBundle\\\\Util\\\". at /opt/rh/httpd24/root/var/www/html/PartKeepr/vendor/friendsofsymfony/user-bundle/Util/Canonicalizer.php:18)\"} []\r\n\r\nFrom the app/logs/setup_test.log file:\r\n[2015-10-18 15:09:46] php.DEBUG: include_once(/opt/rh/httpd24/root/var/www/html/PartKeepr/app/cache/setup/twig/f/6/f6aadf4b28cd51ab335832de9fba6b775bf2625a48e1f5774f2e098c4fd1bf20.php): failed to open stream: No such file or directory {\"type\":2,\"file\":\"/opt/rh/httpd24/root/var/www/html/PartKeepr/vendor/twig/twig/lib/Twig/Cache/Filesystem.php\",\"line\":49,\"level\":28928} []\r\n[2015-10-18 15:09:46] php.DEBUG: include_once(): Failed opening '/opt/rh/httpd24/root/var/www/html/PartKeepr/app/cache/setup/twig/f/6/f6aadf4b28cd51ab335832de9fba6b775bf2625a48e1f5774f2e098c4fd1bf20.php' for inclusion (include_path='.:/opt/rh/rh-php56/root/usr/share/pear:/opt/rh/rh-php56/root/usr/share/php') {\"type\":2,\"file\":\"/opt/rh/httpd24/root/var/www/html/PartKeepr/vendor/twig/twig/lib/Twig/Cache/Filesystem.php\",\"line\":49,\"level\":28928} []\r\n"},"comment":{"url":"https://api.github.com/repos/partkeepr/PartKeepr/issues/comments/148997957","html_url":"https://github.com/partkeepr/PartKeepr/issues/443#issuecomment-148997957","issue_url":"https://api.github.com/repos/partkeepr/PartKeepr/issues/443","id":148997957,"user":{"login":"felicitus","id":162974,"avatar_url":"https://avatars.githubusercontent.com/u/162974?v=3","gravatar_id":"","url":"https://api.github.com/users/felicitus","html_url":"https://github.com/felicitus","followers_url":"https://api.github.com/users/felicitus/followers","following_url":"https://api.github.com/users/felicitus/following{/other_user}","gists_url":"https://api.github.com/users/felicitus/gists{/gist_id}","starred_url":"https://api.github.com/users/felicitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicitus/subscriptions","organizations_url":"https://api.github.com/users/felicitus/orgs","repos_url":"https://api.github.com/users/felicitus/repos","events_url":"https://api.github.com/users/felicitus/events{/privacy}","received_events_url":"https://api.github.com/users/felicitus/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T10:08:33Z","updated_at":"2015-10-18T10:08:33Z","body":"It seems that the FOSUserBundle relies on the mbstring PHP extension. I will modify the setup to check for mbstring.\r\n\r\nYou should be able to install it on CentOS via the package `php-mbstring`"}}