Magento 2.3 issue trying to login admin pageIssue with updating our magento site from 1.9.2.4 to 1.9.4

How can atoms be electrically neutral when there is a difference in the positions of the charges?

"Murder!" The knight said

When does inspiration across artforms become plagiarism

When should a commit not be version tagged?

Should I choose Itemized or Standard deduction?

Understanding Kramnik's play in game 1 of Candidates 2018

Logistics of a hovering watercraft in a fantasy setting

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

How would we write a misogynistic character without offending people?

What is the wife of a henpecked husband called?

Six real numbers so that product of any five is the sixth one

Reason Why Dimensional Travelling Would be Restricted

Sometimes a banana is just a banana

Second-rate spelling

When was drinking water recognized as crucial in marathon running?

Can chords be played on the flute?

How do I construct an nxn matrix?

How to tighten battery clamp?

Is there a German word for “analytics”?

Are small insurances worth it

Which aircraft had such a luxurious-looking navigator's station?

Must a tritone substitution use a dominant seventh chord?

Non-Italian European mafias in USA?



Magento 2.3 issue trying to login admin page


Issue with updating our magento site from 1.9.2.4 to 1.9.4













0















When I try to login at 127.0.0.1/onlinestore/admin it doesn't work



Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:xampphtdocsonlinestorelibinternalMagentoFrameworkViewElementTemplateFileValidator.php on line 2


After doing research they say that I Need to disable spaces.



This is my validator.php file first 7 rows from magento and I don't see any white spaces.



<?php
namespace MagentoFrameworkViewElementTemplateFile;

/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/


Anyone knows how to solve this ?










share|improve this question

























  • More info needed, do you have acces to the frontend? Did you set admin as your backend login?

    – Wim
    8 hours ago
















0















When I try to login at 127.0.0.1/onlinestore/admin it doesn't work



Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:xampphtdocsonlinestorelibinternalMagentoFrameworkViewElementTemplateFileValidator.php on line 2


After doing research they say that I Need to disable spaces.



This is my validator.php file first 7 rows from magento and I don't see any white spaces.



<?php
namespace MagentoFrameworkViewElementTemplateFile;

/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/


Anyone knows how to solve this ?










share|improve this question

























  • More info needed, do you have acces to the frontend? Did you set admin as your backend login?

    – Wim
    8 hours ago














0












0








0








When I try to login at 127.0.0.1/onlinestore/admin it doesn't work



Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:xampphtdocsonlinestorelibinternalMagentoFrameworkViewElementTemplateFileValidator.php on line 2


After doing research they say that I Need to disable spaces.



This is my validator.php file first 7 rows from magento and I don't see any white spaces.



<?php
namespace MagentoFrameworkViewElementTemplateFile;

/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/


Anyone knows how to solve this ?










share|improve this question
















When I try to login at 127.0.0.1/onlinestore/admin it doesn't work



Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:xampphtdocsonlinestorelibinternalMagentoFrameworkViewElementTemplateFileValidator.php on line 2


After doing research they say that I Need to disable spaces.



This is my validator.php file first 7 rows from magento and I don't see any white spaces.



<?php
namespace MagentoFrameworkViewElementTemplateFile;

/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/


Anyone knows how to solve this ?







magento






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 13 at 7:43









Ahmed Ashour

1,3251715




1,3251715










asked Feb 13 at 7:33









Vincent NelissenVincent Nelissen

13




13













  • More info needed, do you have acces to the frontend? Did you set admin as your backend login?

    – Wim
    8 hours ago



















  • More info needed, do you have acces to the frontend? Did you set admin as your backend login?

    – Wim
    8 hours ago

















More info needed, do you have acces to the frontend? Did you set admin as your backend login?

– Wim
8 hours ago





More info needed, do you have acces to the frontend? Did you set admin as your backend login?

– Wim
8 hours ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1405147%2fmagento-2-3-issue-trying-to-login-admin-page%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1405147%2fmagento-2-3-issue-trying-to-login-admin-page%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...