When I create a node the Views cache is not cleared in the pages which the node should be listed. When I remove a node the cache is cleared. The log says this every time I create a node:
require_once(./sites/all/modules/views/includes/view.inc) [function.require-once]: failed to open stream: No such file or directory in /www/path/to/example.com/public_html/beta/sites/all/modules/views/views.module on line 511.
Where /path/to/example.com/ is the correct path.
And yes I have checked the "Clear all cached views pages associated with a node on insert". When I uncheck this the error message disappears, so it should be there where it fails.
I use Views 6.x-2.8
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | boost-652508.patch | 2.16 KB | mikeytown2 |
| #1 | boost-652508.patch | 908 bytes | mikeytown2 |
Comments
Comment #1
mikeytown2 commentedstrange error; here's the code in views
My guess is i need to chdir like I do for the output buffer shutdown function
try this patch
Comment #2
mikeytown2 commentedComment #3
mikeytown2 commentedlooking into this issue more; it appear you can't load a file with a relative path inside a shutdown function; at least not reliably.
#337615: require_once failure on cron with modules that have a register_shutdown_function
#331357: Requires are unanchored
This patch should do the trick
Comment #4
TheInspector commentedYour first patch did the trick good, I'll test your second one later. Thank you!
Comment #5
mikeytown2 commentedcommitted