Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Newbie with their first problem...


Recommended Posts

Hi! I'm really new to this, so forgive my ignorance :wink:


I've installed osCommerce successfully, but now on the front page I get the following:



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



How do I set user permissions?

Link to comment
Share on other sites

Thank you for your reply... but I'm still not sure how to do it. I Have the following in my /www/l/loosefigs/htdocs/osCommerce/catalog/includes/configure.php




osCommerce, Open Source E-Commerce Solutions



Copyright © 2003 osCommerce


Released under the GNU General Public License



// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://loosefigurecollector.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www07.powweb.com/~loosefigs'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/osCommerce/catalog/'); // absolute path required

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_FS_DOCUMENT_ROOT', '/www/l/loosefigs/htdocs/osCommerce');

define('DIR_FS_CATALOG', '/www/l/loosefigs/htdocs/osCommerce/catalog/');

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



// define our database connection

define('DB_SERVER', 'mysql01.powweb.com'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'loosefigs');

define('DB_SERVER_PASSWORD', '*******');

define('DB_DATABASE', 'loosefigs');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'




It there soemthing I need to change in this file? Or should I be looking somewhere else?

Link to comment
Share on other sites

do you use an FTP program to manage your files?

do you use Cpanel provided by your host to manage files?


If you use an FTP program like WSFTP, just right-click on the file configure.php and go to chmod.

Then change the number from whatever it is to 644. On my server I had to chmod to 444 before the error went away.

If you use CPanel to manage your files there is a way to set file permissions but I dont know how as I dont use it.

Hope that helps.

Link to comment
Share on other sites

Thank you for your reply. I have an FTP program that I use. I've tried changing the chmod in both the CATALOG and ADMIN configure.php to every number combination I can think of, and still nothing, it's just not working :cry:


I've looked around other help forums as well, and everyone suggests the same thing, but none of it is working. Is there anything else I can try? Does it take a while to go into effect? Or does the error go away immediately when it is successfully fixed?

Link to comment
Share on other sites

I had a continuing problem using File Manager in Admin and cPanel, but when I used CUTEFtp it all sorted. Some cache problem.


What is your URL, maybe it's ok from where I am?




facts invariably distort the truth

Link to comment
Share on other sites


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

  • Create New...