CodeVisionThemes

CodeVisionThemes supports this item

Supported

63 comments found.

Hello,

I cannot use your project. I install it as explain in the documentation but the CSS and JS isn’t working.

I’ve launch “php composer.phar install”, the command work perfectly but the css not. Maybe a problem with assetic ?

Thanks :)

No more problem. It was a problem with assetic.

Fix by using “php bin/console assetic:dump”.

Thanks :)

Hi,

probably CSS styles are not loading properly. Did you run “php bin/console server:run” to check if styles are loaded properly?

Thanks

jonnic

jonnic Purchased

had an issue on dedi.

Failed to download friendsofsymfony/user-bundle from source: Failed to clone https://github.com/FriendsOfSymfony/FOSUserBundle.git, git was not found, check that it is installed and in your PATH env.

sh: git: command not found

Now trying to download from dist
- Installing friendsofsymfony/user-bundle (dev-master 6b8828b): Loading from cache

and salt not working when creating user from console.

Hi,

try to use line below in composer.json

"friendsofsymfony/user-bundle": "~2.0@dev"

We used it few hours ago without any issues.

Best

Jonassen

Jonassen Purchased

Hi, and thanks for creating a great application!

I just installed it, and I’m having problems with the registration. Every time I try to register, I get “500 Internal Server Error”. Are there any quick fixes to this?

Jonassen

Jonassen Purchased

Yeah, a pretty long one.

[2017-03-24 11:03:31] request.INFO: Matched route "fos_user_registration_register". {"route":"fos_user_registration_register","route_parameters":{"_controller":"FOS\\UserBundle\\Controller\\RegistrationController::registerAction","_route":"fos_user_registration_register"},"request_uri":"http://jobled.co/faktisk/web/register/","method":"POST"} []
[2017-03-24 11:03:31] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2017-03-24 11:03:32] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\NotNullConstraintViolationException: "An exception occurred while executing 'INSERT INTO job_platform_users (username, username_canonical, email, email_canonical, enabled, salt, password, last_login, confirmation_token, password_requested_at, roles, is_verified, created, modified) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["Test", "test", "test@gmail.com", "test@gmail.com", 1, null, "$2y$13$7FryJamCiDk1z3ylgrSW69FmUgHTgaMOX.", null, null, null, "a:0:{}", null, "2017-03-24 11:03:32", null]:  SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'salt' cannot be null" at /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 112 {"exception":"[object] (Doctrine\\DBAL\\Exception\\NotNullConstraintViolationException(code: 0): An exception occurred while executing 'INSERT INTO job_platform_users (username, username_canonical, email, email_canonical, enabled, salt, password, last_login, confirmation_token, password_requested_at, roles, is_verified, created, modified) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\"Test\", \"test\", \"test@gmail.com\", \"test@gmail.com\", 1, null, \"$2y$13$7FryJamCiDk1z3ylgrSW69FmUgHTgaMOX.\", null, null, null, \"a:0:{}\", null, \"2017-03-24 11:03:32\", null]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'salt' cannot be null at /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\\DBAL\\Driver\\PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'salt' cannot be null at /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'salt' cannot be null at /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} []

Run the command below

php bin/console doctrine:schema:update --force

Best

Jonassen

Jonassen Purchased

Thank you! That worked perfectly for the registration.

I’m still having problems with /admin, where the logs tell the following:

[2017-03-25 17:59:32] request.INFO: Matched route "sonata_admin_dashboard". {"route":"sonata_admin_dashboard","route_parameters":{"_controller":"Sonata\\AdminBundle\\Controller\\CoreController::dashboardAction","_route":"sonata_admin_dashboard"},"request_uri":"http://localhost/faktisk/web/admin/dashboard","method":"GET"} []
[2017-03-25 17:59:32] security.DEBUG: Read existing security token from the session. {"key":"_security_main"} []
[2017-03-25 17:59:32] security.DEBUG: User was reloaded from a user provider. {"username":"admin","provider":"FOS\\UserBundle\\Security\\UserProvider"} []
[2017-03-25 17:59:32] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: Declaration of Symfony\Component\OptionsResolver\OptionsResolver::setAllowedValues($option, $allowedValues) must be compatible with Symfony\Component\OptionsResolver\OptionsResolverInterface::setAllowedValues($allowedValues)" at localhost/faktisk/vendor/sonata-project/block-bundle/Util/OptionsResolver.php line 19 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 0): Compile Error: Declaration of Symfony\\Component\\OptionsResolver\\OptionsResolver::setAllowedValues($option, $allowedValues) must be compatible with Symfony\\Component\\OptionsResolver\\OptionsResolverInterface::setAllowedValues($allowedValues) at localhost/faktisk/vendor/sonata-project/block-bundle/Util/OptionsResolver.php:19)"} []
[2017-03-25 17:59:32] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} []
by
by
by
by
by
by