Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web getting error 500 after few hours #158

Open
DJIronic opened this issue Mar 22, 2020 · 7 comments
Open

Web getting error 500 after few hours #158

DJIronic opened this issue Mar 22, 2020 · 7 comments
Labels

Comments

@DJIronic
Copy link

Hello,

I run the latest version of dev version of ts-website (updated today). And our site gets error 500 every few hours.

Deleting the cache files helps. Any idea of what does it?

@Pyroman-FEAR
Copy link

Pyroman-FEAR commented Mar 25, 2020

moved to #161

@DJIronic
Copy link
Author

Here is the repeating line in my error log:

[Wed Mar 25 05:29:56.905650 2020] [php7:error] [pid 20911] [client 2001:15e8:110:2f46::1:39466] PHP Fatal error: Uncaught Exception: Cannot load cache file! (config) in /home/simoncechacek/web/life-games.cz/public_html/private/vendor/wruczek/php-file-cache/src/PhpFileCache.php:75\nStack trace:\n#0 /home/simoncechacek/web/life-games.cz/public_html/private/vendor/wruczek/php-file-cache/src/PhpFileCache.php(313): Wruczek\\PhpFileCache\\PhpFileCache->loadCacheFile()\n#1 /home/simoncechacek/web/life-games.cz/public_html/private/vendor/wruczek/php-file-cache/src/PhpFileCache.php(62): Wruczek\\PhpFileCache\\PhpFileCache->reloadFromDisc()\n#2 /home/simoncechacek/web/life-games.cz/public_html/private/php/Config.php(39): Wruczek\\PhpFileCache\\PhpFileCache->__construct()\n#3 /home/simoncechacek/web/life-games.cz/public_html/private/php/Utils/SingletonTait.php(16): Wruczek\\TSWebsite\\Config->__construct()\n#4 /home/simoncechacek/web/life-games.cz/public_html/private/php/Utils/SingletonTait.php(26): Wruczek\\TSWebsite\\Config::Instance()\n#5 /home/simoncechacek/web/life-games.cz/public_html/private/php/Utils/DatabaseUtils.php(21): Wruczek\\TSWebsit in /home/simoncechacek/web/life-games.cz/public_html/private/vendor/wruczek/php-file-cache/src/PhpFileCache.php on line 75

@Wruczek
Copy link
Owner

Wruczek commented Mar 25, 2020

The cache problem is known, but so far I have no solution for it.
@Pyroman-FEAR Something's wrong with languages. What language are you using? Please open a separate issue.

@DJIronic
Copy link
Author

Well, I created a CRON record in my linux OS to remove the cache files every 15 minutes. Its not a fix, but it works for now.

@Wruczek
Copy link
Owner

Wruczek commented Mar 25, 2020

You could also fully disable caching, but I don't recommend it.

@Wruczek
Copy link
Owner

Wruczek commented Mar 25, 2020

Will leave this as open until I find a fix for this, its been going for a while.

@Pyroman-FEAR
Copy link

New issue is open #161 @Wruczek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants