Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#5731 by Saoshyant
22 Feb 2018, 19:58
Code: Select allC:\xampp\htdocs\store>php artisan aimeos:setup

   Aimeos\MW\DB\Exception  : An exception occurred while executing 'SET SESSION sort_buffer_size=2097144; SET NAMES 'utf8'; SET SESSION sql_mode='ANSI
'':

SQLSTATE[42601]: Syntax error: 7 ERROR:  cannot insert multiple commands into a prepared statement

  at C:\xampp\htdocs\store\vendor\aimeos\aimeos-core\lib\mwlib\src\MW\DB\Manager\DBAL.php: 99
  95:                   return array_pop( $this->connections[$name] );
  96:
  97:           }
  98:           catch( \Exception $e ) {
  99:                   throw new \Aimeos\MW\DB\Exception( $e->getMessage(), $e->getCode() );
  100:          }
  101:  }
  102:
  103:
  104:  /**

  Exception trace:

  1   Aimeos\MW\DB\Manager\DBAL::acquire("db")
      C:\xampp\htdocs\store\vendor\aimeos\aimeos-core\lib\mwlib\src\MW\Setup\Manager\Multiple.php : 66

  2   Aimeos\MW\Setup\Manager\Multiple::__construct(Object(Aimeos\MW\DB\Manager\DBAL), [], Object(Aimeos\MShop\Context\Item\Standard))
      C:\xampp\htdocs\store\vendor\aimeos\aimeos-laravel\src\Aimeos\Shop\Command\SetupCommand.php : 64

  Please use the argument -v to see more details.


What's this about?

Currently testing on a Windows machine with the latest Laravel and Aimeos versions, PHP at version 7.1