Understanding how to update a patch

Posted on 2008-10-29
Medium Priority
Last Modified: 2012-05-05

   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!
Question by:joanna_l
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
LVL 12

Expert Comment

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?
LVL 12

Expert Comment

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

Windows or Linux?
LVL 12

Accepted Solution

jazzIIIlove earned 1000 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
Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.


Author Comment

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?
LVL 12

Expert Comment

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

Author Comment

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...
LVL 12

Expert Comment

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

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

765 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