Solved

Understanding how to update a patch

Posted on 2008-10-29
7
182 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

948 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now