Hello,
As per your shared screen shot and as per my understanding, 2 possible scenario.
1. AS per home page screen shot only gray header come, that might be happened because of console errors (static-content not deployed properly).
2. As per customer registration page screen shot, menu area not appear because of you might not install sample data.
Please check these 2 possible case's, if these solves your concerns.
Happy to hear you feedback.
@bruno_gamba wrote:Hello,
After including the line, it's good for the admin screen.
Thanks for this
However I allways have a blank screen when i go to store at the localhost/magento2 adress.
View1.pngIf i click on "Create an account" i will have "Luma" and others informations on the screen
View2.png
Could you tell me if it's because i have a magento version without sample ?Thanks
Bruno.
Thank You !
THANK YOU
Sir after this i got the error:
Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:\wamp64\www\magento\vendor\magento\framework\View\Element\Template\File\Validator.php on line 6
and there is no space before <?php
@siddhi_chavan I had the same problem and found the issue was that the file was encoded as UTF-8 but needed to be encoded in ANSI.
You can change the encoding using the dropdown directly next to the "Save" button in the "Save As..." window in Notepad.
thanks a lot for your solution, it helps a lot of guys include me. but i meet the issue below when i do your solution.
can you help me? Thanks more than i can say !
Backend always loading,and front meets same issues.
I'm so sorry you cannot see the picture maybe, I upload them again. pls check them . thanks again.
@emily_yang wrote:I'm so sorry you cannot see the picture maybe, I upload them again. pls check them . thanks again.
I feel you have console error, can you share console screen as well.
Sorry for late reply
Thanks
Worked perfectly ... thanks
i dont have space before and after php tag , just after the php tag there is namespace namespace magento\framework\View\Element\Template\File;
still i am facing the same problem , the FATAL ERROR , same as it is .