Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stylesheet seems to have been lost


Guest

Recommended Posts

Posted

Hello again.

 

I had the web host set up me SSL and dedicated IP. I edited the includes/config file as directed in the knowledgebase page. Now the page shows as plain white background and blue text, as though it is ignoring the CSS.

 

http://www.blackholebooks.com/

 

It is also not showing the pictures.

 

Why is that?

 

Thanks.

Posted

you need to post your includes/configure.php without the password.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted
<?php
/*
 $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 osCommerce, 

Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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://www.blackholebooks.com/'); // eg, http://localhost 

- should not be empty for productive servers
 define('HTTPS_SERVER', 

'https://www.blackholebooks.com/'); // eg, https://localhost - should not be 

empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for 

checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 

'http://www.blackholebooks.com/');
 define('HTTPS_COOKIE_DOMAIN', 

'http://www.blackholebooks.com/');
 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', 

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', 'localhost'); // 

eg, localhost - should not be empty for productive servers


define('DB_SERVER_USERNAME', 'secret');

 define('DB_SERVER_PASSWORD', 'secret');

 define('DB_DATABASE', 'blackholebooks_com_bhb');


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


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

'mysql'
?>

Posted

Could it be a problem with directory permissions? Hmm. Not sure about that, since the CSS is in the base directory.

Posted

Also if I click on a link to go further into the site (eg. Fiction or Non-Fiction), it can't find the pages.

Not Found

 

The requested URL //catalog/index.php was not found on this server.

Apache/2.0.46 (Red Hat) Server at www.blackholebooks.com Port 80

Posted

I think this is the part you need to change.

define('HTTP_COOKIE_DOMAIN','www.blackholebooks.com');

define('HTTPS_COOKIE_DOMAIN','www.blackholebooks.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG','/');

define('DIR_WS_HTTPS_CATALOG', '/');

I had to remove the reference to catalog and change the COOKIE_DOMAIN's.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Archived

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

×
×
  • Create New...