cancel
Showing results for 
Search instead for 
Did you mean: 

Another topic on Magento and installation permission problem

Another topic on Magento and installation permission problem

Hi all,

i saw a lot of topic about the error i'm taking during the installation of community edition (2.3.4).

I used composer, following this guide: https://devdocs.magento.com/guides/v2.3/install-gde/composer.html

 

The installation went good, but when i try to go at the address:

<MYSERVER>/setup

i have the usual problem:

 

2020/04/10 11:03:47 [error] 1945#1945: *111 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ReflectionException: Class Magento\Framework\App\ResourceConnection\Proxy does not exist in /opt/www/delivery/html/vendor/magento/framework/Code/Reader/ClassReader.php:26

 

After several hours and a complete new installation i can't manage the problem. To avoid any doubt about the permissions problem i set 777 to all the content of html folder..

 

Can someone suggest me something different?

 

Thank you all

3 REPLIES 3

Re: Another topic on Magento and installation permission problem

Hi @gianlucaal512f 

It looks like the permission issue.

Have you tried the below permission?

Try the following command to setup proper permission to magento directory.

find . -type d -exec chmod 755 {} \; &amp;&amp; find . -type f -exec chmod 644 {} \; &amp;&amp; chmod u+x bin/magento


I hope it will help you!

Re: Another topic on Magento and installation permission problem

Yes i tried, but the error remain the same.. Smiley Indifferent

Re: Another topic on Magento and installation permission problem

Hi @gianlucaal512f 


Is your installation completed and facing issue while accessing website?

If yes, then try the below steps as well.

And make sure that you have ". htaccass" file in pub/static folder.

 

Try the following command to setup proper permission to magento directory.

find . -type d -exec chmod 755 {} \; &amp;&amp; find . -type f -exec chmod 644 {} \; &amp;&amp; chmod u+x bin/magento

After it run the following magento commands in the sequence.

 

chmod -R 0777 var/ pub/ generated/
rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
php bin/magento indexer:reindex
chmod -R 0777 var/ pub/ generated/

I hope it will help you!