Testing Configuration for Paytm Gateway Plugin India

Paytm Payment Gateway Testing Data Online payment solutions for all your transactions by Paytm Woocommerce Plugin Download the plugin here: https://github.com/Paytm-Payments/Paytm_Woocommerce_Kit Enable/Disable Enable/Disable Enable Paytm Payments. Title Title Paytm This controls the title which the user sees during checkout. Description Description The best payment gateway provider in India for e-payment through credit card, debit card & netbanking. This controls the description which the user sees during checkout. Merchant Identifier Merchant Identifier Merchant Id Provided by Paytm ...

February 7, 2019 · 2 min · Harshvardhan Malpani

How to use .htaccess to run all .html files as .php by using PHP handlers in Apache w/o CGI?

If you are not able to find the correct Handler, Simply create a .php file with the following contents: <?php echo $_SERVER['REDIRECT_HANDLER']; ?> and run/open this file in browser. example application handler Use this output in .htaccess file Create a .htaccess file at the root of your website(usually a folder named public_html or htdocs on linux servers) and add this line: AddType [[THE OUTPUT FROM ABOVE FILE]] .html .htm Example ...

January 23, 2019 · 1 min · Harshvardhan Malpani

How to setup / enable Directory index listing?

When a web browser is pointed to a directory on your website which does not have an index.html file in it, the files in that directory can be listed on a web page. Directory Lister is a simple PHP script that lists the contents of any web-accessible directory and allows navigating therewithin. Simply upload Directory Lister to any directory and get immediate access to all files and sub-directories under that directory. Directory Lister is written in PHP and distributed under the MIT License. ...

January 20, 2019 · 1 min · Harshvardhan Malpani

Creating a table in PhpMyAdmin Xampp server.

Hello People. In this post we will discuss that how you can create a table in phpmyadmin xampp server for your php project. Before creating a table first you must create a database, because without database you can not create a table. steps to create a table in phpmyadmin. Start your Xampp server and open the following link in your browser. localhost/phpmyadmin . Now click on the New button. ...

January 16, 2019 · 1 min · Harshvardhan Malpani

5 ways to redirect your Web page?

Hi Everyone! In this post we will be learning about redirects. And see how you can redirect your web-page. We will see two ways to redirect web-pages: Through your registrars’ Cpanel. Right into your code. Through cPanel redirect feature You can easily redirect your visitors from one page to another with the help of the Redirects feature. To setup a redirection, access your website’s Control Panel and locate the Redirects menu. ...

January 12, 2019 · 2 min · Harshvardhan Malpani

How to hide a specific category from Google Index in Magento 2?

In Magento Admin Panel, Go to Catalog in Left Menu > Categories Select the category you want to edit and in Design Section > Layout Update XML, put this value: <head> <meta name="robots" content="NOINDEX,NOFOLLOW"/> </head> How to add noindex nofollow on specific category page in Magento2 Save the category and then Clear the cache

January 7, 2019 · 1 min · Harshvardhan Malpani

Your PHP installation appears to be missing the MySQL extension, required by WordPress

The error message “Your PHP installation appears to be missing the MySQL extension which is required by WordPress” can appear when you are using a PHP version which is incompatible with your scripts version. Meaning your WordPress installation is most likely outdated. Since the ‘MySQL’ extension is no longer supported from PHP 7.0 and beyond, changing your PHP version to 5.6 or lower will fix the issue. This can be done via your website’s control panel’s PHP Configuration section. ...

December 28, 2018 · 3 min · Harshvardhan Malpani

Fix Error Too Many Redirects on WordPress Admin page or Blog

There are several cases for the cause and multiple solutions also: 1 Add these 2 lines in wp-config.php file if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) $_SERVER['HTTPS']='on'; 2 Edit these settings in database directly using PhpMyAdmin in table options or wp_options in option_id, option_name (1,siteurl) and (2,home) wp_options table 3 You can do the same by Editing wp-config.php and adding these 2 lines define('WP_HOME','https://example.com'); define('WP_SITEURL','https://example.com'); 4 Fix your .htaccess file with default one Check here for default .htaccess for wordpress

December 27, 2018 · 1 min · Harshvardhan Malpani

Common PHP.ini directives list for Apache htaccess files

Maximum Execution Time and Maximum Input Time php_value max_execution_time 300 php_value max_input_time 300 Max Upload file size and Max POST data size php_value upload_max_filesize 20M php_value post_max_size 21M Output buffering toggle php_value output_buffering on # OR php_value output_buffering 16384 Expose PHP signature – toggle php_value expose_php on Maximum Input variables php_value max_input_vars 1500 Maximum Memory Limit for PHP php_value memory_limit 1256M Magic Quotes toggle php_value magic_quotes_gpc on Register Global Variables – useless now ...

October 30, 2018 · 1 min · Harshvardhan Malpani

How to change PHP versions in VestaCP Ubuntu – Downgrade Upgrade 5.6, 7.1 and 7.2

For Downgrading 7.2 (default) to 7.1 PHP sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install libapache2-mod-php7.1 php7.1 php7.1-bcmath php7.1-bz2 php7.1-cgi php7.1-cli php7.1-common php7.1-curl php7.1-dba php7.1-dev php7.1-enchant php7.1-fpm php7.1-gd php7.1-gmp php7.1-imap php7.1-interbase php7.1-intl php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-odbc php7.1-opcache php7.1-pgsql php7.1-phpdbg php7.1-pspell php7.1-readline php7.1-recode php7.1-snmp php7.1-soap php7.1-sqlite3 php7.1-sybase php7.1-tidy php7.1-xml php7.1-xmlrpc php7.1-xsl php7.1-zip sudo a2dismod php7.2 sudo a2enmod php7.1 sudo service apache2 restart sudo update-alternatives --set php /usr/bin/php7.1 Reference: Sandy B @ mysterydata.com

October 20, 2018 · 1 min · Harshvardhan Malpani