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

Stacey 2.3 sometimes makes my cache corrupt by adding a duplicate "up one directory" #164

Open
desbest opened this issue Jul 23, 2021 · 1 comment

Comments

@desbest
Copy link

desbest commented Jul 23, 2021

Sometimes the cache for my website goes corrupt and I get a website that looks similar to this.

Screenshot 2021-07-23 at 20-20-33 My client work

This is because all the paths that say ../ are changed to ../../ by the Stacey's cache.
This happens occassionally but only after weeks or months has passed, so I can't recreate the error. But it's got something to do with how the cache is generated.

The file name in the app/cache folder is called Li9jb250ZW50L3dvcms,

I'm using Stacey 2.3
Is there a fix for this?

<link rel="stylesheet" type="text/css" href="../../public/stylesheet.css">
 <a href="../../work/adopted"><img src="../../public/images/work_chooseme_adopted.png" class="responsive-eightteen" width="61" height="12" style=" margin-bottom: 22px; margin-left: 12px;" alt="adopted software"></a>
@desbest
Copy link
Author

desbest commented Mar 8, 2024

The bug seems to be caused by using an old version of PHP 7.
I don't have the time to debug this, as I have no need to use any older versions. Especially as there is a mysql bug in earlier versions of PHP 7.x which are only fixed in PHP 7.4, for connecting to newer versions of mysql.

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

No branches or pull requests

1 participant