OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Individual Name for Each Journal within MULTIPLE OJS inst.

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Re: Individual Name for Each Journal within MULTIPLE OJS ins

Postby asmecher » Tue Jan 22, 2013 11:15 am

Hi Marc,

Can you check that you're using the ojs-stable-2_4 branch for both the ojs and the pkp-lib repositories (the latter in lib/pkp)? OTOH I wonder if you haven't got master checked out in lib/pkp.

Cheers,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 7698
Joined: Wed Aug 10, 2005 12:56 pm

Re: Individual Name for Each Journal within MULTIPLE OJS ins

Postby mbria » Tue Jan 22, 2013 2:32 pm

Thanks again Alec for your fast answer.

Yes, as you suspect I cloned ojs (master) and lib-pkp (master).
Github networks are now running really slow but from your comments I understund lib-pkp master is not still merged with 2_4_stable, isn't it?

I will try now been sure I work over 2_4_stable branches.
BTW, James told me to translate 2.4.2 but git tags ends at 2.4.1... I suppose the 2_4_stable branch is the one need to be translated so I can also download the tarball you distribute from your web, am I right?

Finally, have you any trick to clone full ojs (ojs plus lib-pkp) with a single git command?
Is not really important, but I'm curious.

Cheers,
m.
mbria
 
Posts: 278
Joined: Wed Dec 14, 2005 4:15 am

Re: Individual Name for Each Journal within MULTIPLE OJS ins

Postby asmecher » Tue Jan 22, 2013 3:15 pm

Hi Marc,

The master branch is for unstable development (which will be released as 3.0 eventually but is currently undergoing a lot of changes); the ojs-stable-2_4 branch is for 2.4.x releases, and we add a new tag to that branch whenever a new release is finalized. So for the moment, you're best off working with ojs-stable-2_4, which will be released soon as OJS 2.4.2.

There's no way to use git to fetch the submodules etc. all at once, but I've just posted a shell script at http://pkp.sfu.ca/wiki/index.php/HOW-TO_check_out_PKP_applications_from_git that should simplify the checkout process for those working from github.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 7698
Joined: Wed Aug 10, 2005 12:56 pm

Re: Individual Name for Each Journal within MULTIPLE OJS ins

Postby mbria » Thu Jan 24, 2013 5:49 am

Perfect documentation and script Alec. Just what I was looking for.
It will facilitate our internal control of the translations as well as the distribution back to you (PKP).
If I find time and is ok for you, I will extend the wiki (http://pkp.sfu.ca/wiki/index.php/Frequent_git_use_cases) for translators.

Let's see if the "site login issue" disappears with the code of the ojs-stable-2_4 branch...
although I'm suspect it won't as far as the official tarball for 2.4.1 still fails. :roll:

Cheers,
m.
mbria
 
Posts: 278
Joined: Wed Dec 14, 2005 4:15 am

Re: Individual Name for Each Journal within MULTIPLE OJS ins

Postby mbria » Thu Jan 24, 2013 6:09 pm

Silly me, I missed to SUBMIT this post I wrote on 23th just after Alec's one.
I think what I aid it's still relevant in this thread ("login issue with multiOJS"), so I publish it anyway:

-----------

Hi Alec,

To be completely sure the code versions were synchronized I tried directly with the tarball you distribute from your PKP website (released as OJS 2.4.1).

With RESTful and without patching SessionsManager.inc.php and bootstrap.inc.php I'm unable to login in the Site (index) or the Magazine (trad241).
With RESTful and patching both files I'm able to login in the manager (trad241) but not in the Site (index).

In this last case, while user keeps logged in the magazine, when I visit links to the Site (ojs-trad241) I'm redirected to login at:
http://revistes.uab.cat/ojs-trad241/log ... 241%2Fuser

In other words, I'm able to reach the magazine (as Journal Manager or whatever) but I'm unable to do anything as Site Administrator as far as any link is redirected to login page.

I'm pretty sure mod_rewrite is working fine (I'm testing new code in our production server and 2.3.6 is working like a charm).
The point is this issue sounds a lot like former one so seams to me that I'm missing something obvious.

Thanks again,
m.

----------
Context info:
base_url = "http://revistes.uab.cat/ojs-trad241"
session_cookie_name = OJSSID-trad241
base_url[index] = http://revistes.uab.cat/ojs-trad241
base_url[trad241] = http://revistes.uab.cat/trad241
; MBR: Patch to allow multiple OJS sites with RESTful URLs
session_cookie_path = /
mbria
 
Posts: 278
Joined: Wed Dec 14, 2005 4:15 am

Re: Individual Name for Each Journal within MULTIPLE OJS ins

Postby asmecher » Mon Jan 28, 2013 11:07 am

Hi Marc,

Would you mind PMing me some test credentials? I'd like to look at the URLs and the cookie that gets generated.

Thanks,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 7698
Joined: Wed Aug 10, 2005 12:56 pm

Re: Individual Name for Each Journal within MULTIPLE OJS ins

Postby mbria » Tue Jan 29, 2013 4:45 am

Unbelievable. Cleaning cookies did the job.
Now I'm able to reach the site and magazine with the brand new ojs-stable-2_4.

Hurray !!

Thanks Alec. The issue part related with this thread is now official closed.
MultiOJS script is now OJS 2.4.x compliant (with the two patches commented before).

BTW Alec, is it possible to add those two patches to the official branch?
If not now (I understand it need further testing), what about 2.4.3?

Let's go to translate.

Cheers,
m

PD to Alec: I sent you the credentials you asked for as well as a doubt about translations.
If you find time, answer the PM, please.
mbria
 
Posts: 278
Joined: Wed Dec 14, 2005 4:15 am

Re: Individual Name for Each Journal within MULTIPLE OJS ins

Postby mbria » Thu Jul 25, 2013 2:37 am

OJS patching to be "MOjO" friendly is discussed here:
http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7073

Cheers,
m.
mbria
 
Posts: 278
Joined: Wed Dec 14, 2005 4:15 am

Previous

Return to OJS Technical Support

Who is online

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