Solved

Understanding how to update a patch

Posted on 2008-10-29
7
183 Views
Last Modified: 2012-05-05
Hi,

   I'm having troubles updating a patch and was hoping to get some advice. These are the instructions I've been given to update (full documentation:http://pkp.sfu.ca/ojs/UPGRADE):
_________________________________

To update by patching, download the appropriate patch file for your current version of OJS and run the following command from your OJS directory:

    $ patch -p1 < PATCH_FILE
_________________________________

But...I have no idea how to run a command from my OJS directory (which I believe is just a folder on my server). Anyone have any ideas?
 
Many thanks!
0
Comment
Question by:joanna_l
  • 5
  • 2
7 Comments
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 22837313
Note that this will require the GNU patch tool to be installed. GNU patch is
included in most *NIX distributions, and is available for Windows and Solaris
as a download. Windows users may need to work around a patch bug by converting
the line-endings in the patch file from UNIX to DOS; to do this, open the patch
file in Notepad and save it again.

you have done that?
0
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 22837319
which OS we are talking by the way?

Windows or Linux?
0
 
LVL 12

Accepted Solution

by:
jazzIIIlove earned 250 total points
ID: 22837385
Hi there;

A screenshot may clarify the issue for windows...

Be sure you are admin in your machine if we are talking in windows...

If Linux: go to directory via cd command just as dos prompt...then be sure you have the privilege to run the patch...if no, give +x to the patch...and be sure you are root in your machine if we are talking in Linux distro...

Best regards
1.JPG
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:joanna_l
ID: 22837459
Hi jazzllllove!

I'm sort of blind and not very knowledgeable to/in these things, so thanks for your help!

I haven't done the GNU thing yet -  I'm using a Mac - does this make a difference?
0
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 22843175
well so you will be using terminal to do this...Have you used terminal before?
0
 

Author Comment

by:joanna_l
ID: 22847115
I haven't, but I have used Unix before (eons ago) ...but I'm trying to get shell access through the control panel of my server...
0
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 22850161
if you are experiencing any problem, feel free to ask...
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question