ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down.
Read our Farewell Blog Post for more details.
In administrator\components\com_template\controller.php
I found
Code:
// Try to make the params file writeable
if (!$ftp && JPath::isOwner($file) && !JPath::setPermissions($file, '0755')) {
JError::raiseNotice('SOME_ERROR_CODE', 'Could not make the template parameter file writable');
}
$return = JFile::write($file, $txt);
// Try to make the params file unwriteable
if (!$ftp && JPath::isOwner($file) && !JPath::setPermissions($file, '0555')) {
JError::raiseNotice('SOME_ERROR_CODE', 'Could not make the template parameter file unwritable');
}
just change the 0555 to 0755 or 0777 and its fixed
Why in the world would this file be changing file permissions to 555? Who the heck uses perms of 555 to "protect" a file?
Hey, Joomla Developers, do you have any clue at all how many people have run into problems with this crap?
How about this, do you have any idea how many people on your own forums have problems with this crap that you have not assisted to solve the problem?
Here's one more, wonder why these forums keep shutting down from all the traffic? It's because you don't answer questions (or solve problems you created, like this one) here on your own forums to help solve users problems, LIKE THIS STUPID PROBLEM!
It is NOT because Joomla is so popular. It's because you leave crap like this unanswered.
igrimpe (thank you for your post!) posts the details to the file, I read it, I changed the 555's located in that file (there are several places) to 644 and hey, guess what? The problem is solved.
But this thread has NO REPLIES! Not a one. Why is that?
It's not the color of the words unwritable that is the problem, its the Joomla developers nifty idea of setting file perms to 555, ON SEVERAL FILES!
100's if not 1000's of posts on this forum (and others, google this problem to see) on this very topic and not a single response to any of them that is correct or solves the problem.
If you're going to set file permissions automatically, Joomla Developers, you might want to add an area to let the file permissions be set correctly by the users in the admin panel who know what file perms need to be on thier own installations.
All those words to fill a page do NOT make a good manual.
The jump from 1 to 1.5 is fairly painless using the migrator tools. (on a small site)
Step 1) Backup the site.
Step 2) Make sure we have a good backup.
Step 3) Install component: Migrator.
Step 4) Read each link on migrator page and then start migrator and download SQL file created.
Step 5) Install 1.5 Joomla.
Step 6) Install migrator assistant Then run assistant and point it to the SQL file generated by the Migrator that we downloaded.
Step 7) Lets check the site now. It's up.
Step Spend 2 hours reading all the posts with questions and vague or incorrect answers to the problem of editing a template and the ini not being writable, and then go view this thread with the issue and solution.
Many times using Joomla FTP mode with a ID with full rights to your site dirs can fix many of these issues. FTP mode can set the permissions and save the file where apache access can't.
We have also discovered some of the archives files at RT have some very odd permissions saved because whoever archived them has some odd permissions setup when packing them up. This only seems to be a problem when you unarchived the file directly on the server itself and the unpacking sets the odd permissions. I have also seen some badly configured FTP/SCP clients that "update" permissions to whatever the client is set to save them as and those settings are too restrictive or badly configured. Always check permissions...you never can know what you might find.
Magento - phpBB3 - Kunena - RokBridge Specialist
No Secure Tab posts unless requested.
Use the Thank You and Life Preserver Buttons!
Your signature is also great place for setup details...help us help you!
you may want to edit your first post and use quotes, at first i had the impression this is your personal opinion, but it seems these are quotes from the joomla forum.
i personally never had any issues with this "joomla issue", even if the file said unwritable, my changes saved. on other sites i enabled ftp layer and everything was fine.
i agree with richard that leaving params.ini on 777 is not such a great idea.
anyway, i can't believe those posts in the joomla forum, if anyone reacts as insulting to me i would not feel tempted to help in any way. in the end, joomla is free to everyone and the developers deserve a little more respect and appreciation.
yes for sure kat the def. do deserve. when i was searching the forum i was almost laughing when i read this and like always there is always someone that has to be a jerk.and i believe at the the top i wrote read this and i forgot to put the quote on. By no means was i trying to make paople think this was my quote as i could never be so rude anyway.
I do have that 555 permission problem....the template params.ini file reverts to unwritable (555) all the time and my template changes were sometimes taking effect, and sometimes not taking effect. It was really strange.
I had no luck changing the permission, and neither did my hosting company.
I saw a suggestion here to enable the ftp layer but (I am embarrassed to admit this) I was not able to figure out what the "FTP Root" would be which is a vital piece of information in getting that to work.
So I did have to set the darn thing to 777, which held, unlike the 755 designation which kept reverting to 555. I changed it back I was done, of course.
However it is pretty aggravating!
Kathy
KT Web Design
developing Joomla websites in the sweet, sunny South
Why I always suggest to use the same path your ftp client uses when setting up ftp mode. Each host can make your ftp "home" a bit different. Glad you got it sorted.
Magento - phpBB3 - Kunena - RokBridge Specialist
No Secure Tab posts unless requested.
Use the Thank You and Life Preserver Buttons!
Your signature is also great place for setup details...help us help you!