This typically happens when the files that are in the artist directory (i.e. jamroom/bands/1/*.php) are NOT owned by the current web user. Typically a web server runs as an account on a server (often called “httpd” or “nobody”), and so if it is going to be able to create a file or write to a file, it must have the proper permissions. Often what can happen is if you change servers, or copy your Jamroom from one folder to another, the files will now be owned by YOUR user account on the server, and no longer be owned by the web user. Without fixing the permissions on those files you will get this error.
The solution to the error is to log in to your server (either via SSH or FTP) and change the permissions on the files to be 666 in the artist folders (or possibly 644 if your PHP is running in CGI mode or with PHP suEXEC support enabled) - this will allow “write permissions” for the web user, which will now allow the web server to create and overwrite the files it needs to create the Artist site.
A quick way to solve the problem, if you have SSH access to your server, is to cd to the jamroom directory and perform the following command:
chmod 777 /bands/*/*.php*
Then log in as the Jamroom administrator and perform a “Generate All” to update all of the files and permission them correctly.
|