Closed (fixed)
Project:
Instagram Without API (IWA)
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2020 at 13:28 UTC
Updated:
17 Apr 2022 at 20:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jurgenhaasComment #3
ngkoutsaik commentedHi,
thanks for the patch. I tested it on my local machine and it works as intended.
Comment #4
auxiliaryjoel commented@jurgenhaas when I try and apply this patch via ssh to my cpanel hosted site I get this error:
can't find file to patch at input line 5
I'm currently running CLI from the directory: instagram_without_api
which is situated here:/web/modules/contrib/instagram_without_api
this is the patch I'm trying to apply:
https://www.drupal.org/files/issues/2020-01-12/3105915-2.instagram_witho...
what am I doing wrong?
Comment #5
jurgenhaas@auxiliaryjoel is your Drupal project based on Composer? If not, you may consider switching over. If it was, you can use the composer patches plugin and the patch will be applied each and every time you update your project automatically. You can find that plugin her: https://github.com/cweagans/composer-patches - also the documentation for it.
If you're not yet on Composer, your best source for applying patches is this page: https://www.drupal.org/patch/apply
Comment #6
nwom commentedAlso applies perfectly on the 2.0 branch.
Comment #7
ipwa commentedTargeting correct branch now that branches have been fixed.
Comment #8
ipwa commentedComment #10
ipwa commentedPatch did not apply cleanly anymore but it was just a one line change.
Thanks for your contribution @jurgenhaas :)
Comment #11
ipwa commented