cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot access shop or admin page

Cannot access shop or admin page

Hello, after adding a new product to my store, I encountered an error. I am no longer able to access either my store page or even the admin market to undo my change.

 

The error given is:

There has been an error processing your request Error log record number: 1441239361194

Warning: fopen(/var/www/var/cache//mage-tags/mage---e69_MAGE): failed to open stream: Permission denied in /var/www/vendor/colinmollenhour/cache-backend-file/File.php on line 646
2 REPLIES 2

Re: Cannot access shop or admin page

Hi @olivemarket 

It looks like some permission issue.

Give the below permission to var/ folder from magento root folder.

sudo chmod -R 0777 var/ pub/ generated/


You can also found the error in the var/report folder. There will be a document file with the name of 1441239361194.

I hope it will help you!

Re: Cannot access shop or admin page

Hello @olivemarket 

 

it is permission issue and you can apply @Vimal Kumar  answer if you are working locally.

 

Do not use 777 on server.

 

use below link for set permission

https://devdocs.magento.com/guides/v2.3/install-gde/prereq/file-system-perms.html

 

if works then mark as solution

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer