Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Tag Controller


Guest

Recommended Posts

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

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.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...