How can i apply the patch file with drush?? sorry i am very new in drupal 7.

I got this type of error :
[
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'uid' in where clause is ambiguous: SELECT u.uid AS uid, u.name AS name, u.status AS status, r.rid AS rid FROM {users} u INNER JOIN {users_roles} r ON u.uid = r.uid WHERE (u.status IN (:db_condition_placeholder_0, :db_condition_placeholder_1)) AND (r.rid IN (:db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4)) AND (uid IN (:db_condition_placeholder_5)) ORDER BY name ASC; Array ( [:db_condition_placeholder_0] => 1 [:db_condition_placeholder_1] => 0 [:db_condition_placeholder_2] => 4 [:db_condition_placeholder_3] => 0 [:db_condition_placeholder_4] => 0 [:db_condition_placeholder_5] => 2 ) in _user_reference_potential_references_standard() (line 491 of /srv/projects/lawyerone/www/public/sites/all/modules/references/user_reference/user_reference.module)
]

i got the solution from this (http://drupal.org/node/843608) node. in these node it's write to install one patch file. but i don't know how to apply patch file with drush. can anybody help me about that matter.

Thank you
tuhin

Comments

mr.baileys’s picture

Component: User interface » Miscellaneous
Assigned: tuhin-1 » Unassigned
Priority: Critical » Normal
Status: Active » Fixed

Hi tuhin,

this module is actually about displaying patches, not about applying them, and has been discontinued since dreditor is a better alternative.

To get information on how to apply patches, take a look at http://drupal.org/patch/apply and its sub-pages, they should tell you everything you need to know. If you still need help after reading through those, take a look at http://drupal.org/support to see what your options are (if you have access to IRC, you should be able to find a helpful friendly person in #drupal-support to assist you in patching).

tuhin-1’s picture

thanks mr.baileys for your helpful comment......

I am now looking forward to it.........

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.