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

Error message

  • Notice: unserialize(): Error at offset 26 of 32 bytes in variable_initialize() (line 915 of /home/etechbud/public_html/includes/bootstrap.inc).
  • Notice: unserialize(): Error at offset 35 of 42 bytes in variable_initialize() (line 915 of /home/etechbud/public_html/includes/bootstrap.inc).
Sep
2
2015

Updating Drupal core in a GIT way

From time to time, there will be minor updates to Drupal core. If the release is designated as a security update, you should apply the update as soon as you can. Otherwise, you may choose to apply the update at any time to receive the bug fixes it contains. There are also major release upgrades, these you may want to apply so you have all the new and powerful features.
 
Apr
23
2015

Drush multi-site aliases configuration

If you're running a multi-site Drupal setup, here's how to set up your Drush aliases to easily run commands for specific sites:

Mar
23
2015

What is utf8_general_ci?

utf8_general_ci is a very simple — and on Unicode, very broken — collation, one that gives incorrect results on general Unicode text.
 
What it does is:
 
  • converts to Unicode normalization form D for canonical decomposition
  • removes any combining characters
  • converts to upper case
 
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.

Pages

Subscribe to eTechBuddy RSS