Thursday, November 5, 2015

How to put Cs-Cart store offline or maintenance mode ?

Many times we need to put our CS-Cart store offline for maintenance or upgrade work. CS - Cart by default provides option to close store for admin.

It asks to enter access_key to enter when we select option to close store. That key admin user can use to access public store.  So only user knows that key can access store when it is closed.

To close CS-Cart store for public follow below steps -

iTransact payment gateway integration with php


iTransact is a 20 year old, full service payment processing company powered by the largest processors on the planet servicing millions, while at the same time providing personal, world-class customer support and assistance. iTransact’s end-to-end merchant solutions include mobile, internet, as well as traditional retail services from virtually any legitimate industry within the United States. Other offerings include custom gateway services with access to a virtual terminal, recurring billing, all types of equipment and point of sale solutions, Applepay, EMV, electronic check and ACH services, and much more.

For more details click here - http://itransact.com

In this tutorial we will learn how to integrate  PHP application with iTransact payment gateway.

Wednesday, November 4, 2015

How to create Virtual Host on Ubuntu Apache ?

Step 1: Create First Virtual Host

In Apache on Ubuntu all the virtual host configuration files are stored under /etc/apache2/sites-available directory.
Create a new Virtual Host configuration file by copying default file.
By using following linux terminal command.

cp /etc/apache2/sites-available/default /etc/apache2/sites-available/site1.example.com

Configure SMTP on Xampp


Step 1 – Open php.ini
Add below lines under [mail function]
smtp_port=587
sendmail_from =youremail@domain.com
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"

Friday, March 20, 2015

Centos - xz compression is not available error when trying to install any package

Generally this issue comes when we install the wrong epel-release package.  I have fixed this issue by using below command

 yum remove epel-release

which removes that wrong package.
 

Thursday, March 12, 2015

Vtiger - How to do settings for outgoing server when you don't now about SMTP server details

By doing some minor tweaks in core file we can easily enable default sendmail instead of SMTP settings.

In CRM, open file vtigercrm/modules/Emails/class.phpmailer.php

Changes should be as below:

function IsSMTP() {
$this->Mailer = "smtp"

to

function IsSMTP() {
$this->Mailer = "sendmail"

Now go to outgoing server settings in CRM admin and enter details like below -

mail.yourdomain.com
youremail@anydomain.com
Your password for above email
Set as per your choice
Set as per your choice


How to turn off auto complete on html form ?

Auto complete on/off is the functionality provided in HTML. The objective of using "Auto-complete off/on" is to control form auto completing your details. By default auto complete is on.
To disable this just add autocomplete = "off" in respective form tag
We can also use auto complete in particular input fields of a form.