Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I'm dazed and confused and not sure what I need to do.


etandre

Recommended Posts

Posted

First, I would like to say that this looks like a fantastic product and I hope we can get it up and running for a customer of ours. I am new with osCommerce and maybe I have incorrectly configured something. The Catalog appears to be working without any issues yet. We can navigate around the out-of-the-box catalog.

 

I thought I had successfully install 2.2MS1. I go into the Administration and go into the Configuration section and successfully walk down and set all of the options under Configuration. I'm thinking Great. Things are going well and we will be up in the development environment in no time at all.

 

Then, I click on Catalog and then on the Categories/Products link and get the following error at the top of the browser: Error: Catalog images directory does not exist: /php/oscomm/catalog/images/. This directory does exist c:Inetpubwwwrootphposcommcatalogimages. Not sure why the error shows up. The rest of the links under Catalog appear to be functioning properly.

 

So onto Modules. Nothing shows up except: Module Directory: /php/oscomm/catalog/includes/modules/payment/ OR Module Directory: /php/oscomm/catalog/includes/modules/shipping/ OR Module Directory: /php/oscomm/catalog/includes/modules/order_total/. I am not sure, do I need to install these modules, or are they part of the installation of osCommerce?

 

Onto the Customers Admin section. All is well here. All is well with the Locations/Taxes, Localization, and Report admin sections also.

 

Tools. Here we run into more errors. Click on the Database Backup link and receive the following error: Error: Backup directory does not exist. Please set this in configure.php. It is set in the configure.php file, which I include below. There path on the file system to the backups directory is: c:Inetpubwwwrootphposcommcatalogadminbackups.

 

Under Tools I move to the Banner Manager. Great, no erros. Onto Define Languages under the Tools menu. The following error shows up:

 

Warning: dir(/php/oscomm/catalog/includes/languages/english) [function.dir]: failed to open dir: Invalid argument in c:inetpubwwwrootphposcommcatalogadmindefine_language.php on line 142

 

Next, onto File Manager. The following error occurs: Fatal error: Call to a member function on a non-object in c:inetpubwwwrootphposcommcatalogadminfile_manager.php on line 188

 

The remainder of the Tools administrative functions appear to work properly (Send Email, Newsletter Manager, Server Info, Who's Online)

 

Can anyone assist, provide constructive feedback, enlighten my knowledge of osCommerce?

 

Here are my configuration files.

 

Catalog configure.php file:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

 define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers

 define('HTTPS_SERVER', 'https://localhost'); // eg, https://localhost - should not be empty for productive servers

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

 define('DIR_WS_CATALOG', '/php/oscomm/catalog/'); // absolute path required

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

 define('DIR_FS_DOCUMENT_ROOT', 'c:/inetpub/wwwroot/php/oscomm/');

 define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/php/oscomm/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'); // eg, localhost - should not be empty for productive servers

 define('DB_SERVER_USERNAME', '123);

 define('DB_SERVER_PASSWORD', '456');

 define('DB_DATABASE', 'catalog');

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

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

 

Admin configure.php

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

 define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

 define('HTTP_CATALOG_SERVER', 'http://localhost');

 define('HTTPS_CATALOG_SERVER', 'http://localhost');

 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // 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_WS_ADMIN', '/php/oscomm/catalog/admin/');

 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

 define('DIR_WS_CATALOG', '/php/oscomm/catalog/');

 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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

Posted

Let me guess... You're working on a Windows box....Right?

 

Do a search through the forums for windows configuration. It has been discussed a lot.

 

BTW- It would be helpful for future problems to be sure to tell us the server type and the php, MYSQL, and server software versions. :)

Posted

Kim,

 

Thanks for th reply :D . I have been searching through the forum all morinig. So far none of the recommended fixes have worked.

 

My configuration is:

 

Windows 2000 Server SP3 (dedicated for this project)

IIS 5.0 (per the customer)

MySQL 3.23.54

PHP 4.3.1

 

The client is a big Microsoft user and will not use other technologies for their web services.

 

Again, Thanks!

Posted

You sure you can't talk them into using a *nix box? Your life would be much easier. :lol: :lol:

 

Anyway, I don't know if anyof these wil help but, I used *IIS server* as my search string and came up with a couple hundred hits. The search function on the forum is a little weird :? ...When you're doing a search be sure to put the asterisks in front and behind your string and use the "search for all terms"

 

Good Luck! Sorry, I'm not more help but, Windows installs are not my specialty.

Archived

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

×
×
  • Create New...