Open fabiodirosa opened 9 years ago
Any news? My i18n is blocked
Hi, you should exclude vendor from messages exctraction.
Run the following command to generate config file:
./yii message/config
Then open the config file and append vendor dir to the except section
'except' => [ '/messages', '/tests', '/vendor' ],
If you insist on search trough all vendor files, you should increase your PHP memory limit - locate file:
C:\xampp\php\php.ini
find:
memory_limit
and try to increase it to 256M or 512M. Then restart apache via XAMPP control panel.
Extracting messages from ←[0m←[36mC:\xampp\htdocs\cis.wkt\vendor\kartik-v\mpdf\m pdf.php←[0m... PHP Fatal Error 'yii\base\ErrorException' with message 'Allowed memory size of 1 34217728 bytes exhausted (tried to allocate 36 bytes)'
in C:\xampp\htdocs\cis.wkt\vendor\yiisoft\yii2\console\controllers\MessageContro ller.php:287
Stack trace:
0 [internal function]: yii\base\ErrorHandler->handleFatalError()
1 {main}