https://techglimpse.com For all your Tech Needs! Mon, 04 Sep 2023 08:13:53 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.6 [Dompdf] PHP Fatal error: Class DOMImplementation not found https://techglimpse.com/dompdf-php-fatal-error-class-domimplementation-not-found/ https://techglimpse.com/dompdf-php-fatal-error-class-domimplementation-not-found/#respond Mon, 04 Sep 2023 08:13:47 +0000 https://techglimpse.com/?post_type=ht_kb&p=43543 After fixing undefined function mb_internal_encoding encountered an another error “Uncaught Error: Class DOMImplementation not found“. Below is the complete error: Error: [Fri Jun 16 11:07:04.798269 2023] [php7:error] [pid 820060] [client techglimpse.com:21132] PHP Fatal error: Uncaught Error: Class 'DOMImplementation' not found in /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php:172\nStack trace:\n#0 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/masterminds/html5/src/HTML5.php(157): Masterminds\\HTML5\\Parser\\DOMTreeBuilder->__construct()\n#1 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/masterminds/html5/src/HTML5.php(89): Masterminds\\HTML5->parse()\n#2 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/dompdf/dompdf/src/Dompdf.php(478): Masterminds\\HTML5->loadHTML()\n#3 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/formprocess.php(143):...

The post [Dompdf] PHP Fatal error: Class DOMImplementation not found appeared first on Techglimpse.

]]>
0
[Dompdf]: Call to undefined function mb_internal_encoding() https://techglimpse.com/undefined-function-mb_internal_encoding-dompdf/ https://techglimpse.com/undefined-function-mb_internal_encoding-dompdf/#respond Mon, 04 Sep 2023 06:48:22 +0000 https://techglimpse.com/?post_type=ht_kb&p=43539 Recently in one of my web development project, I tried to use Dompdf and encountered error “Call to undefined function mb_internal_encoding() [DomPDF]“. Error: [Fri Jun 16 10:30:49.244911 2023] [php7:error] [pid 819590] [client techglimpse.com:19416] PHP Fatal error: Uncaught Error: Call to undefined function Dompdf\\mb_internal_encoding() in /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/dompdf/dompdf/src/Dompdf.php:295\nStack trace:\n#0 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/dompdf/dompdf/src/Dompdf.php(269): Dompdf\\Dompdf->setPhpConfig()\n#1 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/formprocess.php(139): Dompdf\\Dompdf->__construct()\n#2...

The post [Dompdf]: Call to undefined function mb_internal_encoding() appeared first on Techglimpse.

]]>
0
Detect Shift-Enter keypress in JavaScript https://techglimpse.com/detect-shift-enter-keypress-javascript/ https://techglimpse.com/detect-shift-enter-keypress-javascript/#respond Tue, 18 Jan 2022 12:09:50 +0000 https://techglimpse.com/?post_type=ht_kb&p=42796 Here’s a question from one of our readers, Ms. Shikha. I read your article on KeyBoardEvent.keyCode is deprecated and the alternate property .key should be used. While using the .key property, how can I detect the Shift-Enter keypress in JavaScript? How to Detect Shift-Enter Keypress in JavaScript? In my previous...

The post Detect Shift-Enter keypress in JavaScript appeared first on Techglimpse.

]]>
0
KeyboardEvent.keyCode deprecated! Alternate is .key https://techglimpse.com/keyboardevent-keycode-deprecated-alternate-key-property/ https://techglimpse.com/keyboardevent-keycode-deprecated-alternate-key-property/#comments Tue, 18 Jan 2022 10:33:49 +0000 https://techglimpse.com/?post_type=ht_kb&p=42792 I have been using KeyboardEvent.keyCode property to detect the keys pressed in JavaScript. For example, in one of my applications, I had been using the keyCode property to detect the Enter keypress and execute a corresponding code. Though the code was working fine on all browsers, I recently came to...

