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
The Public Knowledge Project Support Forum is moving to

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.
Posts: 8
Joined: Tue Mar 15, 2011 12:19 pm

Trouble Copying OJS Instance For Development

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


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/ failed to open stream: Permission denied in /Users/njeaoeu/Sites/ojs/lib/pkp/includes/ on line 30 Fatal error: require_once(): Failed opening required 'classes/core/' (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/ on line 30

I've read the FAQ and have done various searches without making any progress.
Anyone have any idea?

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

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.


Return to “OJS Development”

Who is online

Users browsing this forum: No registered users and 1 guest