Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

After Installation there is warning how to fix it?


Guest

Recommended Posts

Dear all,

 

:lol: I can install it finally, but after post installation,

there is a warning

 

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

 

Please how to fix it?

 

Thanks

 

Mendut

Link to comment
Share on other sites

Change the permissions on the file so you can't write to it.

 

Look at the file properties.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Change the permissions on the file so you can't write to it.

 

Look at the file properties.

 

Hi...I opened configure.php contains :

 

<?php

define('HTTP_SERVER', 'http://localhost');

define('HTTPS_SERVER', 'http://localhost');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'localhost');

define('HTTPS_COOKIE_DOMAIN', 'localhost');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', 'C:/wamp/www/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'root');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'test');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

where is it I should change ?

 

Thanks

 

Norton Faldi

Link to comment
Share on other sites

I'm having this problem too, when I set the permissions to 444 it changes back to 644, never seen that happen before.

 

Can't be my side because if I change permissions to 777 on that file, it keeps it, and I can change it back to 644.

 

Just can't keep it at 444???

Link to comment
Share on other sites

I'm having this problem too, when I set the permissions to 444 it changes back to 644, never seen that happen before.

 

Can't be my side because if I change permissions to 777 on that file, it keeps it, and I can change it back to 644.

 

Just can't keep it at 444???

 

 

Hi Chris,

 

Can you tell me how to do that? I mean I don't understand how to set permissions.

 

Please help me

 

thanks

 

Norton

Link to comment
Share on other sites

I'm having this problem too, when I set the permissions to 444 it changes back to 644, never seen that happen before.

 

Can't be my side because if I change permissions to 777 on that file, it keeps it, and I can change it back to 644.

 

Just can't keep it at 444???

Are you using the webhost control panel filemanager?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...