mohon petunjuk para senior, bagaimana cara menerapkan (apply) file patch pada module yang error. Setelah mencari pada drupal.org biasanya ada yang memberi solusi file patch , lalu bagaimana menggunakan-nya ?
User login
Komentar Baru
-
"lhaa ini yg saya cari,"
kafidunDDBlock di Drupal 7 [37]2 hours 19 min ago
-
"link"
kafidunDDBlock di Drupal 7 [37]8 hours 5 min ago
-
"Wah, mase.. kalau semuanya"
ganagusmemperkenalkan situs kami [25]1 day 15 hours ago
-
"Re:Problem di save bottons"
jangananProblem di save bottons [1]2 days 1 hour ago
-
"dika."
Ibnu HrSHARE dong tmen2 yang sudah bisa... [7]2 days 2 hours ago
-
"settings.php"
RJSHARE dong tmen2 yang sudah bisa... [7]2 days 7 hours ago
-
"masalahnya lagi, pager view"
kafidunSupaya pager muncul [3]2 days 7 hours ago
-
"iya gan, setelah view"
kafidunSupaya pager muncul [3]2 days 7 hours ago
-
"oww, si agan instalnya dari"
kafidunbagaimana cara hosting drupal 7 [5]2 days 7 hours ago
-
"Max Page"
RJSupaya pager muncul [3]2 days 8 hours ago

Here are the steps needed to install a patch for a drupal module :
1) Download the patch and save it to the local folder of the bad file for example views-fix.patch
2) Run a command like this to fix the bad file : patch < views-fix.patch
Here is a batch installation , the fix the error on vies installation :
Error:
Undefined offset: 0 in views_handler_field_field->option_definition()
Fix Patch Install :
=============
Example on patch the views module , after saving the patch on this drupal.org node to a local file called views-fix.patch :
[root@perfrep field]# pwd
/var/www/html/sites/all/modules/views/modules/field
[root@perfrep field]# vi views-fix.patch
[root@perfrep field]# patch < views-fix.patch
patching file views_handler_field_field.inc
Hunk #1 succeeded at 283 (offset -7 lines).
Hunk #2 succeeded at 335 (offset -10 lines).
[root@perfrep field]#