Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Configure.php permissions


mattih5

Recommended Posts

Hi,

 

I've installed OSCommerce as per instructions, but I keep getting this error:

 

Warning: I am able to write to the configuration file: /kunden/homepages/31/d155015431/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

I have set the permissions to 777, is this correct?

Link to comment
Share on other sites

Hi,

 

I've installed OSCommerce as per instructions, but I keep getting this error:

I have set the permissions to 777, is this correct?

 

 

Hi,

 

you must set the permissions back to 644 again then your problem is fixed.

 

greatings,

 

Hans

Link to comment
Share on other sites

Hi,

 

you must set the permissions back to 644 again then your problem is fixed.

 

greatings,

 

Hans

 

 

Thanks for you reply. I have set the permissions back to 644 but am still getting the problem.

Link to comment
Share on other sites

Thanks for you reply. I have set the permissions back to 644 but am still getting the problem.

 

 

Hi,

 

Set permission to 644

 

catalog/admin/includes/configure.php

catalog/includes/configure.php

 

greatings,

 

Hans

Link to comment
Share on other sites

Hi,

 

Set permission to 644

 

catalog/admin/includes/configure.php

catalog/includes/configure.php

 

greatings,

 

Hans

 

Still same problem even though I have changed permissions on both files, when I try to change permissions I don't get a server error so this can be ruled out.

Link to comment
Share on other sites

hi,

 

dit you pres the button on ur brouwser for renewel of the page?

 

Hans

 

 

I have the same problem. And tried changing configure.php to 444 as well as 644 and then all configure or configuration files to 444 and 644

 

No mater what it alway came back with Warning: I am able to write to the configuration file.. error

Link to comment
Share on other sites

Guys i have the same problem.

 

i get this exact error:

 

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

 

and i configured it to 644 as you said, i renew tha page a lot of times. close and reopen it.... and the error still remains there........ :-/

 

do you have any idea that can help?

Link to comment
Share on other sites

644 is ok, edit includes/application_top.php file.

 

 

// set which precautions should be checked

define('WARN_INSTALL_EXISTENCE', 'true');

define('WARN_CONFIG_WRITEABLE', 'false');

define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true');

define('WARN_SESSION_AUTO_START', 'true');

define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true');

Link to comment
Share on other sites

644 is ok, edit includes/application_top.php file.

// set which precautions should be checked

define('WARN_INSTALL_EXISTENCE', 'true');

define('WARN_CONFIG_WRITEABLE', 'false');

define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true');

define('WARN_SESSION_AUTO_START', 'true');

define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true');

 

Perfect! It worked great!!

Link to comment
Share on other sites

  • 1 year later...
644 is ok, edit includes/application_top.php file.

// set which precautions should be checked

define('WARN_INSTALL_EXISTENCE', 'true');

define('WARN_CONFIG_WRITEABLE', 'false');

define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true');

define('WARN_SESSION_AUTO_START', 'true');

define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true');

 

 

This solved my problem, you rule!

 

 

 

 

 

yes i just opened an account to say this

Link to comment
Share on other sites

  • 7 months later...
  • 4 months later...
you need to set the config file to 444. Try using the File Manager from your Hosting Control Panel - FTP doesn't always work with file permissions.

 

define('WARN_INSTALL_EXISTENCE', 'true');

define('WARN_CONFIG_WRITEABLE', 'false');

define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true');

define('WARN_SESSION_AUTO_START', 'true');

define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true');

 

the above on hides the problem, but jasonabc is right - change permission through control panel - it works wonder !! thanks jason

Link to comment
Share on other sites

  • 8 months later...
you need to set the config file to 444. Try using the File Manager from your Hosting Control Panel - FTP doesn't always work with file permissions.

 

 

I LOVE YOU PEOPLE!!!

 

 

Thank you sooooo much; this solved all my problems...for now anyway :D

Link to comment
Share on other sites

  • 2 weeks later...
you need to set the config file to 444. Try using the File Manager from your Hosting Control Panel - FTP doesn't always work with file permissions.

 

 

Great it works with 444!

 

(In admin/includes/configure.php and includes/configure.php)

Link to comment
Share on other sites

  • 10 months later...

644 is ok, edit includes/application_top.php file.

 

 

// set which precautions should be checked

define('WARN_INSTALL_EXISTENCE', 'true');

define('WARN_CONFIG_WRITEABLE', 'false');

define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true');

define('WARN_SESSION_AUTO_START', 'true');

define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true');

 

 

Awesome!! Ur the MAN !! :)

Link to comment
Share on other sites

644 is ok

It depends on your server setup. If PHP is running as "owner" (you), 644 still allows osC to overwrite the file, so you will get the message. In that case you need 444. If PHP is running as "group" or "other/world", 644 is fine -- in either case, osC only has read-only access to the file. Read my sig > FAQs > Proper Permissions.

Link to comment
Share on other sites

  • 4 months later...

Archived

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

×
×
  • Create New...