1

I'm using doctrine orm but somehow I get an error that the propel BaseClient is not found (a class usually autogenerated by propel). 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.

4

1 回答 1

0

predis 没有与作曲家一起安装,导致我的缓存不起作用。由于用户捆绑包无法获取我使用的数据库驱动程序并将推进作为默认设置,导致不相关的错误和我长时间无法找到问题。

于 2016-07-13T14:12:31.137 回答