Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie Installation Problem Help Needed Please


Smee Matt

Recommended Posts

Hi People I'm a complete novice and have never used OSC before!

 

I've got most of the way through the installation procedure fine but have hit a stumbling block here.

 

Reset the permissions on catalog/includes/configure.php to 644 (if you are still getting the warning message at the top of the page after setting this configure.php files to 644 then set the catalog/includes/configure.php file to 444 which is read only - this happens on some servers that have been updated for security reasons).

3. Set the permissions on catalog/images directory to 777

4. Set the permissions on admin/images/graphs directory to 777

5. Create the directory admin/backups and set the permissions to 777 (this is the folder to store the database backup of your store in the "Tools" section of the store admin).

 

I'm really not too sure what this is all about I think Ishould be editing this file but who know's (not me) :huh:

 

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

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

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

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

 

// define our database connection

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

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

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

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

 

 

Any Help would be greatly appreciated.

Link to comment
Share on other sites

Ok. Log into your file space via FTP, navigate to the files, right-click and select CHMOD or Permissions, then change the numbers to 644 or 444. If you don't have numbers, 644 is the same as rw- r-- r-- or Read-Write, Read, Read 444 is r-- r-- r--

 

Contrary to those instructions, I wouldn't set any directory to 777, which is Read-Write-Execute permissions for everyone. 755 should be sufficient, Read-Write-Execute for the Owner, Read-Execute for everyone else.

Link to comment
Share on other sites

Ok. Log into your file space via FTP, navigate to the files, right-click and select CHMOD or Permissions, then change the numbers to 644 or 444. If you don't have numbers, 644 is the same as rw- r-- r-- or Read-Write, Read, Read 444 is r-- r-- r--

 

Contrary to those instructions, I wouldn't set any directory to 777, which is Read-Write-Execute permissions for everyone. 755 should be sufficient, Read-Write-Execute for the Owner, Read-Execute for everyone else.

 

 

 

Fantastic many thanks Peter :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...