l)An Posted December 12, 2006 Posted December 12, 2006 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
Guest Posted December 12, 2006 Posted December 12, 2006 You need to change the permissions/chmod on catalog/includes/configure.php to 644. You can set that via FTP.
rusty1001 Posted December 12, 2006 Posted December 12, 2006 Hi guys, i have installed oscommerce, and i also had to install this patch Oscommerce contributionsso 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 -------------------------------------------
l)An Posted December 13, 2006 Author Posted December 13, 2006 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...
l)An Posted December 13, 2006 Author Posted December 13, 2006 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 ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.