0

i used beberlei doctrine extensions in zend framework 2 for mysql GroupConcat after installing it with composer i changed my settings like this from question :

How to implement beberlei doctrine extensions in zend framework 2

 'configuration' => array(
        'orm_default' => array(
            'string_functions' => array(
               'GroupConcat' => 'DoctrineExtensions\Query\Mysql\GroupConcat'
            )
        )
    ),

in my local pc everything is ok but when i upload my code on my remote server show this error:

Fatal error: Class 'DoctrineExtensions\Query\MySql\GroupConcat' not found in **/www/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php on line 3389

i updated every thing the code is same i installed composer using composer install and update everything on my remote server i sure the code is same and composer installed every thing

Community
  • 1
  • 1
babak faghihian
  • 1,169
  • 2
  • 13
  • 24
  • Looks like you have either forgotten to install the package, or something is borked with your autoloading. Have you added the package to the requirements in your composer.json and run `composer update`? – lxg May 16 '15 at 21:37
  • @lxg yes i added it to composer.json and run composer update, the folder of it exists in vendor – babak faghihian May 17 '15 at 04:36
  • Do you use a class loader cache or an optimized autoloader? In that case, try clearing the cache (`app/console cache:clear`) and/or restarting the webserver (or PHP-FPM, whichever you're using). – lxg May 17 '15 at 21:04

0 Answers0