500 Internal Server Error. Failed to open stream

by ipsmith, Friday, March 15, 2013, 19:27 (4379 days ago)

Hello!

I have tried to install Selfoss in my server but i'm getting this error that i'm unable to solve.

I get the message:

500 Internal Server Error

file_put_contents(/sitename/feeds/public/all.js) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied

selfoss Version 2.3-SNAPSHOT
feeds is the folder i have selfoss.
My current setup is:
Apache 2.2, PHP 5.3

I tried editing my .htaccess file, and well, it doesn't matter if i enable or disable RewriteBase /feeds i still get the same error.

Thank you in advance.

500 Internal Server Error. Failed to open stream

by MidSpeck, Friday, March 15, 2013, 20:32 (4379 days ago) @ ipsmith

My guess is that you don't have the following directories set with write permissions:
public/
data/cache/
data/favicons/
data/logs/
data/sqlite/
data/thumbnails/

You'll want to do something like:
chmod 777 public
on all those directories.

500 Internal Server Error. Failed to open stream

by ipsmith, Friday, March 15, 2013, 20:39 (4379 days ago) @ MidSpeck

Oh i noticed the issue there.

I was missing write permission on public/ folder. Now everything works perfect!!

Thank you!

RSS Feed of thread
powered by my little forum