Category : heroku

Script @php artisan package:discover –ansi handling the post-autoload-dump event returned with error code 1 ! WARNING: A post-autoload-dump script terminated with an error ! ERROR: Dependency installation failed! ! ! The ‘composer install’ process failed with an error. The cause ! may be the download or installation of packages, or a pre- or ! post-install ..

Read more

hello I have uploaded my laravel app to Heroku and I publish the Passport config files using the php artisan vendor:publish –tag=passport-config to access the authentication keys using config variables after that, I am getting an error Key path (my private auth key) does not exist or is not readable I have tried installing passport, ..

Read more

Script @php artisan package:discover –ansi handling the post-autoload-dump event returned with error code 1 ! WARNING: A post-autoload-dump script terminated with an error ! ERROR: Dependency installation failed! ! ! The ‘composer install’ process failed with an error. The cause ! may be the download or installation of packages, or a pre- or ! post-install ..

Read more

I have an autocomplete search controller in Laravel that makes an ajax call to a search controller: public function autocomplete(Request $request) { $data = Subject::where(‘title’, ‘LIKE’, $request->subject.’%’)->take(8)->get(); $output = ”; if (count($data)>0) { foreach ($data as $row){ $output .= ‘ ‘.$row->title.’ ‘; } } else { $output .= ‘ ‘.’No results’.’ ‘; } $output .= ..

Read more

When deploying my Symfony app on Heroku, the official PHP buildpack runs my composer.json scripts and then seems to add a cache:clear command that I didn’t configure. Here is my composer.json "scripts" section : "scripts": { "auto-scripts": { "translation:download": "symfony-cmd", "ckeditor:install –clear=drop": "symfony-cmd", "ckfinder:download": "symfony-cmd", "assets:install –symlink –relative %PUBLIC_DIR%": "symfony-cmd" }, "post-install-cmd": [], "post-update-cmd": [], ..

Read more