The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 22 posts ] 
Author Message
PostPosted: Thu Nov 13, 2008 5:30 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Oct 04, 2007 8:15 pm
Posts: 135
I;ve just transferred my site from one host to another, imported the database and updated the Configuration.php file and the site works.

I've gone in to edit the templates and i'm now getting the error:

* Could not make the template file writable
* Could not make the template file unwritable

Is this to do with permissions or something else i need to update? I've seen a few posts about the permissions of the Parameter files, is this what i should be looking for?


Top
 Profile  
 
PostPosted: Thu Nov 13, 2008 5:38 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Oct 04, 2007 8:15 pm
Posts: 135
Forgot this:

Operation Failed!: failed to open file /var/www/vhosts/xxx.xxxxx.xxx/httpdocs/templates/rhuk_milkyway/index.php for writing.


Top
 Profile  
 
PostPosted: Sun Jan 04, 2009 2:01 am 
Joomla! Intern
Joomla! Intern

Joined: Sat Dec 01, 2007 3:25 am
Posts: 86
googling "joomla writable unwritable" produces this forum's entries of nov 13, 2008 at the top of the list -- yet there is no reply to adam_fake's query.


Top
 Profile  
 
PostPosted: Wed Feb 11, 2009 2:29 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 03, 2008 12:30 am
Posts: 4
I had the same thing happen with 1.5.8. I have other sites on 1.5.9 and this has not happened with them so I was going to just upgrade thinking it might have been a bug.

Then I thought it was really probably just me given there weren't that many threads on this topic.

I went to my original files from my joomla download of 1.5.8 found the template folder for rhuk and then I uploaded the whole folder so the original css files would be in there.

It worked. Logo appeared - writable non writeable no issue.

I didn't change the permissions as I had earlier and I simply change the code for the logo and the footer and all worked well.

Then I made a note to self to ALWAYS save a copy of the working css and document my path in terms of action so I can work backwards to find out where I screwed up.

I suspect you already found a solution but I just wanted to post for others who might be struggling.


Top
 Profile  
 
PostPosted: Wed Feb 11, 2009 11:50 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Feb 11, 2009 11:35 am
Posts: 2
Hello guys, im new to joomla and having problem editing tamplates. i'm using joomla 1.5.9. there is three templates already there, when i try to edit any of those it says "Operation Failed!: failed to open file /Applications/xampp/xamppfiles/htdocs/joomla15/templates/rhuk_milkyway/params.ini for writing"

and under the parameters it says:
The parameter file /templates/rhuk_milkyway/params.ini is unwritable!

can anyone please help me to solve this problem? please,,,,,,


Top
 Profile  
 
PostPosted: Sat Apr 04, 2009 11:56 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Apr 04, 2009 11:52 pm
Posts: 1
right people it tookalot of thinkin and reading to finally figure this stupid issue out....

basically wot ever file you want to make writeable you have to change the permissions to 777 which means you give access to the file. so in ftp you would find the configuration.php file and set the permission to 777 and when you change things in your administrator back end this file will change. So for every file you want to change you have to change the permission. another example...say i wanted to change the css file for a certain template; i would find the css file on that template in ftp then change the permission of that file to 777 and when i edit it my administrator back end it will change. i hope this helps


Top
 Profile  
 
PostPosted: Sat Sep 05, 2009 7:19 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 12, 2008 9:59 am
Posts: 34
digging this back up. i'm getting this occurring with 1.5.14 running on windows. chmod in ftp clients won't work. is there any other way Joomal can edit is own ini files? the only way I can get change to stick, is open the file in another application and overwrite the existing file when I make changes, this is going to get very tedious very quickly.


Top
 Profile  
 
PostPosted: Wed Dec 23, 2009 8:43 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 21, 2009 4:18 am
Posts: 6
Anyone got any solution? We do have same problem too on Windows shared hosting, can't even install new extensions, global configuration modification etc... stuck up with further development at live website...

Thanks in advance...!


Top
 Profile  
 
PostPosted: Thu Dec 24, 2009 2:04 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Feb 13, 2009 3:00 am
Posts: 4
I am running 1.5.15, on a Windows Server 2008 box. I was able to get past this by executing a chmod 777 params.ini in the template directory.

I don't know if Windws Server native has a chmod command, I've installed UnxUtils from sourceforge to get the Unix commands...

Luck and Cheers,
pg


Top
 Profile  
 
PostPosted: Thu Dec 24, 2009 3:57 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Mon Dec 15, 2008 7:23 pm
Posts: 117
CHMOD the permissions on the server side of the file to 755 NOT 777 ... after you are done editing the file, it is advisable to change them to at least 655.
This is on *NIX servers ... windows servers have file permissions too, but there is no chmod command. Right off hand I can't recall (it has been so long since I used a windows server) .. but essentially you have to have read/write permissions to edit the file


Top
 Profile  
 
