Tried this and it messed up the site and the admin manager too.
Error messages were same as before...
PHP Warning: file_put_contents() [<a href='function.file-put-contents'>function.file-put-contents</a>]: Exclusive locks are not supported for this stream in /manager/core/xpdo/cache/xpdocachemanager.class.php on line 275
I cleared the cache before trying, just in case you wondered.
Thanks.
-
☆ A M B ☆
- 24,524 Posts
Networked file systems don't like that. What FS does RSC use, anyway?
-
☆ A M B ☆
- 77 Posts
So I spoke with RS Support - they did confirm the issue has been escalated to their senior guys - of which Chris (who commented) on this thread is one of them.
-
☆ A M B ☆
- 77 Posts
I do believe the issue is specifically with directories made by php. Something is going on with ownership preventing php from being able to write to directories that it has created. I'm having some luck if I delete and recreate folders using my admin ftp user. very strange.
So, it would appear that even though the newer versions of Modx is giving the ability to disable flock, it appears that the application is still using flock. I still see errors "Exclusive locks are not supported for this stream" on a site that has had flock disabled using the new variables in the latest version (./core/xpdo/xpdo.class.php: const OPT_USE_FLOCK = 'false';
)
On a host such as GoDaddy, you probably won't see the file corruption because of their single node environment (we use a multi node environment).
Speaking of multi node, Modx looks to be using the process PID, which won't work reliably on our environment as the same PIDs can be re-used at the same time in our environment on the different nodes. A more reliable process might be to use the hostname/servername in conjuction with the PID.