Skip to content

index.php fails to run -- no cache, no sqlite #3

@phurvitz

Description

@phurvitz

Hi, I was excited to try this. I followed the instructions and got no progress.
I removed the two lines from index.php as indicated. My test dir is named "fb".

I ran this:

$ php index.php 
Fastback cache directory /var/www/html/fb/fastback/cache/ doesn't exist and can't be created. Please create it and give the web server write permission.

So I created /var/www/html/fb/fastback/cache/ and chown www-data:www-data and chmod 777. Now:

$ php index.php debug
PHP Warning:  Undefined array key "REQUEST_URI" in /var/www/html/fb/fastback/fastback.php on line 563
PHP Fatal error:  Uncaught Error: Call to a member function query() on null in /var/www/html/fb/fastback/fastback.php:577
Stack trace:
#0 /var/www/html/fb/fastback/fastback.php(179): Fastback->send_html()
#1 /var/www/html/fb/index.php(91): Fastback->run()
#2 {main}
  thrown in /var/www/html/fb/fastback/fastback.php on line 577

Nothing seems to be created in /var/www/html/fb/fastback/cache/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions