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

No cache file creation on subfolder installation #313

Open
Zodiac1978 opened this issue Nov 18, 2024 · 2 comments
Open

No cache file creation on subfolder installation #313

Zodiac1978 opened this issue Nov 18, 2024 · 2 comments
Labels

Comments

@Zodiac1978
Copy link
Member

Running Cachify 2.4.0 and WP 6.6.2, but my cache folder is completely empty.

Not sure why this happens. My installation is in a subfolder (folder permissions was 750, but modifying to 755 does not help).

No error in the error log.

@Zodiac1978 Zodiac1978 added the bug label Nov 18, 2024
@stklcode
Copy link
Contributor

stklcode commented Nov 18, 2024

So you have selected the "HDD" backend, <subdir>/wp-content/cache/cachify exists, but is empty?

My installation is in a subfolder

/path/to/page is internally redirected to /<subdir>/index.php or transparent, i.e. /<subdir>/path/to/page is called directly?

folder permissions was 750, but modifying to 755 does not help

I would not expect a world-readable to make any difference on the cache-generation side. Cachify (i.e. the PHP process) should be able to write. But we would also expect some kind of error message in case of permission problems.

@Zodiac1978
Copy link
Member Author

Zodiac1978 commented Nov 18, 2024

Now it is not empty anymore, but it was triggered at 14 h, although I tried in the morning to trigger the cache creation with a non-logged-in view of the site.

Maybe because of my usage of APCu?

/path/to/page is internally redirected to //index.php or transparent, i.e. //path/to/page is called directly?

WordPress is https://example.com/wp and Site URL is https://example.com

In the root folder there is an index.php loading WP in this way:
require('./wp/wp-blog-header.php');

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

2 participants