OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Need usage information to import 30000 articles

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.

Need usage information to import 30000 articles

Postby pkpsupport » Thu Sep 07, 2006 2:42 am

We installed: ojs-2.1.0-1 and php:
PHP 5.0.5-2ubuntu1

I am trying to use the command line import tool, to import articles:

When I call the list, the php program is working:

ss@trinity:/var/www/www-data/ojs/ojs-2.1.0-1$ php tools/importExport.php list
Available plugins:
EruditExportPlugin
NativeImportExportPlugin
UserImportExportPlugin

But when I try to see the usage, nothing was returned, eg:

ss@trinity:/var/www/www-data/ojs/ojs-2.1.0-1$ php tools/importExport.php NativeImportExportPlugin usage
ss@trinity:/var/www/www-data/ojs/ojs-2.1.0-1$

Can you please send me the usage documentation for command line import?

I also want to know if it is possible to import automatically 30000 articles, under their own Content Page, instead of allocating each article on the web interface to its own issue?

Regards
Jacobien
Sabinet Online
South Africa
pkpsupport
 
Posts: 16
Joined: Thu Sep 07, 2006 2:26 am
Location: Pretoria

Postby asmecher » Thu Sep 07, 2006 8:14 am

Hi Jacobien,

There's probably an error message coming up that's not being displayed. Many distributions have different php.ini files for the Apache module and the command-line tool; in some distributions, for example, the CLI configuration is in /etc/php/cli/php.ini -- make sure the display_errors and startup errors settings are allowing you to see the error messages, and make sure the MySQL module is installed.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8597
Joined: Wed Aug 10, 2005 12:56 pm

it could help...

Postby mbria » Thu Sep 07, 2006 4:01 pm

Probably this miniHOWTO could help you to avoid common problems:

viewtopic.php?t=731&highlight=

Best luck,

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

Problem solved

Postby pkpsupport » Wed Sep 13, 2006 6:40 am

We installed MySQL module for the php cli. The command line import and export is now working succesfully.

Thanx asmecher, and thanx mbria for the detailed steps.

Regards
Jacobien
pkpsupport
 
Posts: 16
Joined: Thu Sep 07, 2006 2:26 am
Location: Pretoria

Postby mbria » Thu Sep 14, 2006 3:09 pm

Good news.

Congratulations.

See you in the net,

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


Return to OJS Technical Support

Who is online

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