Guest Posted August 18, 2005 Share Posted August 18, 2005 Hello, After I installed the Header Tag Controller contribution everything looks ok in admin but when I try to update the text control I get the following error: Warning: chmod(): Operation not permitted in /usr/local/psa/home/vhosts/moanagifts.com/httpsdocs/admin/includes/functions/header_tags.php on line 194 Cannot change the mode of file (../includes/languages/english/header_tags.php) I tried changing the chmod to 7777 but with no help. Any help would be appreciated. Thanks for the support Link to comment Share on other sites More sharing options...
Jack_mcs Posted August 18, 2005 Share Posted August 18, 2005 If you have changed permissions on both files yourself and it still fails, then your host won't allow it and there is nothing to be done. You will have to edit the files yourself instead of using the admin panel. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted August 19, 2005 Share Posted August 19, 2005 Hey Jack thanks for the feedback. Would this be the correct way of setting the permissions if it were to work? function WriteHeaderTagsFile($filename, $fp) { if (!is_writable($filename)) { if (!chmod($filename, 0777)) { echo "Cannot change the mode of file ($filename)"; exit; If you have changed permissions on both files yourself and it still fails, then your host won't allow it and there is nothing to be done. You will have to edit the files yourself instead of using the admin panel. Jack <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Jack_mcs Posted August 19, 2005 Share Posted August 19, 2005 I'm not sure what you are asking. The code is already set up to change it. Are you wanting to change that? Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted August 20, 2005 Share Posted August 20, 2005 Jack, Disregard my questions the contribution I downloaded didn't have the catalog install instructions. Anyway, still the admin controller doesn't work but no big deal. I can do it manually. Thanks for your support. I'm not sure what you are asking. The code is already set up to change it. Are you wanting to change that? Jack <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.