-
Call to undefined function get_magic_quotes_gpc()
get_magic_quotes_gpc function gets the current configuration setting of magic_quotes_gpc magic_quotes_gpc function is used to set the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ‘ (single-quote), ” (double quote), \ (backslash), and NULL’s are escaped with a backslash automatically. This feature(magic_quotes_gpc) has been DEPRECATED as of PHP 5.3.0 and REMOVED as of…
-
Add Polylang support to the ACF relationship
Polylang & Advanced Custom Fields Polylang is the most popular multilingual plugin available on the WordPress repository. As per their stats, there are 700,000+ users were installed this plugin on their sites. On the other hand, Advanced Custom Fields aka ACF is a wildly used plugin that allows you to take full control of the…
-
Fix Kadence Blocks and Toolset compatibility issues
We are using Gutenberg Blocks by Kadence Blocks – Page Builder Features and Toolset plugin in our client site. Both have some use-full, clean and intelligent load blocks and options to extend Gutenberg’s editing capabilities. When using the Kadence tabs block, the styling are perfectly applied to the backend. But the frontend shows the weird…
-
Codeigniter 4 – How to remove public/index.php from URL?
I have seen many blog posts and forum discussions answers this question with a quick fix by coping the index.php and .htaccess to the root level and change the “$pathsPath” variable. This will definitely remove the index.php from URLs. However, Codeigniter 4 use this folder structure for security reasons. The “public” folder holds the browser-accessible…
-
How to trigger click event in ReactJS
ReactJS basically is an open-source, purely client-side JavaScript library which is used for building composable user interfaces specifically for single page applications. In this article, we are going to trigger the click event with ReactJS “Refs“ Use “refs” to get the element in the callback function and trigger a click using “click()” function. Image by…
-
CodeIgniter 3.0.6
CodeIgniter ‘s first public version was released by EllisLab in February 2006. In October 2014, EllisLab, Owner of CodeIgniter announced that CodeIgniter would continue development under the stewardship of the British Columbia Institute of Technology. The latest stable version 3.0.3 was released October 31, 2015 under MIT License. Prior versions of CodeIgniter 3.0 were licensed…
-
How to create equal height divs via jQuery
Here is the code snippet to create equal height divs: jQuery(document).ready(function(){ var first_div_height = jQuery(‘.first-div’).height(); var second_div_height = jQuery(‘.second-div’).height(); if(first_div_height < second_div_height){ jQuery(“.first-div”).css({“height”: jQuery(“.second-div”).height() }); }else{ jQuery(“.second-div”).css({“height”: jQuery(“.first-div”).height() }); } });
-
Move Magento from one server to another
1. First of all take Back up your files. ( Go to your test site admin backend and refresh Cache by System > Cache Management. Then download and save the whole Magento shop root directory via File Manager or FTP tools ) 2. Export the Magento Database ( Enter your control panel “phpmyadmin” database area…
-
Remove index.php from Magento urls
Remove index.php from Magento In this article, we are going to see how to remove the index.php from the magneto URL on both frontend and backend. For example: http://example.com/index.php/admin/ to http://example.com/admin/ Before you start make sure that the Apache rewrite module is enabled on your server or contact your hosting provider to enable this feature,…