Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

catalog/configure.php


mi_jaiten

Recommended Posts

I accidently uploaded via ftp my editted catalog/includes/configure.php into catalog/configure.php so I now have lost the original catalog/configure.php as I wasn't working on it I never made a backup copy.

 

So if any kind sole still has their original catalog/configure.php file please post it as a reply here for me.

 

Many thanks

Michelle

Link to comment
Share on other sites

Do you still have the original zip you installed it from? That would be the easiest way to ensure you use the correct version.

Link to comment
Share on other sites

freerangemum,

 

Unfortunately I did not load it from a zip file it was a free upload from my web host, I guess I could try uploading another copy to a different database, copy it then delete it.

 

I am running version 2.2 if you can help

 

Thanks

Michelle

Link to comment
Share on other sites

Download the osCommerce MS2.2 zip file from the downloads scetion of www.oscommerce.com, unzip on your computer, and the 'catalog' folder has default copies of all osCommerce files.

 

Vger

Link to comment
Share on other sites

Download the osCommerce MS2.2 zip file from the downloads scetion of www.oscommerce.com, unzip on your computer, and the 'catalog' folder has default copies of all osCommerce files.

 

Vger

 

Yea done that there is no configure.php file in catalog/ so I must have uploaded it to the wrong place anyway I've deleted it.

 

On the same file in catalog/includes/configure.php I've changed everthing as you said before except for /catalog/ I put /public_html/ as I dont have a catalog file all my files are stored under /home/siamsave/public_html//includes below is my code please let me know if it is Ok because when I change to it my web page goes all jumbled.

 

I appreciate your help

 

Michelle

===================================================

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

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://siamsavers.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://blue.host-care.com

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

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

define('HTTP_COOKIE_DOMAIN', 'siamsavers.com');

define('HTTPS_COOKIE_DOMAIN', 'blue.host-care.com');

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

define('HTTPS_COOKIE_PATH', '/~siamsave/public_html/');

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

 

define('DIR_WS_HTTPS_CATALOG', '/~siamsave/public_html/');

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', '/home/siamsave/public_html/');

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

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

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'siamsave_osc1');

define('DB_SERVER_PASSWORD', 'E3UdCivF5jb2');

define('DB_DATABASE', 'siamsave_osc1');

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

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

?>

Link to comment
Share on other sites

Vger,

 

Can you please help with the below problem re SSL

 

Also how do I; on my posts here on the forum, put the orange goto last unred icon and also how do I enable the New Post suitcase in the left margin so you and others know I have posted a new post or replied

 

Kind Regards

Michelle

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...