Questions tagged [dom]
Use this tag on questions regarding the interaction of other languages with XML/HTML via the document object model. Do not use it as shorthand for HTML, JavaScript, or SAX—use additional tags to denote both language and markup.
13 questions
0
votes
2
answers
532
views
How to delay a js script loading
One of my community modules is creating issues due to the fact he is loading too fast. When he is loading, the dom is not fully loaded yet.
From : vendor/alma/alma-monthlypayments-magento2/view/...
1
vote
1
answer
886
views
How can i resolve Empty string supplied as input in DOMDocument::loadXML() in magento 2?
when I compile my code I have this kind of error accurse
Warning: DOMDocument::loadXML(): Empty string supplied as input in /mnt/data/home/cloudwaysapps.com/ssucdkafzj/public_html/setup/src/Magento/...
0
votes
1
answer
570
views
Magento DOM error XML
I got some errors when I setup:upgrade my file in Magento 2.
this is the error :
Warning: DOMDocument::loadXML(): Empty string supplied as input in /home/cloudpanel/htdocs/swift/vendor/magento/...
0
votes
1
answer
940
views
How to add custom font in DOM pdf in magento 2?
I have tried to add font using below code in head tag of html but it is not working.
DOM PDF is showing it's default font. But i want to show custom fonts as per my website. So tried below code
@font-...
1
vote
1
answer
2k
views
Magento 2: Show whole HTML code(phtml file code) into PDF file and Download with the use of DOM PDF?
I have tried to do it with zend pdf but i am not able to show whole html content with the use of zend pdf.
If i want to display content of cms block , then i am not able to do it with Zend PDF. I have ...
4
votes
1
answer
2k
views
How to bind an event handler to 'street[0]' input on the checkout page?
I've been trying to ensure an alert displays on a user typing in PO BOX number in the street address field on the checkout page, saying we don't ship to PO BOX.
My jQuery code doesn't seem to bind a ...
1
vote
0
answers
205
views
ko template: getTemplate() after AJAX not working(DOM append)
Page with products has loading by ajax(infinity scroll loading), response with products are Html page, from which new products search by class(Jqury) and appended to existing page, as a result is a ...
0
votes
0
answers
31
views
I have deleted PHP and re-install it now below error coming /Can't find ini.php file
Fatal error: Uncaught Error: Class 'DOMDocument' not found in /var/www/html/magento211/vendor/magento/framework/Config/Dom.php:384
Stack trace:
0 /var/www/html/magento211/vendor/magento/framework/...
0
votes
2
answers
2k
views
PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found
How to solve this issue? DOM extension enabled in cPanel.
PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /home/freshvcf/public_html/test/vendor/magento/framework/Config/Dom.php:...
0
votes
1
answer
1k
views
Undefined property: DOMDocument::$documentElement in Magento 2
Notice: Undefined property: DOMDocument::$documentElement in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 148
Fatal error: Uncaught TypeError: Argument 1 passed ...
2
votes
3
answers
68
views
Object DOMDocument should be created on admin side
I have looked a lot but can't find the solution to this issue on my admin side
when I run php bin/magento setup:di:compile i get errors from 3rd party modules even these modules are off from config....
3
votes
0
answers
3k
views
PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /vendor/magento/framework/Config/Dom.php:390
DOM package already install.
also follows:
sudo apt-get update
then install php7.2-dom
1
vote
3
answers
2k
views
CSS inlining error: DOMXPath::query(): Invalid expression in selector in Magento 2.2.5
In magento 2.2.5, I am using the custom theme and I have used the blank theme's files. In mail I am getting this error :
CSS inlining error: DOMXPath::query(): Invalid expression in selector
...