Closed Niols closed 9 years ago
I tried to reproduce the exact steps you've tell me on Debian Wheezy too and have no problem…
I just re-did it :
www-data@s2:~/niols$ mkdir rss
www-data@s2:~/niols$ cd rss/
www-data@s2:~/niols/rss$ ls
www-data@s2:~/niols/rss$ git clone https://github.com/FreederTeam/Freeder .
Cloning into '.'...
remote: Counting objects: 2844, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 2844 (delta 2), reused 0 (delta 0)
Receiving objects: 100% (2844/2844), 714.20 KiB | 454 KiB/s, done.
Resolving deltas: 100% (1822/1822), done.
www-data@s2:~/niols/rss$ git submodule init
Submodule 'doc/wiki' (https://github.com/Phyks/Freeder.wiki.git) registered for path 'doc/wiki'
www-data@s2:~/niols/rss$ git submodule update
Cloning into 'doc/wiki'...
remote: Counting objects: 190, done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 190 (delta 103), reused 10 (delta 5)
Receiving objects: 100% (190/190), 53.13 KiB, done.
Resolving deltas: 100% (103/103), done.
Submodule path 'doc/wiki': checked out '6c5c11bbf34827e3e6700787bbfe58f3ea89c6e9'
www-data@s2:~/niols/rss$ ls
ajax.php api constants.php CONTRIBUTING.md doc inc index.php js.php LICENSE login.php logout.php README.md refresh.php settings.php tpl unit
with the same error message:
[Fri Oct 03 09:32:54 2014] [error] [client 129.199.100.124] PHP Warning: file_get_contents(/var/www/niols/rss/.htaccess): failed to open stream: No such file or directory in /var/www/niols/rss/inc/rewriting.class.php on line 122
That's curious since there actually is a test to check whether it is possible to write .htaccess
. I will investigate.
Perms problem ?
Tried it again, with the same problem, but no apache error message.
The .htaccess
file seems to be correctly created btw:
www-data@s2:~/niols/rss$ ls -lah
total 216K
drwxr-xr-x 10 www-data www-data 4,0K oct. 3 10:02 .
[...]
-rw-r--r-- 1 www-data www-data 89 oct. 3 10:01 .gitmodules
-rw-r--r-- 1 www-data www-data 226 oct. 3 10:02 .htaccess
drwxr-xr-x 2 www-data www-data 4,0K oct. 3 10:01 inc
[...]
-rw-r--r-- 1 www-data www-data 318 oct. 3 10:01 .vimrc
www-data@s2:~/niols/rss$ cat .htaccess
# BEGIN Freeder generated
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase //
RewriteRule ^tag/(.+)$ index.php?view=\$tag_$1
RewriteRule ^feed/(.+)$ index.php?view=\$feed_$1
</IfModule>
# END Freeder generated
www-data@s2:~/niols/rss$
Ok so the problem was actually not related to .htacess
(this was just a warning actually).
Could you provide a copy of the resulting sqlite DB? And a list of files located in tmp/
?
The data/
directory is empty, there's no sqlite db.
And still nothing in apache error logs (even with debug log level).
@u4xmp : mkdir tmp data chown www-data:www-data tmp data
Working ? If yes, it's a perm problem we did not handle.
www-data created everything, so all directories are belonging to this user, even data and tmp
Ok, it seems that error messages have been disabled when adding modal boxes…
All js fils seems to be disabled, and lead to the same install page.
Ok, I though this problem was solved…
Following the installations steps, I cloned the repo and created the submodule. After that I tried to install Freeder. I entered my username, my password, my password (again), clicked on « Install ! »… and nothing happened. I tried several times.
In my apache logs, i found the following line :
[Fri Oct 03 09:08:54 2014] [error] [client 129.199.100.124] PHP Warning: file_get_contents(/var/www/niols/rss/.htaccess): failed to open stream: No such file or directory in /var/www/niols/rss/inc/rewriting.class.php on line 122
I'll stay available for questions.