Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Install not complete


Guest

Recommended Posts

Am trying to install osCommerce on server running PHP 5

Have created the database, and edited upload.php. Have also installed Register Globals Patch Files

When I go to admin/index.php, I keep getting this error.

 

Warning: main() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/local/php5/lib') in /home/.hamlisch/domain.com/www/catalog/admin/includes/application_top.php on line 134

Also the box says "HEADING_TITLE" rather than whatever it should say (like Welcome?) and the boxes to the left and some of hte other tags all say the tag name rather than the contents of the tag.

 

e.g.

BOX_ENTRY_SUPPORT_SITE

BOX_ENTRY_SUPPORT_FORUMS

BOX_ENTRY_MAILING_LISTS

BOX_ENTRY_BUG_REPORTS

BOX_ENTRY_FAQ

 

This is a brand new install, apart from the modifications as above.

What can I try next?

Link to comment
Share on other sites

your configure.php file is all wrong. Post it here WITHOUT the database connection information (login and password).

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

This is catalog/includes/configure.php. Will put the other one up in a tick. Tried to piece it together from other posts.

 

Is there a place that has the full configuration? Thanks.

 

define('HTTP_SERVER', 'http://www.domain.com/catalog');

define('HTTPS_SERVER', 'http://www.domain.com/catalog');

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

define('HTTP_COOKIE_DOMAIN', 'http://www.domain.com/');

define('HTTPS_COOKIE_DOMAIN', 'http://www.domain.com/');

define('HTTP_COOKIE_PATH', '/cookies/');

define('HTTPS_COOKIE_PATH', '/cookies/');

define('DIR_WS_HTTP_CATALOG', '/home/username/domain.com/www/catalog');

define('DIR_WS_HTTPS_CATALOG', '/home/username/domain.com/www/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Link to comment
Share on other sites

This is admin/includes/configure.php

 

define('HTTP_SERVER', 'http://www.domain.com/catalog');

define('HTTP_CATALOG_SERVER', 'http://www.domain.com/catalog');

define('HTTPS_CATALOG_SERVER', 'http://www.domain.com/catalog');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/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/');

Link to comment
Share on other sites

Ah, well, tried it with PHP 4, and that seems to work OK, so I'll just have to wait till they bring out the PHP 5 version I guess.

 

Also realised I was way off beam when I compared the configure files produced by the PHP 4 install, and what I had guessed at before. java script:emoticon(':blush:')

smilie

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...