Could not create an acl object: Invalid XML in fileJs 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
How to say when an application is taking the half of your screen on a computer
How do you make your own symbol when Detexify fails?
Why is it that I can sometimes guess the next note?
Calculate sum of polynomial roots
Why does the Sun have different day lengths, but not the gas giants?
Multiplicative persistence
Why should universal income be universal?
How to cover method return statement in Apex Class?
Is there a RAID 0 Equivalent for RAM?
Does the Linux kernel need a file system to run?
Quasinilpotent , non-compact operators
Probability that THHT occurs in a sequence of 10 coin tosses
System.QueryException unexpected token
Open a doc from terminal, but not by its name
Why is so much work done on numerical verification of the Riemann Hypothesis?
What are the balance implications behind making invisible things auto-hide?
Does Doodling or Improvising on the Piano Have Any Benefits?
Can disgust be a key component of horror?
Is this toilet slogan correct usage of the English language?
Why does a simple loop result in ASYNC_NETWORK_IO waits?
This is why we puzzle
How can mimic phobia be cured?
What does "Scientists rise up against statistical significance" mean? (Comment in Nature)
Temporarily disable WLAN internet access for children, but allow it for adults
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/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
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/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
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♦ 7 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/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
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/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
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♦ 7 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/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
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/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
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/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
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/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
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♦ 7 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♦ 7 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/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' 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/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' 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/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' 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/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' 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/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' 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/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' 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/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' 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