How to repair crashed tables in MySQL if auto repair fails

Here is what you should do if a table crashes and auto repair after mysql restart fails. Open a terminal / command line utility If crash is on remote server you will need to ssh first service mysql stop cd /var/lib/mysql/{your database name} myisamchk -r {table name} – recovering (with sort) MyISAM-table ‘{table name}’ Data records: ...

VT Commerce Image: drupal module for slideshow

VT Commerce Image: drupal module for slideshow
We were searching for a image slideshow module that would match with the designer’s vision. Fortunately, we found this interesting module VT Commerce Image: https://www.drupal.org/project/vtcommerce_image It was almost what we needed. But was it was non-maintained module. This is very common when it come to Drupal module world where in someone created a module according to ...

Drupal Commerce with CiviCRM 4.7.x

We at Web Access recently worked on a project where the requirement was to have an integration between CiviCRM and Drupal Commerce module. Fortunately for us, there is already Commerce CiviCRM module that matched our requirements. However after implementation we found that it didn’t work with the latest CiviCRM version 4.7.x. So we took on the task to ...

Kolibri GUI widget toolkit evaluation

Kolibri GUI widget toolkit evaluation
It’s an early stage for Kolibri project and are in the phase of evaluating GUI widget toolkit that can be used for the project. Along with my colleague Lobo, I decide to help in this evaluation. I volunteered to implement the basic prototype using Angular 2, which will be used for evaluation. Initial specs:   Based ...

How do I download a website?

Before we get into how to download a website, here are some basics that you should know. I would broadly classify any website into 3 categories. Static Dynamic Hybrid Static Website These are simple websites created using HTML, CSS and javascript. The only way to update the website is to edit the HTML files and ...

Experimenting with MEAN

I have been working on LAMP stack for almost a decade now. Lately there has been a lot of buzz about MEAN stack, hence I decided to give it a spin. The MEAN stack is based on MongoDB, Express.js, Angular, and Node.js technology. There are various tutorials available online to learn MEAN. I particularly like the ones ...

Lost and found

I do consider few apps and some of the apple products are highly overrated. Well said that I do own few apple products and I love them. So “Find my iPhone” is one such app which I thought quite useless until today. My house is around 20km from Panaji, the capital of Goa. I had ...

Drupal ReadmoreJS Integration module

Drupal ReadmoreJS Integration module
Last week one of my colleague had an use case for readmorejs integration with Drupal. First of all I was surprised there wasn’t any module for it. So I helped her with a quick and dirty fix. It was to include readmore js and initialization js file in template.php. I know one should not touch ...

Do’s and don’t for a software programmer

Do's and don't for a software programmer
Actually I had drafted below notes, several years back but somehow I forgot to post it here. So here you go.. In this post I would like to talk about some of the do’s and don’t if you are into computer programming  never write a sql query inside a loop, most of the times there ...

Content body disappeared for all content types in drupal 7

This is what happened recently on one of our drupal 7 website: Problem: Content body (node description) disappeared for all content types. Content body was present in the database but it was not displayed on website. Solution: After lot of debugging and searching we found a related post: http://drupal.org/node/989540 Hence I fired below queries: UPDATE ...