Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie Problem with showing the catalog (shop) / index.php


muellerro

Recommended Posts

Posted

Hi

I've installed osCommerce correctly.

I can access the admintool and can make changes there but when I try to show the catalog (index.php) in my webbrowser I always get the error message:

"The page cannot be found".

 

For the installation I had to use the .htaccess file with "the php_flag register_globals on".

 

We can't I display the shop?

Any ideas?

 

Thanks a lot for you help!

Posted

What is the path to your site, was it installed in server/catalog or server/shop or server/

Check configure.php to find what are the settings for DIR_WS_CATALOG -

If you could give URL to your site - might help as well.

 

cheers,

Gaurav

Best Regards,
Gaurav

Posted

The site was installed right at htdocs folder

 

Content of the configure.php (include folder) is:

<?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://www.tennisstore.ch'); // 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', 'www.tennisstore.ch');

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', '/var/www/virtual/tennisstore.ch/htdocs/');

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

define('DB_SERVER_PASSWORD', 'xxx);

define('DB_DATABASE', 'osCommerce');

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

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

?>

 

The URL of the site would be www.tennisstore.ch.

 

I've tried to install osCommerce in a different folder ie. /shop but the same error occured.

 

I could give someone the ftp access if this would help...

 

I really don't know what the problem is...

www.tennisstore.ch

Posted

IMPORTANT!

 

I've changed everything to the domain www.webgewinn.ch because I couldn't create an ftp account on the other domain.

 

I've installed osCommerce to /shop directory

 

but the problem stays the same.

 

can anyone help?

 

I can give you ftp access if you want to take a look at it.

 

thx a lot!

Posted

I've tried to install osc with the new installer (oscommerce-2.2rc1) and everything worked perfectly. Unfortunately I have a template with an older version.

Can I still use this? If yes, what do I have to copy from where to where?

Archived

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

×
×
  • Create New...