Drupal 7

ERROR :  PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'WATCHDOG_ERR' for column 'severity' at row 1: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => file [:db_insert_placeholder_2] => The specified file %file could not be copied to %destination. [:db_insert_placeholder_3] => a:2:{s:5:"%file";s:22:"temporary://fileITDlue";s:12:"%destination";s:106:"public://ctools/style/mark_style_2/eb2efeab11aa7cc7f24eabe2b2725ea8/rounded-shadow-top-left-corner_185.png";} [:db_insert_placeholder_4] => WATCHDOG_ERR [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://www.something.com/ [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => [:db_insert_placeholder_9] => 1371318512 ) in dblog_watchdog() (line 157 of /var/www/vhosts/something.com/httpdocs/modules/dblog/dblog.module).
The website encountered an unexpected error. Please try again later.​



It is issue from the drupal core :


but it would not cause a malfunction of the whole Drupal.

If you want to repair this, you have to edit the file :

inside, includes / file.inc line 909 WATCHDOG_ERR, you have to replace this with  WATCHDOG_ERROR


You have to apply the patch from above drupal link.


DrupalChat is module in drupal 7 used for the chatting purpose in a drupal website. you can download it from the following link.


Features Of DrupalChat:

1.One to One and one to many chat.

2.Public chatroom.

3. selectable List of online users.

4.Supports chat for anonymous users  and many other features.

The steps for "Drupal Chat Integration"  are as follows:

1.Download the Zip/rar file from the following link "https://drupal.org/project/drupalchat".

2.Then extract this in all/site/module folder.

3.Also download Session API from this link "https://drupal.org/project/session_api".

4.Extract session API in the Same aa/site/module folder.

5.Now go to drupal 7 modules and check the  box of DrupalChat and Session API.

6.Now go to configuration and configure the Drupal Chat and session API according to requirement.

7.Now test the Chat ,it works 

This is all about DrupalChat Module .......

**If u got an error related to Node.js, you must also install that.





Subscribe to RSS - Drupal 7