Could not create an acl object: Invalid XML in fileJs file is not removed from xmlMagento 2 Create custom XML...
creating a ":KeepCursor" command
Angel of Condemnation - Exile creature with second ability
It grows, but water kills it
What are some good ways to treat frozen vegetables such that they behave like fresh vegetables when stir frying them?
Can a college of swords bard use blade flourish on an OA from dissonant whispers?
Why can Carol Danvers change her suit colours in the first place?
How could a planet have erratic days?
Mimic lecturing on blackboard, facing audience
Non-trope happy ending?
How to hide some fields of struct in C?
putting logo on same line but after title, latex
Why did the EU agree to delay the Brexit deadline?
Is aluminum electrical wire used on aircraft?
Yosemite Fire Rings - What to Expect?
Is this toilet slogan correct usage of the English language?
How much character growth crosses the line into breaking the character
What if a revenant (monster) gains fire resistance?
Redundant comparison & "if" before assignment
Does the Linux kernel need a file system to run?
Why Shazam when there is already Superman?
Pre-mixing cryogenic fuels and using only one fuel tank
How to cover method return statement in Apex Class?
What is the highest possible scrabble score for placing a single tile
How do you make your own symbol when Detexify fails?
Could not create an acl object: Invalid XML in file
Js file is not removed from xmlMagento 2 Create custom XML fileWhat's your way of debugging xml related exceptions?Invalid XML in file view.xmlOn log in to Magento 2.1 admin I get (LogicException): Could not create an acl objectElement 'css', attribute 'order': The attribute 'order' is not allowedCould not create an acl object: Role '9' - how to resolve this?Could not create an acl object: Invalid XMLElement 'referenceContainer', attribute 'after': The attribute 'after' is not allowedInvalid template file: 'Magento_Catalog
Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error
Error Message I am getting
1 exception(s): Exception #0 (LogicException): Could not create an acl
object: Invalid XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation':
The attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation'
is not allowed. Line: 2
Exception #0 (LogicException): Could not create an acl object: Invalid
XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation':
The attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation'
is not allowed. Line: 2
The Code is as follows
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Adminhtml::admin">
<!--AddMenuAcl-->
<resource id="Pmage_Unit::unit" title="Pmage">
<resource id="Pmage_Matrixprice::manage_matrix" title="Manage Matrix" />
</resource>
</resource>
</resources>
</acl>
</config>
magento2.2 xml acl
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error
Error Message I am getting
1 exception(s): Exception #0 (LogicException): Could not create an acl
object: Invalid XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation':
The attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation'
is not allowed. Line: 2
Exception #0 (LogicException): Could not create an acl object: Invalid
XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation':
The attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation'
is not allowed. Line: 2
The Code is as follows
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Adminhtml::admin">
<!--AddMenuAcl-->
<resource id="Pmage_Unit::unit" title="Pmage">
<resource id="Pmage_Matrixprice::manage_matrix" title="Manage Matrix" />
</resource>
</resource>
</resources>
</acl>
</config>
magento2.2 xml acl
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error
Error Message I am getting
1 exception(s): Exception #0 (LogicException): Could not create an acl
object: Invalid XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation':
The attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation'
is not allowed. Line: 2
Exception #0 (LogicException): Could not create an acl object: Invalid
XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation':
The attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation'
is not allowed. Line: 2
The Code is as follows
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Adminhtml::admin">
<!--AddMenuAcl-->
<resource id="Pmage_Unit::unit" title="Pmage">
<resource id="Pmage_Matrixprice::manage_matrix" title="Manage Matrix" />
</resource>
</resource>
</resources>
</acl>
</config>
magento2.2 xml acl
Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error
Error Message I am getting
1 exception(s): Exception #0 (LogicException): Could not create an acl
object: Invalid XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation':
The attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation'
is not allowed. Line: 2
Exception #0 (LogicException): Could not create an acl object: Invalid
XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation':
The attribute
'{http://www.w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation'
is not allowed. Line: 2
The Code is as follows
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Adminhtml::admin">
<!--AddMenuAcl-->
<resource id="Pmage_Unit::unit" title="Pmage">
<resource id="Pmage_Matrixprice::manage_matrix" title="Manage Matrix" />
</resource>
</resource>
</resources>
</acl>
</config>
magento2.2 xml acl
magento2.2 xml acl
edited Oct 5 '18 at 9:05
sv3n
9,87562455
9,87562455
asked Oct 20 '17 at 12:29
Sohaib KhanSohaib Khan
307319
307319
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.
Notice the extra dash (-) between Schema and instance.
That didnt do it. I think
– Sohaib Khan
Oct 20 '17 at 12:55
1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation': The attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation' is not allowed. Line: 2
– Sohaib Khan
Oct 20 '17 at 12:55
clear the cache. As I can see, nothing changed.
– Marius♦
Oct 20 '17 at 13:01
Did that too,, nothing changed same thing.
– Sohaib Khan
Oct 20 '17 at 13:05
add a comment |
This is incorrect: <resource id="Magento_Adminhtml::admin">
Should be: <resource id="Magento_Backend::admin">
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f197966%2fcould-not-create-an-acl-object-invalid-xml-in-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.
Notice the extra dash (-) between Schema and instance.
That didnt do it. I think
– Sohaib Khan
Oct 20 '17 at 12:55
1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation': The attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation' is not allowed. Line: 2
– Sohaib Khan
Oct 20 '17 at 12:55
clear the cache. As I can see, nothing changed.
– Marius♦
Oct 20 '17 at 13:01
Did that too,, nothing changed same thing.
– Sohaib Khan
Oct 20 '17 at 13:05
add a comment |
Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.
Notice the extra dash (-) between Schema and instance.
That didnt do it. I think
– Sohaib Khan
Oct 20 '17 at 12:55
1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation': The attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation' is not allowed. Line: 2
– Sohaib Khan
Oct 20 '17 at 12:55
clear the cache. As I can see, nothing changed.
– Marius♦
Oct 20 '17 at 13:01
Did that too,, nothing changed same thing.
– Sohaib Khan
Oct 20 '17 at 13:05
add a comment |
Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.
Notice the extra dash (-) between Schema and instance.
Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.
Notice the extra dash (-) between Schema and instance.
answered Oct 20 '17 at 12:33
Marius♦Marius
167k28319685
167k28319685
That didnt do it. I think
– Sohaib Khan
Oct 20 '17 at 12:55
1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation': The attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation' is not allowed. Line: 2
– Sohaib Khan
Oct 20 '17 at 12:55
clear the cache. As I can see, nothing changed.
– Marius♦
Oct 20 '17 at 13:01
Did that too,, nothing changed same thing.
– Sohaib Khan
Oct 20 '17 at 13:05
add a comment |
That didnt do it. I think
– Sohaib Khan
Oct 20 '17 at 12:55
1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation': The attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation' is not allowed. Line: 2
– Sohaib Khan
Oct 20 '17 at 12:55
clear the cache. As I can see, nothing changed.
– Marius♦
Oct 20 '17 at 13:01
Did that too,, nothing changed same thing.
– Sohaib Khan
Oct 20 '17 at 13:05
That didnt do it. I think
– Sohaib Khan
Oct 20 '17 at 12:55
That didnt do it. I think
– Sohaib Khan
Oct 20 '17 at 12:55
1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation': The attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation' is not allowed. Line: 2
– Sohaib Khan
Oct 20 '17 at 12:55
1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation': The attribute '{w3.org/2001/XMLSchemainstance}noNamespaceSchemaLocation' is not allowed. Line: 2
– Sohaib Khan
Oct 20 '17 at 12:55
clear the cache. As I can see, nothing changed.
– Marius♦
Oct 20 '17 at 13:01
clear the cache. As I can see, nothing changed.
– Marius♦
Oct 20 '17 at 13:01
Did that too,, nothing changed same thing.
– Sohaib Khan
Oct 20 '17 at 13:05
Did that too,, nothing changed same thing.
– Sohaib Khan
Oct 20 '17 at 13:05
add a comment |
This is incorrect: <resource id="Magento_Adminhtml::admin">
Should be: <resource id="Magento_Backend::admin">
add a comment |
This is incorrect: <resource id="Magento_Adminhtml::admin">
Should be: <resource id="Magento_Backend::admin">
add a comment |
This is incorrect: <resource id="Magento_Adminhtml::admin">
Should be: <resource id="Magento_Backend::admin">
This is incorrect: <resource id="Magento_Adminhtml::admin">
Should be: <resource id="Magento_Backend::admin">
answered May 22 '18 at 17:20
dmooredmoore
111
111
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f197966%2fcould-not-create-an-acl-object-invalid-xml-in-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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