Unable to change page width (due to incorrect file permissions)

Babalu - September 22, 2008 - 11:13
Project:Kommunity
Version:6.x-2.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

when i chance the page width i became this error:
warning: file_put_contents(sites/all/themes/kommunity/layout.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/web3/html/sites/all/themes/kommunity/template.php on line 342.
warning: file_put_contents(sites/all/themes/kommunity/color/color.inc) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/web3/html/sites/all/themes/kommunity/template.php on line 352.
warning: file_put_contents(sites/all/themes/kommunity/images/text/text.js) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/web3/html/sites/all/themes/kommunity/template.php on line 419.

what can i do

#1

tstoeckler - September 26, 2008 - 13:24
Title:when i chance the page width i became an error» Incorrect file permissions
Status:active» fixed

The ReadMe.txt reads the following:
"Make sure the following directories and files are writeable by the server:

color/color.inc
images/text/cache/
images/text.js"

Changing this should fix your issue, although I'm not sure if you have to make "template.php" writable as well, I don't think so, though.

If you are unwilling to do this because of security issues: You can change the files to be read-only as soon as you have saved your theme settings to be as you want them to.

Because I am quite sure, that this advice will fix you're issue I have changed the issue title and status. Feel free to jeadjust in case I'm wrong.

#2

tstoeckler - September 26, 2008 - 13:28
Title:Incorrect file permissions» Unable to change page width (due to incorrect file permissions)

#3

Babalu - September 26, 2008 - 16:55

I had already changed that, but that is not the solution

temp

Anonymous (not verified) - October 10, 2008 - 16:56

Automatically closed -- issue fixed for two weeks with no activity.

#4

Anonymous (not verified) - October 10, 2008 - 17:02
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#5

tstoeckler - November 2, 2008 - 23:13
Status:closed» postponed (maintainer needs more info)

#6

mErilainen - February 13, 2009 - 10:06

I have also problem with page and sidebar width. I have enabled write permissions on files and folders. I modified values in those files by hand, still no change. Where does this theme get it's values then??

#7

Takkyu - March 3, 2009 - 19:32
Category:bug report» support request

Hello all,
same problem here =(

Anyone has solution yet?

 
 

Drupal is a registered trademark of Dries Buytaert.