Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No administration tool, no catalog


saycheese

Recommended Posts

Hello,

 

I am trying to install & run osCommerce on my computer before installing it on my site.

 

After the last installationstep I get prompted: administration tool/catalog. After choosing either of these I get this:

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in C:\Documents and Settings\Eigenaar\Mijn documenten\php\store\oscommerce-2.2ms2\catalog\includes\application_top.php on line 285

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.;c:\php4\pear') in C:\Documents and Settings\Eigenaar\Mijn documenten\php\store\oscommerce-2.2ms2\catalog\includes\application_top.php on line 285

Do I have to configure some language file? Or? What's the problem? :ph34r:

Link to comment
Share on other sites

Do you have a web server on your local computer with php, apache and mysql installed on it? If not, you can't work from your local computer.

 

Here is a great step-by-step on installing the above on your computer:

http://internetmaster.com/installtutorial/index.htm

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

Too true. That was actually a silly question to ask. Too much time in the sun today.

 

Have you run catalog/install/index.php so that your configuration is set up and the mysql tables created?

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

Yes.

Here is the configure-file from the admin:

<?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://localhost'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://localhost');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', 'C:/Documents and Settings/Eigenaar/Mijn documenten/php/store/oscommerce-2.2ms2/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/scheepel/oscommerce-2.2ms2/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', 'C:/Documents and Settings/Eigenaar/Mijn documenten/php/store/oscommerce-2.2ms2/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/scheepel/oscommerce-2.2ms2/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', 'C:/Documents and Settings/Eigenaar/Mijn documenten/php/store/oscommerce-2.2ms2/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', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'Cor Kamstra');
 define('DB_SERVER_PASSWORD', 'saycheese');
 define('DB_DATABASE', 'store');
 define('USE_PCONNECT', 'true'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

Any ideas?

Link to comment
Share on other sites

It looks like that your WS and FS paths have a major difference...other that the obvious. Why is WS scheepel/oscommerce-2.2ms2and FS is php/store/oscommerce-2.2ms2. These should be pointing to the same directories once you get to your root server level.

 

Example:

 

WS http://localhost/store/oscommerce-2.2ms2/catalog

 

and

 

FS would be C:/Documents and Settings/store/oscommerce-2.2ms2/catalog

 

For instance, one of my sites that I run on my local machine is

 

WS http://localhost/fmax/catalog

and

FS c:/fmax/catalog

 

By the way, do yourself a favor and move the catalog up one directory so that you can drop the "oscommerce-2.2ms2"

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...