Failed to open stream error

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.
theITfactor
Posts: 9
Joined: Tue Sep 04, 2012 11:17 am

Failed to open stream error

Postby theITfactor » Thu Sep 06, 2012 11:10 am

I'm getting this error on many pages:

Code: Select all

ojs2 has produced an error Message: WARNING: fopen(/*****/*****/*****/ojs/cache/fc-journalSettings-1.php) [function.fopen]: failed to open stream: Permission denied In file: /*****/*****/*****/ojs/lib/pkp/classes/cache/FileCache.inc.php At line: 85 Stacktrace: Server info: OS: Darwin PHP Version: 5.2.15 Apache Version: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.7l DAV/2 PHP/5.2.15 DB Driver: mysql DB server version: 5.1.39
ojs2 has produced an error Message: WARNING: Cannot modify header information - headers already sent by (output started at /*****/*****/*****/ojs/lib/pkp/classes/core/PKPApplication.inc.php:392) In file: /*****/*****/*****/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php At line: 337 Stacktrace: Server info: OS: Darwin PHP Version: 5.2.15 Apache Version: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.7l DAV/2 PHP/5.2.15 DB Driver: mysql DB server version: 5.1.39
ojs2 has produced an error Message: WARNING: Cannot modify header information - headers already sent by (output started at /*****/*****/*****/ojs/lib/pkp/classes/core/PKPApplication.inc.php:392) In file: /*****/*****/*****/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php At line: 340 Stacktrace: Server info: OS: Darwin PHP Version: 5.2.15 Apache Version: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.7l DAV/2 PHP/5.2.15 DB Driver: mysql DB server version: 5.1.39


Any help would be much appreciated.

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

Re: Failed to open stream error

Postby asmecher » Thu Sep 06, 2012 11:25 am

Hi theITfactor,

As noted here, this is a permissions problem in your cache directory. There are lots of threads in the forum about this, in addition to the FAQ entry.

Regards,
Alec Smecher
Public Knowledge Project Team


Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest