tontof / kriss_feed

A simple and smart (or stupid) feed reader
281 stars 53 forks source link

Undefined variable: pb #353

Open angezanetti opened 10 years ago

angezanetti commented 10 years ago

I just installed kriss to my new server. I proceed the installation process without issues. Importing my OPML feeds, but now the index.php returns

Notice: Undefined variable: pb in /var/www/kriss.foo.com/index.php on line 131

Fatal error: Call to a member function assign() on a non-object in /var/www/kriss.foo.com/index.php on line 131
tontof commented 10 years ago

That's a bug. This line should tell you that you don't have rights for inc directory creation. Try to create it manually (inc/favicon) or disable favicon option.

I will check for the error message bug.

angezanetti commented 10 years ago

Hum, it looks like i need to put the inc and the data folders to 777 if i want it to works fine. Why is this not working with regular perms ?

tontof commented 10 years ago

I guess it depends on your server configuration (the www-data may not have right to chown the directory because when it is created with kriss feed it should be 755). Is it your own server or a shared one ?

tontof commented 10 years ago

https://github.com/tontof/kriss_feed/blob/master/index.php#L130 Maybe the parent directory as wrong permission and does not allow to create directory.

angezanetti commented 10 years ago

Oh, yeah it was a miss configuration of my serv :)