PostPosted: Thu Dec 24, 2009 6:49 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Feb 13, 2009 3:00 am
Posts: 4
Yup - I meant 755. And what it did was grant RW to the everyone group. Not the most secure method, but as this is behind a firewall and for internal use only, I think we're ok...


Top
 Profile  
 
PostPosted: Tue Jan 05, 2010 1:26 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Jan 05, 2010 1:19 am
Posts: 1
I had the same message as the OP, and although you can get write errors from permissions not being set so that a file is writable, I believe this is a different problem. My troubleshooting led to think that the message :

Code:
* Could not make the template file writable
* Could not make the template file unwritable


is related to Joomla! wanting to check the permissions via FTP. If you look at the top of the form where you are getting that error you will see a form where you can enter your FTP login credentials. Enter your FTP userid and password and the problem should go away.

Hope that helps.


Top
 Profile  
 
PostPosted: Fri Jan 08, 2010 9:23 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Feb 20, 2008 8:18 pm
Posts: 2
Spiderpen wrote:
Code:
* Could not make the template file writable
* Could not make the template file unwritable

I've just solved this problem by using:
Code:
chown apache index.php
Does anybody know if chmod 777 is a security risk?


Top
 Profile  
 
PostPosted: Mon Jan 11, 2010 9:59 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 12, 2008 9:59 am
Posts: 34
solved. FTP sorted out the problem. setup FTP and added the usual credentials etc to Joomla and all now works OK. Using Windows 7 on the test box, set directory listing to Unix style not DOS.


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 5:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed May 19, 2010 4:51 pm
Posts: 5
Location: Bangladesh
Thanks to mr_moe :)

file permission change to 777 works nicely in server.

thank again

_________________
elamonii


Top
 Profile  
 
PostPosted: Mon Jun 28, 2010 11:57 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 01, 2010 10:54 pm
Posts: 11
The easier way to edit files is by using Notepad++ or any other edit program.
Eg. I wanted to remove the created by Artisteer and change the whole footer.
Using your FTP locate the index.php copy it or drag it out of ftp as my ftp can't edit inside it. Open it with Notepad++ scroll down up to line 135 or so. You will see the footer details change the way you want. Save it as index.php anywhere easy to find. By using FTP in my case Filezilla upolad the file to the server. DONE


Top
 Profile  
 
PostPosted: Wed Jun 30, 2010 8:57 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Jan 04, 2010 7:38 am
Posts: 98
To:msafiri85 and to everyone!
Hi,
About using Notepad, I can also make change there, such as changing the logo or anything on the header of a template?
Another thing, on the above post someone mentioned about

"to make writeable you have to change the permissions to 777 which means you give access to the file. so in ftp you would find the configuration.php file and set the permission to 777 and when you change things in your administrator back end this file will change."

Question is how do you get to "ftp". I went to the folder where i have my template and followed it to the end, but couldnt see the ftp.
I must say, am new to this.
Thanks in advance!


Top
 Profile  
 
PostPosted: Fri Jul 02, 2010 12:36 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 01, 2010 10:54 pm
Posts: 11
In administration, go to Extensions > Template Manager
double click on default template, the click on Edit CSS on top right
Select template.css and click edit
look for
div#logo {
position: absolute;
left: 0;
top: 0;
float: left;
width: 298px;
height: 75px;
background: url(../images/image name.png) 0 0 no-repeat;
margin-left: 30px;
margin-top: 25px;
}
And chance the background: url(../images/image name.png)
FTP
Every host has ftp panel but you can download Filezilla and fill all needed deatails in order to get in your server


Top
 Profile  
 
PostPosted: Tue Jul 06, 2010 2:01 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Apr 27, 2010 9:14 am
Posts: 47
Does anybody know if chmod 777 is a security risk?

_________________
http://www.oktayustamyemektarifleri.com http://ruyatabirleri.deyince.com


Top
 Profile  
 
PostPosted: Wed Jul 07, 2010 8:29 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jun 28, 2010 4:00 am
Posts: 6
Here's my issue --

The problem is, when I try to go in and change the template.css file, it doesn't work. I mean, it says unwritable, I change permissions to 777, template.css now says writable. Once I go in and make the changes and click "Apply" or "Save", none of my changes worked and the template.css file once again says 'unwritable' and the permissions have switched back to 644 automatically!

Does anyone know how to get around this?

Thanks!


Top
 Profile  
 
PostPosted: Mon Sep 06, 2010 4:37 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Sep 06, 2010 4:34 am
Posts: 1
I have the same problem as Clutch34. Chmod the file back to writable, make a change and it becoms unwritable again.

It is owned by the "apache" user.

I'm using the joomla turnkey in a virtual box.


Top
 Profile  
 
PostPosted: Wed Nov 02, 2011 5:37 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jun 26, 2011 11:40 am
Posts: 28
Location: Australia
This had me stumped for hours too and after reading heaps of info about it I came across this forum and "msafiri85" comment and he's right

Using note pad or npad2 you'll be able to edit the file locally and then upload using ftp (FileZilla or similar).

:D

_________________
Regards,

Pete.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ] 



Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group