infinity icon indicating copy to clipboard operation
infinity copied to clipboard

Nothing shows up after install

Open thegrandinquisitor opened this issue 11 years ago • 4 comments

I've installed everything using the given instructions. However, every page I try to navigate to is blank. For example, if I navigate to "example.com/install.php" or "example.com/mod.php", I just end up with a blank page with no content.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

thegrandinquisitor avatar Jan 17 '15 21:01 thegrandinquisitor

Here's the error from my nginx log:

2015/01/17 16:12:14 [error] 11218#0: *51 FastCGI sent in stderr: "PHP message: PHP Warning:  require(secrets.php): failed to open stream: No such file or directory in /var/www/infinity/inc/instance-config.php on line 51
PHP message: PHP Fatal error:  require(): Failed opening required 'secrets.php' (include_path='/var/www/infinity/inc/lib/htmlpurifier-4.5.0/library:.:/usr/share/php:/usr/share/pear') in /var/www/infinity/inc/instance-config.php on line 51" while reading response header from upstream, client: 74.65.36.235, server: hellchan.org, request: "GET /mod.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "hellchan.org", referrer: "http://hellchan.org/mod.php"

thegrandinquisitor avatar Jan 17 '15 21:01 thegrandinquisitor

It looks like the inc/instance-config.php file is looking for secrets.php, which doesn't exist.

thegrandinquisitor avatar Jan 17 '15 21:01 thegrandinquisitor

Rename secrets.sample.php to secrets.php and edit it to satisfy your needs. On Jan 17, 2015 3:15 PM, "thegrandinquisitor" [email protected] wrote:

It looks like the inc/instance-config.php file is looking for secrets.php, which doesn't exist.

— Reply to this email directly or view it on GitHub https://github.com/ctrlcctrlv/infinity/issues/352#issuecomment-70384691.

ghost avatar Jan 17 '15 21:01 ghost

Thanks, that worked. Maybe you can add that to the README?

thegrandinquisitor avatar Jan 17 '15 21:01 thegrandinquisitor