Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscommerce upgrade problem


Guest

Recommended Posts

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

 

Cant get rid of this after installing the upgrade, i tried what the manual said but still no luck

 

can anyone help.

 

Cain

Link to comment
Share on other sites

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

 

Cant get rid of this after installing the upgrade, i tried what the manual said but still no luck

 

can anyone help.

 

Cain

follow this link. it might help...

http://www.oscommerce.info/docs/english/e_...stallation.html

Link to comment
Share on other sites

Hi There,

 

Open your FTP Program and go to the following directory on your server:

home/rcmode2/public_html/shop/includes/

 

Search for a file called configure.php.

 

RIGHT Mouseclick on this file , and CHMOD it so that only the OWNER can WRITE ( Premissions )

 

Good Luck,

 

Freek

Link to comment
Share on other sites

CHMOD only works on Apache servers, and does not work on Windows servers. Permissions on the includes/configure.php file should either be 644, 444 or 400 - depending on your server.

 

If all else fails, do this:

 

Create a new text document on your Desktop, and rename it to chmod.php (ignore the warning about changing the file type).

 

Insert this code (below) into it and upload it to the root of your osCommerce website via FTP. Then go to http://www.yourdomain.com/chmod.php - you won't see anything on the screen but the file permission should have changed. Once you confirm that delete the chmod.php file (don't leave it on your server).

 

<?php
chmod ("includes/configure.php", 0444);
?>

 

That can also be 0644 or 0400

 

Vger

Link to comment
Share on other sites

CHMOD only works on Apache servers, and does not work on Windows servers. Permissions on the includes/configure.php file should either be 644, 444 or 400 - depending on your server.

 

If all else fails, do this:

 

Create a new text document on your Desktop, and rename it to chmod.php (ignore the warning about changing the file type).

 

Insert this code (below) into it and upload it to the root of your osCommerce website via FTP. Then go to http://www.yourdomain.com/chmod.php - you won't see anything on the screen but the file permission should have changed. Once you confirm that delete the chmod.php file (don't leave it on your server).

 

<?php
chmod ("includes/configure.php", 0444);
?>

 

That can also be 0644 or 0400

 

Vger

if you're on windows, the fix is easy.

right-click, go to properties and make sure "read-only" check box is selected. then refresh your page.

that's it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...