Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Please!


Guest

Recommended Posts

I hope somebody can help me. I installed the OsCommerce. The installation was ok: "The configuration was successful! "

But.. when I clicked on either Catalog or Administration button, I keep getting the HTTP 404, page not found.

 

And when I look on the URL it is kinda look weird actually:

 

My web server is: www.warberg-fashion.net

And this is the url that keep coming:

http://www.warberg-fashion.net/catalog/ins...admin/index.php

 

The www.warberg-fashion.net is there twice!

 

I've read the wike docs, but didn't couldn't find anything there.

 

I hope anyone can tell me what I did wrong. Please Help me!

Link to comment
Share on other sites

your catalog is here Click and your admin is here Click

 

and your catalog/includes/configure.php is wrong it should look more like this, I have xxxx out your database info

<?php
/*
?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.warberg-fashion.net');
?define('HTTPS_SERVER', '');
?define('ENABLE_SSL', false);
?define('HTTP_COOKIE_DOMAIN', 'warberg-fashion.net');
?define('HTTPS_COOKIE_DOMAIN', '');
?define('HTTP_COOKIE_PATH', '/catalog/');
?define('HTTPS_COOKIE_PATH', '');
?define('DIR_WS_HTTP_CATALOG', '/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', '/customers/warberg-fashion.net/warberg-fashion.net/httpd.www/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', 'xxxxx');
?define('DB_SERVER_USERNAME', 'xxxxxxx');
?define('DB_SERVER_PASSWORD', 'xxxxxxx');
?define('DB_DATABASE', 'xxxxx');
?define('USE_PCONNECT', 'false'); // use persistent connections?
?define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

not sure about your absolute path

define('DIR_FS_CATALOG', '/customers/warberg-fashion.net/warberg-fashion.net/httpd.www/catalog/');

maybe it needs to be

define('DIR_FS_CATALOG', '/customers/warberg-fashion.net/httpd.www/catalog/');

you may know the absolute path

 

you will probably find that your admin paths are wrong as well again I have xxxx out the database info

<?php
/*
?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.warberg-fashion.net');
?define('HTTP_CATALOG_SERVER', 'http://www.warberg-fashion.net');
?define('HTTPS_CATALOG_SERVER', '');
?define('ENABLE_SSL_CATALOG', 'false');
?define('DIR_FS_DOCUMENT_ROOT', '/customers/warberg-fashion.net/warberg-fashion.net/httpd.www/catalog/');
?define('DIR_WS_ADMIN', '/catalog/admin/');
?define('DIR_FS_ADMIN', '/customers/warberg-fashion.net/warberg-fashion.net/httpd.www/catalog/admin/'); // absolute pate required
?define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
?define('DIR_FS_CATALOG', '/customers/warberg-fashion.net/warberg-fashion.net/httpd.www/catalog/'); // absolute path required
?define('DIR_WS_IMAGES', 'images/');
?define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
?define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
?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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
?define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
?define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
?define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
?define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
?define('DB_SERVER', 'xxxxxxx'); // eg, localhost - should not be empty for productive servers
?define('DB_SERVER_USERNAME', 'xxxxxxxxx');
?define('DB_SERVER_PASSWORD', 'xxxxxxxx');
?define('DB_DATABASE', 'xxxxxxxxx');
?define('USE_PCONNECT', 'false'); // use persisstent connections?
?define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

again not sure about these absolute paths

define('DIR_FS_DOCUMENT_ROOT', '/customers/warberg-fashion.net/warberg-fashion.net/httpd.www/catalog/');
define('DIR_FS_ADMIN', '/customers/warberg-fashion.net/warberg-fashion.net/httpd.www/catalog/admin/'); // absolute pate required
define('DIR_FS_CATALOG', '/customers/warberg-fashion.net/warberg-fashion.net/httpd.www/catalog/'); // absolute path required

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Hi and Thanks for your help! But please forgive my ignorance,. how can I open the catalog/includes/configure.php and with what? I tried with Dreamweaver, but only a blank page came out. I tried with my browser (IE), but only a page that says FORBIDDEN came out.

 

I hope you can help me again!

 

Thanks in advance!

Link to comment
Share on other sites

Hi again,

That was the reason, I was in Design view. But not now, everything (almost) seems to be working so far.

 

But one last question. How can I install the Norwegian language? I just copied it to the catalog/includes/languages and to admin/includes/languages. Is this right? Doesn't seems right, since I couldn't find the norwegian zone and everything is still in english.

 

I hope you can help again with this.

 

Thanks

Mary Ann

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...