Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot remove error messages! Need help!


UnitedSale

Recommended Posts

Hello,

 

I installed the osCommerce and everything is ok. But today I have a message from my hosting company below:

 

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

 

Dear Customer

 

We will be implementing a new php environment for added security and allow

us to better facilitate the needs of our php users.

 

On June 15 at 8:00pm PST we will convert and run php as cgi with suphp.

 

If you have php variables set in your .htaccess files you will need to

move those variables to a php.ini file and place it inside your directory.

If you are using 777 as permissions on your php scripts they may need to

be changed to 755.

 

Most customers will not notice any issues with their currently installed

php programs, however in some cases this may arise. Please contact

us with any questions or concerns

 

We apologize for this short notice. Unfortunately, it has become necessary for us

to make this adjustment immediately due to a situation that has come to our

attention.

 

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

 

I then keep getting the following error message:

 

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

 

No matter how I set the permission for the configure.php, the message is still there!! Please help!!

 

Thanks

Link to comment
Share on other sites

I have the same problem, due to the fact that I am on a shared server. I went to look on the ocCommerce documentation, which suggests you go to your server administrator to see if they can set the permissions manually. I did this but with no luck. You know what I did then? I just editied out this error check and although the configure.php is still writeable, I do not get the error message anymore. A quick fix but I eventually found that there was no other way to overcome it.

Link to comment
Share on other sites

many people have that problem here is a fix that works great e mail me if you have questions ok hope this does it

 

Create a php file named "secure.php" or whatever. Put the following code in it:

 

 

CODE

 

<?php

chmod('includes/configure.php', 0444);

?>

 

 

 

 

Upload this file to your server in the Catalog folder. Then run it in your browser: http://www.yourwebsite.com/catalog/secure.php

 

Nothing will show on the screen, but the file will run and will set the permissions.

Link to comment
Share on other sites

  • 3 weeks later...

hey all,

 

Thanks bobthelucky, that worked like a peach!

 

Funny thing is, I am working on my server. I have been able to change the permission on previous installs of oscommerce, but for some reason I have had problems being aloud to change permissions on osc-max. Everytime I make a chmod change, it pops back to what it was before.

 

Anyways your php file did the trick. Thanks.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...