I experience the fallowing problem attached in the file while running php artisan corals:install. What is the solution to thi?
Attachments
1 Answers
Hello,
This means your server and PHP is blocking file get by URL, the file in the picture above is for creating demo data from the announcement module.
If you don't need this demo data you comment out the lines at
Corals/modules/Announcement/database/seeds/AnnouncementDemoDatabaseSeeder.php
$announcement->addMediaFromUrl('https://d2wvoz3xcmywg9.cloudfront.net/wp-content/uploads/2018/05/laraship-subcription.png')
->withCustomProperties(['root' => 'demo_announcement'])
->toMediaCollection($announcement->mediaCollectionName);
$announcement = Announcement::find(2);
$announcement->addMediaFromUrl('https://d2wvoz3xcmywg9.cloudfront.net/wp-content/uploads/2018/08/laraship_laravel_tablet-e1533376014700.png')
->withCustomProperties(['root' => 'demo_announcement'])
->toMediaCollection($announcement->mediaCollectionName);
Please login or Register to submit your answer