Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php


aldaska

Recommended Posts

Hi

I installed oscommerce-2.2rc2a, everything was good, but when I go to my catalog, it shows me a warning

"Warning: I am able to write to the configuration file: /home/kevinkar/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file."

 

I don't know what to do, you can see it at http://www.kevinkartsracing.com/catalog/

 

Thanks

Link to comment
Share on other sites

Hi

I installed oscommerce-2.2rc2a, everything was good, but when I go to my catalog, it shows me a warning

"Warning: I am able to write to the configuration file: /home/kevinkar/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file."

 

I don't know what to do, you can see it at http://www.kevinkartsracing.com/catalog/

 

Thanks

 

You need to change the permissions on your configure files. See these threads

 

http://www.oscommerce.com/forums/index.php?showtopic=162231

http://www.oscommerce.com/forums/index.php?showtopic=313323

Link to comment
Share on other sites

Hi

I installed oscommerce-2.2rc2a, everything was good, but when I go to my catalog, it shows me a warning

"Warning: I am able to write to the configuration file: /home/kevinkar/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file."

 

I don't know what to do, you can see it at http://www.kevinkartsracing.com/catalog/

 

Thanks

 

It depends on your host. You need to "CHMOD" the file to 444. If you have a file manager in your control panel than sometimes you can change the permissions there. You obviously need to make it read only.

Link to comment
Share on other sites

"4. Make sure that the permissions on all of the folders are set to 755, and if that does not work then set them to 777. Make sure that the includes/configure.php file and the admin/includes/configure.php file are set to 777 for the duration of the install. Once the install is complete reset to 644, 444, or 400 depending on your server setup."

 

I don't know where can I see the permissions set. When I open the file, configure.php I don't see the set???

help meeeee

Link to comment
Share on other sites

"4. Make sure that the permissions on all of the folders are set to 755, and if that does not work then set them to 777. Make sure that the includes/configure.php file and the admin/includes/configure.php file are set to 777 for the duration of the install. Once the install is complete reset to 644, 444, or 400 depending on your server setup."

 

I don't know where can I see the permissions set. When I open the file, configure.php I don't see the set???

help meeeee

 

You will not be editing configure.php.

 

If you have cpanel go through cpanel and use the file manager they have. Browse to your configure.php file and at the top there should be a permissions option. Change the permissions to 4 4 4. Most likely for default they will be set at 6 4 4.

Link to comment
Share on other sites

"4. Make sure that the permissions on all of the folders are set to 755, and if that does not work then set them to 777. Make sure that the includes/configure.php file and the admin/includes/configure.php file are set to 777 for the duration of the install. Once the install is complete reset to 644, 444, or 400 depending on your server setup."

 

I don't know where can I see the permissions set. When I open the file, configure.php I don't see the set???

help meeeee

 

Use the FTP program to set permissions. Right click on the file or folder (from within the FTP tool), select File Attributes, then change the value there from eg 755 to 400.

Link to comment
Share on other sites

You will not be editing configure.php.

 

If you have cpanel go through cpanel and use the file manager they have. Browse to your configure.php file and at the top there should be a permissions option. Change the permissions to 4 4 4. Most likely for default they will be set at 6 4 4.

 

 

Hi Thanks for the answer.

 

I went to the cpanel and saw the permissions but I don't know where can I changes it, please find attached the image

Thanks

1.gif

Link to comment
Share on other sites

That's not cPanel.

 

That's the osC File Mangler Manager

:huh:

 

You'd be better off never touching that..

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...