The post KeyboardEvent.keyCode deprecated! Alternate is .key appeared first on Techglimpse.

]]>
1
Spoof your Location using Google Chrome DevTools https://techglimpse.com/spoof-your-geographic-location-chrome-devtools/ https://techglimpse.com/spoof-your-geographic-location-chrome-devtools/#comments Thu, 09 Jan 2020 11:06:43 +0000 https://techglimpse.com/?post_type=ht_kb&p=41589 Whenever you’re building or testing websites that tailor relevant content to users based on their geographical location or building a UI that changes depending on where the user is located, you might want to make sure that the design behaves as intended in different locations around the world. In this...

The post Spoof your Location using Google Chrome DevTools appeared first on Techglimpse.

]]>
1
Creating Interdependent Dropdown Menus using JavaScript https://techglimpse.com/interdependent-dropdown-menus-using-javascript/ https://techglimpse.com/interdependent-dropdown-menus-using-javascript/#respond Tue, 07 Jan 2020 04:18:24 +0000 https://techglimpse.com/?post_type=ht_kb&p=41574 Straight after my previous tutorial on the Multilevel dropdown menu using CSS, here we are going to discuss interdependent dropdown menus using JavaScript. Do you remember those options you selected while you were applying for a course? Or when you were ordering your favorite pizza? Or when you were booking tickets?...

The post Creating Interdependent Dropdown Menus using JavaScript appeared first on Techglimpse.

]]>
0
Multilevel Dropdown Menu with CSS https://techglimpse.com/multilevel-dropdown-menu-with-css/ https://techglimpse.com/multilevel-dropdown-menu-with-css/#respond Mon, 06 Jan 2020 01:21:55 +0000 https://techglimpse.com/?post_type=ht_kb&p=41558 Here’s a quick tutorial that explains how to create a multilevel dropdown menu with CSS. The HTML aspect of the multilevel menu is just lists within lists. But the CSS is what makes it look so attractive and user-friendly. This is how the webpage looks with pure HTML. By using CSS, we can...

The post Multilevel Dropdown Menu with CSS appeared first on Techglimpse.

]]>
0
Fix Invalid URL in field id Breadcrumbs Validation Error in Google Search Console https://techglimpse.com/invalid-url-field-id-breadcrumbs-error/ https://techglimpse.com/invalid-url-field-id-breadcrumbs-error/#respond Mon, 16 Dec 2019 01:11:31 +0000 https://techglimpse.com/?post_type=ht_kb&p=41494 I recently received a notification from Google search console that reported about the breadcrumb validation error. Upon logging in, I saw thousands of URLs were reported with an error – Invalid URL in field id. Though, I was not sure what the error actually means, I was able to fix...

The post Fix Invalid URL in field id Breadcrumbs Validation Error in Google Search Console appeared first on Techglimpse.

]]>
0
Simple, yet powerful CSS properties – box-sizing, counters, scroll snap and pointer events https://techglimpse.com/box-sizing-counters-scroll-snap-examples/ https://techglimpse.com/box-sizing-counters-scroll-snap-examples/#respond Mon, 02 Sep 2019 01:19:59 +0000 https://techglimpse.com/?post_type=ht_kb&p=41242 CSS cannot be avoided if you want to create an effective and engaging user experience. It is a powerful language which has an easy learning curve, but difficult to master. There are a lot of quirky things that you can do with CSS. Lets see few powerful css properties today...

The post Simple, yet powerful CSS properties – box-sizing, counters, scroll snap and pointer events appeared first on Techglimpse.

]]>
0
9 Reasons Why You Should Consider Progressive Web App https://techglimpse.com/progressive-web-apps-pwa-benefits/ https://techglimpse.com/progressive-web-apps-pwa-benefits/#respond Mon, 02 Sep 2019 01:19:39 +0000 https://techglimpse.com/?post_type=ht_kb&p=41239 Have you ever opened a website and then felt the NEED for all the features of its mobile app, but they want you to download their application for that, (like Zomato and Quora!)? But you don’t want to install an app just for that, right? Maybe because you don’t want...

The post 9 Reasons Why You Should Consider Progressive Web App appeared first on Techglimpse.

]]>
0