Solved: 3 Years, 6 Months, 3 Weeks ago Xcache and settings.php
#1
Solved: 3 Years, 6 Months, 3 Weeks ago
Hello,

I'm using MyBB with Xcache but I noticed a problem with the settings.

When I update the settings it's written to the database, but not to the settings.php file.
(Error: failed to open stream: Invalid argument)

If the file doesn't exist it's created successfully.
When I disable Xcache it's working fine.. Do I have something configured wrong?

I have this line in my config.php:

$config['cache_store'] = 'xcache';

Do I need something more?

Thanks!
Reply
#2
Solved: 3 Years, 6 Months, 3 Weeks ago
not sure what exactly is wrong - does your forum also use cloudflare cache system ? is settings.php file writable ?

Please Note: powered by MyBB notice should be retained to get support from this community [Support Eligibility Policy]
Reply
#3
Solved: 3 Years, 6 Months, 3 Weeks ago
Yes the forum is cached by cloudflare, but not the local files of course...
settings.php is writeable and permissions are set correctly, it's a windows system anyway

Uh I never noticed it was missing. I added it to the footer

Just wanted to say I fixed it. Uninstalled Xcache and I use opcache now. It's working now and even faster!

The Page generates in about 20ms, before it was 40ms Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)