Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just tried applying patch advcache-update_1-hook.patch. (Win Xp sp2, GnuWin32/patch.exe )
Received the following:
patching file advcache.install
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Press any key to continue . . .
Please advise
Comments
Comment #1
Cataria CreditAttribution: Cataria commentedDid you ever get it working?
The problem likely has to do with the patch being written for Unix systems, and you're using it for Windows. I just had a similar problem, actually! If you resave it in MS-DOS mode though, it should take care of the problem. Two ways to do this:
1) Open the patch in Wordpad or some similar program. Click Save As, and in Save as type, select Text Document - MS-DOS format. Make sure the filename stays " advcache-update_1-hook.patch" though and not .txt.
2) Open command prompt. Go to whatever directory the patch is located. Type "edit advcache-update_1-hook.patch" Save the file.
Should work now!
Comment #2
kenorb CreditAttribution: kenorb commentedClosed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.