Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie install - Several questions


ChrisW123

Recommended Posts

Posted

I'm trying to work out a few problems with my new install of osCommerce. After trying a ton of things, I'm stuck on these issues, any help is appreciated:

 

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

1) In Admin > Localization > Languages: In the blue section next to each language, the language icon doesn't appear (red x). I've tried to edit both the "Image" and "Directory" settings with several different things but still can't get it to show.

 

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

2) Same problem on the "Order Status" setup screen.

 

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

3) In Admin > Modules > Payment: These setup items don't appear to be working. All I see under the "Modules" list is this:

 

Module Directory: /usr/local/apache/htdocs/catalog/includes/modules/payment/

 

There's an "Install" button but it doesn't do anything. Should I be able to

see the different payment options and choose them?

 

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

4) In Admin > Tools > Database Backup Manager: A red message at the top of the screen says:

 

"Error: Backup directory does not exist. Please set this in configure.php"

 

Then on the page it says:

 

Backup Directory: /usr/local/apache/htdocs/cwwadmin/backups/

 

Since the "backups" dir didn't exist, I created it but that didn't help. So I looked into the admin configure.php but can't tell where the problem is. Here's the configure.php file:

 

<?php

/*

$Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'https://st15.startlogic.com/~myuser/ecommerce/os/');

define('HTTP_CATALOG_SERVER', 'https://st15.startlogic.com/~myuser/ecommerce/os/');

define('HTTPS_CATALOG_SERVER', 'https://st15.startlogic.com/~myuser/ecommerce/os/');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // What sets this value???

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

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

 

// define our database connection

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'dbuser');

define('DB_SERVER_PASSWORD', '*****');

define('DB_DATABASE', 'mydatabase');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

?>

 

 

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

5) In Admin > Tools > Define Language: The page shows this error:

 

Warning: dir(/usr/local/apache/htdocs/catalog/includes/languages/english):

failed to open dir: No such file or directory in

/home/imagecri/public_html/ecommerce/os/cwwadmin/define_language.php

on line 152

 

Line 152 in define_language.php is:

 

if ($dir = dir(DIR_FS_CATALOG_LANGUAGES . $HTTP_GET_VARS['lngdir']))

 

But I can't tell what the problem is.

 

 

Again, any help is greatly appreciated. I don't know much about .PHP yet or how to trouble shoot this stuff so I really need some help!

 

Thanks, -Chris.

Archived

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

×
×
  • Create New...