cancel
Showing results for 
Search instead for 
Did you mean: 

issues installing CE 2 with sample data on my local host

issues installing CE 2 with sample data on my local host

Hi
I have installed magento 2 (community ver 2.1.6) with sample data on my local host using xampp. (windows)

The installing process was smooth.
When trying to go to the frontend I am getting the error: "We're sorry, an error has occurred while generating this email."

I can login to the admin but nothing is working for me, I can not click on on anything on the left side

 

frontend error.jpgbackend error.jpg

2 REPLIES

Re: issues installing CE 2 with sample data on my local host

@yaniv73 You have to first give full permission to your magento projects.

 

Read magento devdocs blog for permission,

File and Folder Permisson

 

After set permission run deploy command,

php bin/magento setup:static-content:deploy

If response was helpful to you,consider giving kudos to the post.
If issue solved, click Accept as Solution.

If Issue Solved, Click Kudos/Accept As solutions.

Re: issues installing CE 2 with sample data on my local host

Hi

@Rakesh Jesadiya Thanks for the reply

 

I gave permission as the document suggested

Since I am not a developer, I am not sure what should I do with bullet 3 regards the command line.
And where should I use the line that you suggested 

php bin/magento setup:static-content:deploy

When I tried to do it using the command prompt I am getting a message "php is not recognized as internal or external command"

BTW The link that you provided regards the files permission is talking about doing it pre-installation.
I already have it installed on my local machine (as localhost) 

Thanks