OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Trouble Copying OJS Instance For Development

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

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

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

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 OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

Trouble Copying OJS Instance For Development

Postby njeaoeu » Thu Mar 31, 2011 1:42 pm

Hey,

I've been trying to copy a working OJS instance over locally to my
mac running OXS Snow Leopard to make development a bit easier and
quicker. The problem is that I've ran into what looks like permission
issues but am not sure how to fix it.

I meet the requirements and everything works alright (I've been
able to run a new instance of OJS on the mac).

When I have Apache/PHP/MySQL running and I navigate to
http://localhost/~njeaoeu/ojs in my browser I get the following problem
thrown at me:

Code: Select all
Warning: require_once(/Users/njeaoeu/Sites/ojs/classes/core/Application.inc.php): failed to open stream: Permission denied in /Users/njeaoeu/Sites/ojs/lib/pkp/includes/functions.inc.php on line 30 Fatal error: require_once(): Failed opening required 'classes/core/Application.inc.php' (include_path='.:/Users/njeaoeu/Sites/ojs/classes:/Users/njeaoeu/Sites/ojs/pages:/Users/njeaoeu/Sites/ojs/lib/pkp:/Users/njeaoeu/Sites/ojs/lib/pkp/classes:/Users/njeaoeu/Sites/ojs/lib/pkp/pages:/Users/njeaoeu/Sites/ojs/lib/pkp/lib/adodb:/Users/njeaoeu/Sites/ojs/lib/pkp/lib/phputf8:/Users/njeaoeu/Sites/ojs/lib/pkp/lib/pqp/classes:/Users/njeaoeu/Sites/ojs/lib/pkp/lib/smarty:.:/usr/lib/php') in /Users/njeaoeu/Sites/ojs/lib/pkp/includes/functions.inc.php on line 30


I've read the FAQ and have done various searches without making any progress.
Anyone have any idea?
Thanks,
nje
njeaoeu
 
Posts: 8
Joined: Tue Mar 15, 2011 12:19 pm

Re: Trouble Copying OJS Instance For Development

Postby jmacgreg » Sat Apr 02, 2011 5:03 pm

Hi nje,

Have you tried modifying the permissions for your OJS files? Those files need to be readable by the web server user.

Cheers,
James
jmacgreg
 
Posts: 4162
Joined: Tue Feb 14, 2006 10:50 am


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 3 guests

cron