while on component manager >new purchases > install> magestore/bannerslider-magento2
we are getting the below error, please guide us on the error to rectify
Check Component Dependency
"Command "update" failed: Loading composer repositories with package information
[Composer\Downloader\TransportException]
The "https://repo.magento.com/packages.json" file could not be downloaded: allow_url_fopen must be enabled in php.ini (https:// wrapper is disabled in the server configuration by allow_url_fopen=0
failed to open stream: no suitable wrapper could be found)
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [packages1] ... [packagesN]"
Hi @Intellum563
Welcome to the community forums.
Coming back to your question - based on the error log , the issue is coming due to allow_url_fopen is disabled on your server .
just enabled allow_url_fopen from your php.ini on the server. then try
it will works !
i have asked the hosting vendor to enabled allow_url_fopen from my php.ini, then i tried again for installation i get error please see my screenshot error : https://prnt.sc/jj0b3q
You have to check your system requirement is compacted with magento system or not,
Please refer below links for check your system is which settings is missing,
https://devdocs.magento.com/guides/v2.2/install-gde/system-requirements-tech.html
Thanks.
Hi @Intellum563
okay so i have checked your screenshot, and its looks like you still have issue of PHP extension and PHP version issue.
Ask your hosting provider to do server configuration based on the required magento 2 technology stack , here is the link for magento 2 technology stack - https://devdocs.magento.com/guides/v2.2/install-gde/system-requirements-tech.html
i asked the hosting vendor to T installed for php7.1 as well, but now the website is not working www.curahealthplus.co.in please guide me.
Hi @Intellum563
I have checked the link you have shared with us.
Looks like it have still issue , kindly go to var/log directory of your magento 2 root directory.
Find exception.log file from there and check what error log is there and post here for the same
so it help us to trouble shoot the issue !!
log file below:
#20 /home/tireoigdflkjgfd/public_html/vendor/magento/framework/App/Http.php(160): Magento\Framework\App\Http->handleGenericReport(Object(Magento\Framework\App\Bootstrap), Object(Exception))
#21 /home/tireoigdflkjgfd/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception))
#22 /home/tireoigdflkjgfd/public_html/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#23 {main} [] []
Just make sure with hosting provider for set below permission for your project,
cd /var/www/html/magento2 && find var vendor pub/static pub/media app/etc -type f -exec chmod u+w {} \; && find var vendor pub/static pub/media app/etc -type d -exec chmod u+w {} \; && chmod u+x bin/magento
If Permission is already set please run below command from Magento root with SSH,
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento setup:di:compile php bin/magento indexer:reindex php bin/magento cache:flush
kindly forward your feedback on error log