Template file writable/unwritable
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
-
- Joomla! Enthusiast
- Posts: 135
- Joined: Thu Oct 04, 2007 8:15 pm
Template file writable/unwritable
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?
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?
-
- Joomla! Enthusiast
- Posts: 135
- Joined: Thu Oct 04, 2007 8:15 pm
Re: Template file writable/unwritable
Forgot this:
Operation Failed!: failed to open file /var/www/vhosts/xxx.xxxxx.xxx/httpdocs/templates/rhuk_milkyway/index.php for writing.
Operation Failed!: failed to open file /var/www/vhosts/xxx.xxxxx.xxx/httpdocs/templates/rhuk_milkyway/index.php for writing.
-
- Joomla! Intern
- Posts: 86
- Joined: Sat Dec 01, 2007 3:25 am
Re: Template file writable/unwritable
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.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Dec 03, 2008 12:30 am
Re: Template file writable/unwritable
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.
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.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Feb 11, 2009 11:35 am
Re: Template file writable/unwritable
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,,,,,,
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,,,,,,
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Apr 04, 2009 11:52 pm
Re: Template file writable/unwritable
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
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
-
- Joomla! Apprentice
- Posts: 35
- Joined: Fri Sep 12, 2008 9:59 am
- Location: Townsville
- Contact:
Re: Template file writable/unwritable
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.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Dec 21, 2009 4:18 am
Re: Template file writable/unwritable
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...!
Thanks in advance...!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Feb 13, 2009 3:00 am
Re: Template file writable/unwritable
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
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
-
- Joomla! Enthusiast
- Posts: 117
- Joined: Mon Dec 15, 2008 7:23 pm
Re: Template file writable/unwritable
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
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
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Feb 13, 2009 3:00 am
Re: Template file writable/unwritable
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...
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Jan 05, 2010 1:19 am
Re: Template file writable/unwritable
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 :
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.
Code: Select all
* Could not make the template file writable
* Could not make the template file unwritable
Hope that helps.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Feb 20, 2008 8:18 pm
Re: Template file writable/unwritable
I've just solved this problem by using:Spiderpen wrote:Code: Select all
* Could not make the template file writable * Could not make the template file unwritable
Code: Select all
chown apache index.php
-
- Joomla! Apprentice
- Posts: 35
- Joined: Fri Sep 12, 2008 9:59 am
- Location: Townsville
- Contact:
Re: Template file writable/unwritable
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.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed May 19, 2010 4:51 pm
- Location: Bangladesh
- Contact:
Re: Template file writable/unwritable
Thanks to mr_moe
file permission change to 777 works nicely in server.
thank again
file permission change to 777 works nicely in server.
thank again
elamonii
-
- Joomla! Apprentice
- Posts: 11
- Joined: Thu Apr 01, 2010 10:54 pm
Re: Template file writable/unwritable
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
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
-
- Joomla! Intern
- Posts: 98
- Joined: Mon Jan 04, 2010 7:38 am
Re: Template file writable/unwritable
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!
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!
-
- Joomla! Apprentice
- Posts: 11
- Joined: Thu Apr 01, 2010 10:54 pm
Re: Template file writable/unwritable
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
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
-
- I've been banned!
- Posts: 48
- Joined: Tue Apr 27, 2010 9:14 am
Re: Template file writable/unwritable
Does anybody know if chmod 777 is a security risk?
http://www.dedikmi.com http://lyricsparoles.com deyince.com dreamdictionarymeaning.com
-
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Jun 28, 2010 4:00 am
Re: Template file writable/unwritable
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!
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!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Sep 06, 2010 4:34 am
Re: Template file writable/unwritable
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.
It is owned by the "apache" user.
I'm using the joomla turnkey in a virtual box.
-
- Joomla! Apprentice
- Posts: 30
- Joined: Sun Jun 26, 2011 11:40 am
- Location: Australia
- Contact:
Re: Template file writable/unwritable
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).
Using note pad or npad2 you'll be able to edit the file locally and then upload using ftp (FileZilla or similar).
Regards,
Pete.
Pete.