Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shoppe Enhancement Controller HELP!!!


Guest

Recommended Posts

I have tried many hours on setting the catalog/include/configure.php, no matter what i set (tried all advices). the page keep not showing. here is the website www.sinoproducts.co.uk

 

The front page looks fine, but when u click on one of the link it just broke, Thanks very much

 

 

Mick

Link to comment
Share on other sites

<?php

/*

$Id: configure.php,v 1.12 2002/06/16 22:11:53 harley_vb Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 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://sinoproducts.co.uk');

define('HTTPS_SERVER', 'https://sinoproducts.co.uk');

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

define('DIR_WS_CATALOG', '/oscommerce/');

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

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

define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/home/sinoprod/public_html'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_FS_CATALOG', '/home/sinoprod/public_html' . DIR_WS_CATALOG);

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');

define('DB_SERVER_USERNAME', 'username');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'database');

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

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

 

// moved to application_top.php

// WebMakers.com Added: Shoppe Enhancement Controller

// require(DIR_WS_INCLUDES . 'configure_added.php');

?>

 

But the admin works fine, how come?

 

 

Mick

Link to comment
Share on other sites

Your category links are looking for DIR_WS_HTTP_CATALOG, but you only have DIR_WS_CATALOG defined. You need to define DIR_WS_HTTP_CATALOG.

 

It looks to me like you are using the wrong version of the SEC. The version of the SEC which you are using is for osCommerce 2.2 MS2, but you are using an older version of osCommerce (possibly 2.2 MS1; possibly a CVS version).

 

Hth,

Matt

Link to comment
Share on other sites

well, basically i just installed the whole thing from linda's. but i used the old configure file from the old version of oscommerce, would that make difference cos when i looked into these tow files, there is nothing really different.

Link to comment
Share on other sites

Hello Mick,

 

Listen mate - sorry that I tried this - but I usually do try to see the security of each and every site!

 

Your admin directory is NOT safe!!!!! you still have the same username and password that the SEC came with to access the admin area!

 

CHANGE IT NOW!!!!

 

Also make sure you ".htaccess" your admin directory for an additional line of defence!

 

Again, I'm noit being dodgy and sorry for this mate - but i was just checking security and found you missed this!

 

Regards

 

Jit

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...