Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

Understanding how to update a patch

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
joanna_l
Asked:
joanna_l
  • 5
  • 2
1 Solution
 
jazzIIIloveCommented:
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
 
jazzIIIloveCommented:
which OS we are talking by the way?

Windows or Linux?
0
 
jazzIIIloveCommented:
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
joanna_lAuthor Commented:
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
 
jazzIIIloveCommented:
well so you will be using terminal to do this...Have you used terminal before?
0
 
joanna_lAuthor Commented:
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
 
jazzIIIloveCommented:
if you are experiencing any problem, feel free to ask...
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now