Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php


l)An

Recommended Posts

Posted

Hi guys, i have installed oscommerce, and i also had to install this patch Oscommerce contributions

so i could be able to install it.

 

site is 100% ok, except the error i get at the top of the page, saying:

 

Warning: I am able to write to the configuration file: /home/xxx/public_html/xxx/includes/configure.php.

 

I already tryed to set all the permissions, but it sill doesn't disappear.

I would be grateful for any help, thanks.

 

Daniel Aguiar

Posted

You need to change the permissions/chmod on catalog/includes/configure.php to 644. You can set that via FTP.

Posted
Hi guys, i have installed oscommerce, and i also had to install this patch Oscommerce contributions

so i could be able to install it.

 

site is 100% ok, except the error i get at the top of the page, saying:

 

Warning: I am able to write to the configuration file: /home/xxx/public_html/xxx/includes/configure.php.

 

I already tryed to set all the permissions, but it sill doesn't disappear.

I would be grateful for any help, thanks.

 

Daniel Aguiar

 

hi Change permissions of the config file to 644 , this is a message to tell you that you have not done that,

ps rename the install file or delete

Rusty

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

Posted

Thx for replying,

 

Yes i have changed already, that's the main problem, because it still doesn't work changing the permissions to 644 or 444. I think that it something about the contribution (->link) that i have installed, since i had to overwrite some files... :S maybe there's some code i need to change in some of that files...

Posted

OK! I have it fixed! :thumbsup:

 

Just removed the line in header.php:

// check if the configure.php file is writeable
 if (WARN_CONFIG_WRITEABLE == 'true') {
if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
  $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');

 

And changed the configure.php permissions to the right ones :lol:

 

Any way, thanks ;)

Archived

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

×
×
  • Create New...