Welcome to eTechBuddy !

"I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." 
-Albert Einstein
Feb
24
2015

Automatic database slave selection

This database driver (called "autoslave") will automatically use the database slaves where applicableand otherwise use a master database.

where applicable means:

Feb
3
2015

Content Type fields mapping In Database

In Drupal 7 you have entities and fields, fields are attached to entities. A node is an implementation of an entity (the node module implements hook_entity_info() and other such hooks) so it can have fields.
 
Jan
31
2015

Global variables of Drupal 7

Scope can be defined as the range of availability a variable has to the program in which it is declared. PHP variables can be one of four scope types:
  1. Local variables
  2. Function parameters
  3. Global variables
  4. Static variables.
 
Global Variables:
 
Nov
24
2014

Migrate commands using Drush

Drush commands are provided for managing the migration process. Individual migrations can be imported and then rolled back. Running processes can be cleanly interrupted, individual source records can be migrated on their own, and performance can be instrumented.
 
Oct
21
2014

Cannot allocate memory: fork: Unable to fork new process

It was a problem with the memory settings on the server. Surprisingly it was too high (800 MB) so I changed this in the Drupal settings.php to 128 MB and now everything is fine.
 
Details how to change:
Sep
10
2014

Drupal 7, how to display the SQL query in view?

When working in the Views module, you may want to preview the SQL that is generated by the view. This is for the code savvy or the ones looking to be and would like to see the SQL generated for either debugging or further development of their views. Sometimes seeing the code can help understand how the view works in case it needs further tweaking.

Aug
18
2014

How do I create a multisite with shared users and nodes?

You can change the settings for the access to the database that are contained in the settings.php file used by your Drupal site to something similar to the following one (replace the values between brackets with the correct values for your site):

Jul
18
2014

Steps to Install Drush on Vagrant Box

Please follow the below steps to install drush on your Vagrant Box
 
  1. Login into VM using SSH client.
  2. Enter "su" in command prompt.It will ask password enter password.
  3. Enter "pear channel-discover pear.drush.org" on command prompt. It will display success.
  4. Enter "pear install drush/drush". This will install drush.
Jul
14
2014

Apache Solr Features

Solr is a standalone enterprise search server with a REST-like API. You put documents in it (called "indexing") via XML, JSON, CSV or binary over HTTP. You query it via HTTP GET and receive XML, JSON, CSV or binary results.
  • Advanced Full-Text Search Capabilities
  • Optimized for High Volume Web Traffic
Jun
24
2014

CPU bound and I/O bound?

CPU Bound means the rate at which process progresses is limited by the speed of the CPU. A task that performs calculations on a small set of numbers, for example multiplying small matrices, is likely to be CPU bound.

Pages

Subscribe to eTechBuddy RSS