[英]FosOauthServerBundle Propel BaseClient not found
I'm using doctrine orm but somehow I get an error that the propel BaseClient is not found (a class usually autogenerated by propel). 我正在使用doctrine orm,但不知怎的,我得到了一个错误,即找不到推进BaseClient(一个类通常由推进自动生成)。 Either it's a bug or I'm doing something wrong?
这是一个错误还是我做错了什么?
fos_oauth_server:
db_driver: orm
client_class: Diligentia\OAuthBundle\Entity\Client
access_token_class: Diligentia\OAuthBundle\Entity\AccessToken
refresh_token_class: Diligentia\OAuthBundle\Entity\RefreshToken
auth_code_class: Diligentia\OAuthBundle\Entity\AuthCode
service:
user_provider: fos_user.user_manager
The error: 错误:
PHP Fatal error: Class 'FOS\OAuthServerBundle\Propel\om\BaseClient' not found in /var/www/redwood/vendor/friendsofsymfony/oauth-server-bundle/Propel/Client.php on line 19
Fatal error: Class 'FOS\OAuthServerBundle\Propel\om\BaseClient' not found in /var/www/redwood/vendor/friendsofsymfony/oauth-server-bundle/Propel/Client.php on line 19
Segmentation fault
Seems to me it shouldn't even attempt to load it. 在我看来它甚至不应该尝试加载它。
predis wasn't installed with composer causing my caching not to work. predis没有安装作曲家,导致我的缓存无法正常工作。 Due to that the User Bundle was unable to obtain which db driver I used and putting propel as default causing the unrelated error and my inability to find the issue for a long time.
由于User Bundle无法获取我使用的db驱动程序并将propel作为默认值导致无关的错误以及我无法长时间找到问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.