Jump to content

Recommended Posts

Posted

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!

Posted

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 )

Posted

@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

  • Like 4

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...