Page 1 of 1

Caching errors

Posted: Mon Jul 10, 2017 6:59 pm
by infinitiv
I have caching errors all over the board. See for yourself: http://leviathanrpg.pl Sometimes website just fails to write a cache.
The CHMODs are set correctly. to 777. My host allows it. What else can cause it?

Re: Caching errors

Posted: Mon Jul 10, 2017 7:51 pm
by </Solidjeuh>
I see no errors

Re: Caching errors

Posted: Mon Jul 10, 2017 8:16 pm
by infinitiv
Froddelaar wrote:
Mon Jul 10, 2017 7:51 pm
I see no errors
They are frequent whilist using mChat and posting, sometimes they occur while visting topics, posts and such. Caching errors give severe blank‐sites and other weird bugs.

Re: Caching errors

Posted: Mon Jul 10, 2017 8:33 pm
by </Solidjeuh>
See that all the files/subfolders in the cache also have 0777 permissions.
If that not fix the problem, I think you need to contact our host.

Re: Caching errors

Posted: Mon Jul 10, 2017 8:44 pm
by infinitiv
Froddelaar wrote:
Mon Jul 10, 2017 8:33 pm
See that all the files/subfolders in the cache also have 0777 permissions.
Yeah, they are. Already contacted my server admin, maybe it’ll help. Another strange thing: when an error occurs, sometimes simple page refreshing fixes it and forums runs smoothly for a while. There are example errors:

1. An exception has been thrown during the rendering of a template ("Failed to write cache file "./cache/production/twig/c0/c07baa121dc06503850b4844b0caa6cb688aa1c2eba33b77c74b1e0ce00031f1.php".") in "mchat_messages.html" at line 20.

2. [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/di/container_builder.php on line 146: require(./cache/production/autoload_4335734bbdd20f586549a504dff5f80c.php): failed to open stream: No such file or directory

Re: Caching errors

Posted: Mon Jul 10, 2017 8:47 pm
by janus_zonstraal
And if you contact your host, ask for the "keep alive" function.

Re: Caching errors

Posted: Mon Jul 10, 2017 9:47 pm
by infinitiv
My server admin actually did something (IDK what, he didn’t tell me), and the cache problems are gone. Yay! Thank you for your advices and support.

Re: Caching errors

Posted: Mon Jul 10, 2017 10:02 pm
by infinitiv
Well… False positive. Caching errors are here again. I will contact my server admin and see what can I do.

Re: Caching errors

Posted: Mon Jul 10, 2017 10:10 pm
by infinitiv
janus_zonstraal wrote:
Mon Jul 10, 2017 8:47 pm
And if you contact your host, ask for the "keep alive" function.
I asked about it and it’s on. IDK why caching errors are still happening to me…

Re: Caching errors

Posted: Tue Jul 11, 2017 5:57 am
by david63
It may be a folder/file ownership compatibility problem.

Re: Caching errors

Posted: Tue Jul 11, 2017 8:35 am
by infinitiv
david63 wrote:
Tue Jul 11, 2017 5:57 am
It may be a folder/file ownership compatibility problem.
Server admin set it to default, besides – phpBB didn’t gave me any errors like that (although it was heavily modded). The problems are still there, the site went down with:
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/di/container_builder.php on line 146: require(./cache/production/autoload_4335734bbdd20f586549a504dff5f80c.php): failed to open stream: No such file or directory
Deleting cache manually solved that, but surely not for long. I’m having a paid host and I know that people are running phpBB 3 on it. Not sure about 3.1 or 3.2, but…
Server admin can’t help me. After some kind of reset the problems disappeared for about an hour and they are present now. Any ideas?

Re: Caching errors

Posted: Tue Jul 11, 2017 9:44 am
by infinitiv
…Turned out that Eles, the theme I bought, has trolled me the whole time. Coreframe, the extension that Eles is packed with, has a devmode which messes with caching. It allows theme edits and I did a bunch of them, leaving the devmode on. I should turn it off right away. It seems that the cache problems are gone for sure.