You are viewing the PKP Support Forum | PKP Home Wiki

OJS Support FAQ: Read this first!

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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

OJS Support FAQ: Read this first!

Postby asmecher » Tue Nov 20, 2007 12:51 pm

The FAQ has moved: you can find it at http://pkp.sfu.ca/wiki/index.php/PKP_Fr ... _Questions.
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: OJS Support FAQ: Read this first!

Postby GennadyK » Wed Jan 16, 2008 12:32 pm

Hi Alec,

This OJS Support FAQ is very good thing, but in my opinion it's better to have it on the support page (the one that need to be created and name of the menu will change to just "Support")for OJS divided by sections then at the end of each section it should say "If you are not found the answer pls proceed to the support forum".
Anyway just want to say few words about my PHP CLI importExport.php NativeImportExportPlugin experience. It's not easy to make it work - documentation isn't very complete.
There is no explanation what is journal_path, issue_id and where to get one from usage. And there is no samples with explanation. All things you need to guess. Also import is kind of slow until you change process priority for php.exe to "Above Normal".
Link to short and good manual how to work with PHP CLI will be appreciated. And suggestions where to put issue.xml and from where to run CLI command.
We found that we need to run it from C:\PHP, where php.exe and all dlls are located and issue.xml should be in the same folder:

C:\PHP>c:\php\php.exe -c C:\OJS\tools\php_cli.ini -f C:\OJS\tools\importExport.php NativeImportExportPlugin import issue1.xml Path user_name issue 1

Path is journal path from Home > User > Site Administration > Journals, same as you have in the URL just after index.php/
user_name - name of existing user for the journal

It works only when we change code in the tools\includes\cliTool.inc.php:

Hope this will be helpful for some Windows users.
Thank you,
Posts: 19
Joined: Tue Apr 24, 2007 9:16 am

Return to OJS Technical Support

Who is online

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