chrizz Posted April 4, 2015 Share Posted April 4, 2015 I just moved another site to PW and I am currently in the process of testing it on a staging environment (in debug mode). The website is hosted on a shared webspace with limited access. This is why I get an error like this once I logged out: Warning: chmod() [function.chmod]: Operation not permitted in /www/htdocs/customersite/stage/wire/core/Functions.php on line 298 My questions about this: why PW tries to change permissions? Thanks and happy eastern everyone! Link to comment Share on other sites More sharing options...
pwired Posted April 4, 2015 Share Posted April 4, 2015 Try to update the modules manager and the JqueryDataTables module Link to comment Share on other sites More sharing options...
chrizz Posted April 7, 2015 Author Share Posted April 7, 2015 maybe a dumb question, but: where do I find these 2 modules? Couldn't find them in the Modules section (ProcessWire 2.5.22 dev ) Link to comment Share on other sites More sharing options...
Wanze Posted April 8, 2015 Share Posted April 8, 2015 @chrizz You can set the permissions for files/folder required by your webserver in the config.php file. Most of the time, this is 644 for files and 755 for folders. Example: Some folders must be writeable for ProcessWire, therefore the system tries to change the permissions of those folders. In this case, the problem is (most likely) that your user executing the script on the webserver does not have write permission on a file/folder where ProcessWire tries to change the permissions. How did you upload the files to your staging environment? Maybe you need to set the correct permissions before uploading or correct the permissions on the server. Cheers 4 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now