Closed (outdated)
Project:
Panels
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2012 at 14:22 UTC
Updated:
14 Jul 2026 at 01:10 UTC
Jump to comment: Most recent
So, I have a custom panel style plugin. If I move the site to a new url -- and have a new site directory, the path to the plugin changes. After moving the site, the first cache clear does not do it -- I have to clear it twice to get the new path to the region style to work. I can see in the log that it's trying to access the old site dir path, even after the first cache clear. I've tried using drupal_get_path and panels_get_path -- both have the same problem.
I might be using apc on this box, have to check that. But why are two cache clears the magic trick?
Comments
Comment #1
bartdepotter commentedI'm experiencing the same problem. I developed the site with 'Rebuild the theme registry on every page load' on and that didn't trigger any problems.
When I finished developing the site and turned this setting off my Panels Plugin Styles stopped loading. When clearing cache they reappear again, but after reloading the page they are gone again.
After some testing I discovered that the hook_ctools_plugin_directory isn't called the second time after clearing cache.
The panels_manager still finds the styles, but the panels module stops loading them.
I hope to fix this soon.
Comment #2
japerryDrupal 7 is no longer supported, closing.