[RESOLVED] Patching problem

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785

[RESOLVED] Patching problem

Postby mullz » Fri Aug 08, 2003 10:06 am

Ok so I dont think my host has a patch program I can use but I downloaded one so I can patch the files on my local drive then upload them..

Problem is I don't know what command to use..

I use windows xp and I cant get my folder "expression7.com" through dos prompt, presumibly cause its got.com in it.. this is what I got

D:\WEBSITES\patch -cl -d [expression7.com\forum] -pl <[phpBB-2.0.5_to_2.0.6.patch]

Is this correct>? I know nothing on command lines..#

cherers
Last edited by mullz on Fri Aug 08, 2003 11:12 am, edited 1 time in total.
User avatar
mullz
Registered User
 
Posts: 27
Joined: Thu Jul 31, 2003 10:20 am

Postby Black Fluffy Lion » Fri Aug 08, 2003 10:25 am

Nope, that's not correct...when using the patch, you are modifying the phpBB files on your own computer, not ones on the web. So, download the phpBB files from your host using FTP, and then dump them in a directory along with patch.exe from UnxUtils...then run this:

Code: Select all
patch -cl -p1 < phpBB-2.0.5_to_2.0.6.patch > result.txt


and have a looksee in result.txt to see how it went
User avatar
Black Fluffy Lion
Former Team Member
 
Posts: 6057
Joined: Sat Dec 15, 2001 11:37 am

Postby mullz » Fri Aug 08, 2003 10:39 am

ok so I tried this.. patch.exe in the root of phpbb2 "forum" and patch file is there also..

done what you siad but I get--

patch: **** malformed pacth at line 13: ----

any ideas? nothing was in the results.txt
User avatar
mullz
Registered User
 
Posts: 27
Joined: Thu Jul 31, 2003 10:20 am

Postby Black Fluffy Lion » Fri Aug 08, 2003 10:42 am

You need to change the style of line ending...you need a decent text/code editor (such as editPlus), in which you can change the line endings of the .patch file from UNIX style to PC.
User avatar
Black Fluffy Lion
Former Team Member
 
Posts: 6057
Joined: Sat Dec 15, 2001 11:37 am

Postby mullz » Fri Aug 08, 2003 10:46 am

and whats the diff?

What do I need to change?
User avatar
mullz
Registered User
 
Posts: 27
Joined: Thu Jul 31, 2003 10:20 am

Postby Black Fluffy Lion » Fri Aug 08, 2003 10:49 am

Go to Document-->File Format (CR/LF), change it to PC and then save the file and run the patch command again :)
User avatar
Black Fluffy Lion
Former Team Member
 
Posts: 6057
Joined: Sat Dec 15, 2001 11:37 am

Postby mullz » Fri Aug 08, 2003 11:11 am

many thanks for your response.. I am now running 2.0.6 fine with no errors.. Magic :)

[RESOLVED]
User avatar
mullz
Registered User
 
Posts: 27
Joined: Thu Jul 31, 2003 10:20 am

Postby Black Fluffy Lion » Fri Aug 08, 2003 11:47 am

Excellent, good to hear it works :D
User avatar
Black Fluffy Lion
Former Team Member
 
Posts: 6057
Joined: Sat Dec 15, 2001 11:37 am

Postby Zyndrone » Mon Jan 31, 2005 8:58 pm

Hey I have a problem.

I have phpBB-2.0.10_to_2.0.11.patch in my directory, E:\Spillmodding\upgrade\phpBB2. The patch.exe is also there.
update_to_2011.php is also in /install.

Then I have tried to run these commands, without any luck.

E:\Spillmodding\upgrade\phpBB2\patch -cl -p1 < phpBB-2.0.10_to_2.0.11.patch > result.txt

E:\Spillmodding\upgrade\phpBB2\patch -cl -p1 [E:\Spillmodding new\upgrade\phpBB2] -p1 < [phpBB-2.0.10_to_2.0.11.patch]

What am I doing wrong?
User avatar
Zyndrone
Registered User
 
Posts: 9
Joined: Sun Jan 30, 2005 7:50 pm

Postby Balint » Sun Feb 13, 2005 9:02 pm

Zyndrone wrote:Hey I have a problem.

I have phpBB-2.0.10_to_2.0.11.patch in my directory, E:\Spillmodding\upgrade\phpBB2. The patch.exe is also there.
update_to_2011.php is also in /install.

Then I have tried to run these commands, without any luck.

E:\Spillmodding\upgrade\phpBB2\patch -cl -p1 < phpBB-2.0.10_to_2.0.11.patch > result.txt

E:\Spillmodding\upgrade\phpBB2\patch -cl -p1 [E:\Spillmodding new\upgrade\phpBB2] -p1 < [phpBB-2.0.10_to_2.0.11.patch]

What am I doing wrong?


Hi!

The tutorial is not correctly written in some points. Try this:

put the patch.exe and the phpBB-2.0.10_to_2.0.11.patch in E:\Spillmodding\upgrade\ and run the following command from that directory

Code: Select all
patch -cl -d E:\Spillmodding\upgrade\phpBB2 -p1 < phpBB-2.0.10_to_2.0.11.patch


You got the squared brackets wrong, and it's NOT patch -cl -p1 but patch -cl -d in the beginning!

Greets,
Bálint
Image A Hungarian living in Germany
MODs for 2.x: Mini Profile, ACP link in Header and more...
MODs for 3.x: Custom Header Logo, URL + IMG Prompt while posting and Search back!
User avatar
Balint
Registered User
 
Posts: 815
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany

Postby jcisar » Sat Mar 19, 2005 8:36 pm

Black Fluffy Lion wrote:Nope, that's not correct...when using the patch, you are modifying the phpBB files on your own computer, not ones on the web. So, download the phpBB files from your host using FTP, and then dump them in a directory along with patch.exe from UnxUtils...then run this:

Code: Select all
patch -cl -p1 < phpBB-2.0.5_to_2.0.6.patch > result.txt


and have a looksee in result.txt to see how it went


I've been following this thread trying to intall the 2.0.10_2.0.13 patch.
I have my phpBB2 files on my hardrive along with the the phpBB-2.0.10_to_2.0.13.patch file, and patch.exe in the same root folder.
I open patch.exe and type in the command you gave at the prompt, but modified for the patch file I am using, as posted:
Code: Select all
patch -c1 -d < C:\Documents and SEttings\jc\My Documents\WEB PROJECTS\PHPBBS\public_html -p1 <phpBB-2.0.10_to_2.0.13.patch

Once typed into the prompt, I hit enter and nothing happens.
How do I execute this command in patch.exe?

Thanks,

John
User avatar
jcisar
Registered User
 
Posts: 7
Joined: Sat Mar 19, 2005 8:26 pm
Location: Burlington, VT

Postby Obsidian_Razor » Tue Apr 19, 2005 11:15 pm

I'm having the same problem...

Anybody can help?
Obsidian_Razor
Registered User
 
Posts: 4
Joined: Mon Dec 01, 2003 10:32 pm

Postby Balint » Wed Apr 20, 2005 2:47 pm

Hi!

@Obsidian_Razor: could you please describe exactly what you did, and which version do you have?

@jcisar: is your problem solved in the meantime?


Greets,
Bálint
Image A Hungarian living in Germany
MODs for 2.x: Mini Profile, ACP link in Header and more...
MODs for 3.x: Custom Header Logo, URL + IMG Prompt while posting and Search back!
User avatar
Balint
Registered User
 
Posts: 815
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany

Postby bingfordau » Tue Apr 26, 2005 6:25 am

Hi....

I also have been following this thread trying to intall the 2.0.2_2.0.14 patch.

I have my phpBB2 files on my hard drive along with the the phpBB-2.0.2_to_2.0.14.patch file, and patch.exe in the same folder. (all in C:\TBF)

I open patch.exe and type in the command you gave at the prompt, but modified for the patch file I am using, as posted:

Code: Select all
patch -c1 -d  C:\TBF -p1 < phpBB-2.0.2_to_2.0.14.patch


Once typed into the prompt, I hit enter and nothing happens.
How do I execute this command in patch.exe?

Thanks,

Andrew
bingfordau
Registered User
 
Posts: 26
Joined: Thu Mar 03, 2005 12:50 pm

Postby Balint » Tue Apr 26, 2005 10:44 am

Hi Andrew!

Try to put the phpBB-2.0.2_to_2.0.14.patch and patch.exe in c:\ (the root folder), make sure the prompt shows c:\> only and try the command again.

Greets,
Bálint
Image A Hungarian living in Germany
MODs for 2.x: Mini Profile, ACP link in Header and more...
MODs for 3.x: Custom Header Logo, URL + IMG Prompt while posting and Search back!
User avatar
Balint
Registered User
 
Posts: 815
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany

Next

Return to 2.0.x Support Forum

Who is online

Users browsing this forum: Google [Bot] and 7 guests