Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

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


Recommended Posts


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!

Link to comment
Share on other sites

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.




Best Regards,

Link to comment
Share on other sites

The site was installed right at htdocs folder


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



osCommerce, Open Source E-Commerce Solutions



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 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...


Link to comment
Share on other sites



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!

Link to comment
Share on other sites


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

  • Create New...