Last active
April 28, 2023 14:01
-
-
Save Ivanitch/2f9dc13680b41a6704b1630c46f4b99a to your computer and use it in GitHub Desktop.
Raec debug runtime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$dataArr = [ | |
0 => 'EF001391', | |
1 => 'EF000228', | |
2 => 'EF000227', | |
]; | |
$debug_log = Yii::app()->runtimePath . '/DebugExport.log'; | |
$dataErr = print_r($dataArr, true); | |
file_put_contents($debug_log, $dataErr . PHP_EOL, FILE_APPEND); | |
================================ | |
GIT ERROR | |
================================ | |
From gitlab.3davinci.ru:3davinci/raec/catalog.raec.su | |
5bc10a6c..0d300cf9 master -> origin/master | |
Updating 5bc10a6c..0d300cf9 | |
error: Your local changes to the following files would be overwritten by merge: | |
protected/modules/admin/controllers/ProjectController.php | |
Please commit your changes or stash them before you merge. | |
Aborting | |
git checkout protected/modules/admin/controllers/ProjectController.php | |
git pull | |
================================ | |
COMPOSER | |
================================ | |
rm -rf protected/vendor/symfony/string | |
composer clearcache | |
composer install --no-dev --optimize-autoloader --classmap-authoritative | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Для Yii2
$debug_log = Yii::getAlias('@frontend/runtime') . '/GoogleParamsLog.log';
$dataErr = print_r($attributes, true);
file_put_contents($debug_log, $dataErr . PHP_EOL, FILE_APPEND);