Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help - How do I fix this Warning?


harlund

Recommended Posts

Posted

On top of the shop, is a pink box saying:

 

"Warning: I am able to write to the configuration file: /customers/pagename.com/pagename.com/httpd.www/shop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file."

 

But when I change the permissions on the file on the FTP, it doesn't save the settings...

 

Does anyone know how to do it? :(

Posted

Hello:

 

I just started receiving the same type of message.

 

The site has been working all along.

 

When I go to change the permissions it won't change.

 

Any Ideas.

 

Sincerely,

Bryan

------------------------------

www.profitmart101.com

Posted

exactly...

 

I have ben told that you have to write a chmod in PHP, but I don't know how to do that??

 

Anybody who knows?

Posted

go to your webhost, use cPanel to chmod the file.

 

Select configure.php under include folder, click on set password on your right hand side.

 

Set the password to 444 for read only. And there, you're done.

Posted
go to your webhost, use cPanel to chmod the file.

 

Select configure.php under include folder, click on set password on your right hand side.

 

Set the password to 444 for read only. And there, you're done.

 

I don't kow what cPanel is, and there is nowhere where I can set password and chmod the file... :(

Posted
I don't kow what cPanel is, and there is nowhere where I can set password and chmod the file... :(
CPanel is the name of a specific control panel. Yours might be named something else. But all control panels have a way to eidt permissions. If you can't find it in yours you should contact your host and ask them how to get do that.

 

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

Posted

I don't kow what cPanel is, and there is nowhere where I can set password and chmod the file...

 

 

Seriously ... ????

 

cPanel is a software that comes with webhosting package. It's for managing your web files, in this instance, the osc files.

 

Ask your web host for assistance

Posted
I don't kow what cPanel is, and there is nowhere where I can set password and chmod the file...

Seriously ... ????

 

cPanel is a software that comes with webhosting package. It's for managing your web files, in this instance, the osc files.

 

Ask your web host for assistance

 

Just say controlpanel then :thumbsup:

 

I have already asked them, and they tell me to make a chmod file in php, and I have done that.

 

The problem is, that something about the file that doesn't allow me to change it to 444. I can change it to 666, but just not 444 :(

Posted
Just say controlpanel then :thumbsup:

 

I have already asked them, and they tell me to make a chmod file in php, and I have done that.

 

The problem is, that something about the file that doesn't allow me to change it to 444. I can change it to 666, but just not 444 :(

Your chmod file should contain the following
<?php 
chmod('includes/configure.php', 0444); 
?>

The file should be uploaded to the root of your account. If your shop is not located in the root, then you need to change the path above to match your site.

 

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

Archived

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

×
×
  • Create New...