You are viewing the PKP Support Forum | PKP Home Wiki

clitool in CVS?

OCS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, michael

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page. While these are OJS-specific, the OCS codebase is similar enough to OJS they should be of help. There is also an [url=http://pkp.sfu.ca/ocs_documentation[/url]OCS Documentation[/url] page with some more general documentation that might also be of interest.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a technical support question, try the OCS Technical Support subforum.

clitool in CVS?

Postby spatialguru » Tue Mar 03, 2009 12:58 pm

Hi, just grabbed OCS from CVS. I'm wondering if I grabbed it right, because I'm not having much fun ;)

The index.php page won't load for me - only a blank screen, no errors anywhere I can see. So I tried from command line, to run install.php - but it bails complaining:

Code: Select all
$ php tools/install.php
PHP Warning:  main(/var/www/ocs2/ocs2_cvs_2009-03-02/lib/pkp/classes/cliTool/CliTool.inc.php): failed to open stream: No such file or directory in /var/www/ocs2/ocs2_cvs_2009-03-02/tools/install.php on line 18
PHP Fatal error:  main(): Failed opening required '/var/www/ocs2/ocs2_cvs_2009-03-02/lib/pkp/classes/cliTool/CliTool.inc.php' (include_path='.:/usr/share/pear') in /var/www/ocs2/ocs2_cvs_2009-03-02/tools/install.php on line 18
Content-type: text/html
X-Powered-By: PHP/4.3.9

Indeed there is no classes/cliTool folder and I'm pretty unfamiliar with it - having not used it before.

Any tips for getting started from CVS? I'm pretty sure all permissions are right, having done at least 3-4 installs previously. Please tell me I simply forgot something :)

Best wishes,
Posts: 112
Joined: Mon Jun 25, 2007 1:23 pm
Location: British Columbia, Canada

Re: clitool in CVS?

Postby mcrider » Tue Mar 03, 2009 2:06 pm

Hi Tyler,

Check out the newly written (by James) wiki article at http://lib-pkp.lib.sfu.ca/wiki/index.php/Information_for_Developers. In particular it looks like you haven't checked out the PKP library and copied/symlinked it into your OJS /lib directory. You simply forgot something :)

Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Return to OCS Development

Who is online

Users browsing this forum: Google [Bot] and 1 guest