Hello - I'm having trouble installing Magento 2.0 - announces the following:
Hello @alita_girls ,
You can find out solution here https://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-th...
--
If my answer is useful, please Accept as Solution & give Kudos
Hi @alita_girls
I just suggest you to run all these command in your Magento 2 root directory in same order.
sudo rm -Rf pub/static/frontend/* var/pre_processed/* pub/static/_requirejs/* sudo rm -Rf var/generation/* var/di/* var/cache/* sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy -f sudo php bin/magento cache:clean sudo php bin/magento cache:flush sudo chmod -R 777 var/ pub/ generated/
it will fix definitely your error.
*Remove sudo if commands will not work.
Thanks
Hi PankajS_Magento.
I'm trying to fix the same error. I tried your commands but after "sudo php bin/magento setup:upgrade" or "php bin/magento setup:upgrade"
I get an error.
Import failed: Warning: Error while sending QUERY packet. PID=28148 in /public_html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line 228
What do you suggest?
Here I found a link from@gelanivishal answers might help you.
Thanks
--
If my answer is useful, please Accept as Solution & give Kudos
Thanks for the fast reply but didn't work.
my config file was at /etc/mysql/conf.d/mysql.cnf
I kept getting errors when restarting until I only had "max_allowed_packet=524288000" in the file.
Please follow the below to resolve this
For solution you can follow below link.
https://stackoverflow.com/questions/21511612/magento-open-basedir-restriction-in-effect-file-tmp-is-...
Let me know if any issues
If my answer is useful, please Accept as Solution & give Kudos