Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Whoops PHP error on install

Started by Muut Archive 11 years ago · 4 replies · 468 views
11 years ago

I'm getting this error after installing and navigating to the URL where I'm hosting my blog. I've got PHP 5.4 and Apache - not sure what's happening (I'm a front-end guy, this is a strange land for me).

xcache_isset(): XCache var cache was not initialized properly. Check php log for actual reason.

Then, underneath:

}

TXT
/**
 * {@inheritdoc}
 */
protected function doContains($id)
{
    return xcache_isset($id);
}

Any idea what's happening and how I can fix it?

Thanks!

11 years ago

It looks like your hosting provider has PHP xcache installed but its not properly enabled for your account. As Grav tries to use the best option available, it's picking xcache as its installed, but obviously running into problems caused by a bad setup.

You have two options, the first being the easiest solution:

1) Change the cache driver in user/config/system.yaml from auto to file

2) Ask your hosting provider to fix the problems with xcache setup.

I would try 1) to get things running, but using xcache will improve performance (probably) so it might well be worth getting that issue resolved with your provider.

11 years ago

Thanks so much for the prompt reply! I'm emailing my host provider now... It's laughing squid, by the way, in case any other users run into this problem in the future.

11 years ago

We don't have laughing squid specific instructions, but we have a three hosting provider writeups with detailed information on setup in the docs:

http://learn.getgrav.org/hosting

You might find some handy stuff in those too.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1103 9 years ago