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

Bug :: ACE :: PATH_CURRENT_SITE #537

Closed
jaswrks opened this issue Jul 30, 2015 · 4 comments
Closed

Bug :: ACE :: PATH_CURRENT_SITE #537

jaswrks opened this issue Jul 30, 2015 · 4 comments
Assignees
Milestone

Comments

@jaswrks
Copy link

jaswrks commented Jul 30, 2015

Overview

The ACE (Auto-Cache Engine) fails to auto-cache child blogs in a multisite network whenever the network is being served from a sub-directory.

Steps to Reproduce

  • Setup a MS network w/ PATH_CURRENT_SITE that uses a nested sub-directory.
  • Enable ZenCache and enable the ACE.
  • Create a child blog.
  • Run the ACE.

Expected Behavior

That both the main site and all child blogs are cached.

Observed Behavior

The main site is cached, but the child blog is not, and I see 404 errors in my server log files.

Problem

This line is formulating a URL to each blog without considering PATH_CURRENT_SITE. This should make a call to get_home_url($blog_id, '', 'http') instead.

@jaswrks jaswrks self-assigned this Jul 30, 2015
@jaswrks jaswrks added this to the Next Release (Pro) milestone Jul 30, 2015
@jaswrks
Copy link
Author

jaswrks commented Jul 30, 2015

This has been fixed my dev branch.

@raamdev
Copy link
Contributor

raamdev commented Jul 31, 2015

Ah, good catch!

@raamdev
Copy link
Contributor

raamdev commented Aug 12, 2015

Next Pro Release Changelog:

  • Multisite Bug Fix: Fixed an issue where the Auto-Cache Engine would fail to auto-cache child blogs in a multisite network whenever the network was being served from a sub-directory. Props @jaswsinc. See Issue #537.

@raamdev raamdev closed this as completed Aug 12, 2015
@raamdev
Copy link
Contributor

raamdev commented Aug 21, 2015

ZenCache Pro v150821 has been released and includes changes from this GitHub Issue.

See the ZenCache Pro v150821 announcement for further details.


This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#537).

@wpsharks wpsharks locked and limited conversation to collaborators Aug 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants