Drupal Technical

Zyxware default image4
| 1 min read
Many Drupal users have encountered a message similar to Fatal error: Cannot redeclare getnodecount() (previously declared in /var/www/sites/site.org/htdocs/includes/common.inc(1685) : eval()'d code:3) in /var/www/sites/site.org/htdocs/includes/common.inc(1685) : eval()'d code on line 9" If you are faced with an error of similar type then read on to find out more about the issue.
Zyxware default image4
| 2 min read
Many Drupal users have encountered a Duplicate entry error when adding a new node to their Drupal sites. The error message is as follows "# user warning: Duplicate entry '0' for key 2 query: INSERT INTO node (vid, type, language, title, uid, status, created, changed, comment, promote, moderate, sticky, tnid, translate) VALUES (0, 'page', 'es', 'eee', 1, 1, 1222437644, 1222437644, 2, 1, 0, 0, 0, 0) in /var/www/webapps/drupal6/includes/common.inc on line 3318. # user warning: Duplicate entry '0' for key 1 query: INSERT INTO node_comment_statistics (nid, last_comment_timestamp, last_comment_name, last_comment_uid, comment_count) VALUES (0, 1222437644, NULL, 1, 0) in /var/www/webapps/drupal6/modules/comment/comment.module on line 607." If you are encountering the same error in your Drupal site then read on to find out the fix.
Zyxware default image1
| 3 min read
Many Drupal users have encountered a Crashed Drupal Sessions table with the error mesage similar to "Table './dbname/sessions' is marked as crashed and should be repaired query: sess_write UPDATE sessions SET uid = 0, cache = 0, hostname = '67.195.112.119', session = 'localizer_contentlanguages|s:20:\"a:1:{s:3:\"eng\";i:1;}\";', timestamp = 1277138140 WHERE sid = '2cdf7dd30bd3ce06f5b9576d7da5a232' in /home/domain/public_html/includes/database.mysql.inc on line 174" If you are facing this error message in your Drupal site then read on to know how to fix it.
Zyxware default image2
| 2 min read
We had come across many situations while developing Drupal based websites where we had to create Javascript popups without using third party Javascript libraries. Third party libraries often lead to dependency issues or conflicts with existing Javascript functionalities. If you want to know how to create a simple Javscript popup in your Drupal website without using third party Javascript libraries then continue reading.
Zyxware default image3
| 3 min read
It is easy to show an image pop-up in Colorbox using Views in a Drupal website. You just have to change the image formatter in Views. However if you don't have a View and you still want to load the image in Colorbox, you can do it using jQuery. Read on to know how to load an image in Colorbox using jQuery in a Drupal 7 website.