OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



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
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.

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

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
asmecher
 
Posts: 8673
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

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