Ok teraz poszło ale nie do końca: nie mam pliku invoice_tcpdf.php wskazałem invoice_pdf.php pewnie z tym nie pojdzie?
patch -p0 <lms_pdf_filename_template.diff patching file lib/locale/pl/strings.php Hunk #1 succeeded at 2463 with fuzz 2 (offset -121 lines). patching file lib/config.php Hunk #1 succeeded at 121 (offset -57 lines). patching file lib/pdf.php patching file modules/configlist.php can't find file to patch at input line 63 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: modules/invoice_tcpdf.php |=================================================================== |--- modules/invoice_tcpdf.php (wersja 26) |+++ modules/invoice_tcpdf.php (kopia robocza) -------------------------- File to patch: modules/invoice_pdf.php patching file modules/invoice_pdf.php Hunk #1 FAILED at 53. Hunk #2 FAILED at 86. Hunk #3 FAILED at 133. Hunk #4 FAILED at 166. Hunk #5 FAILED at 224. 5 out of 5 hunks FAILED -- saving rejects to file modules/invoice_pdf.php.rej
----- Original Message ----- From: "Tomasz Chiliński" tomasz.chilinski@chilan.com To: "lista użytkowników LMS" lms@lists.lms.org.pl Sent: Friday, April 13, 2012 12:14 PM Subject: Re: [lms] ID Klienta i nr faktury w nazwie pliku pdf z fakurą ?
W dniu 13.04.2012 11:04, Paweł Bąk napisał(a):
Witam
Witam.
Wyrzuca mi blad ? patch -p1 <lms_pdf_filename_template.diff can't find file to patch at input line 5
Robisz to wewnątrz katalogu LMS? Jeśli tak to: patch -p0 <....
Btw. Porzucamy w LMS obsługę ezPDF, więc fajnie byłoby, żeby ta łatka była dostosowana też do TCPDF.