Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cant install


gipegasus

Recommended Posts

Posted

:'( Hi I try to install but dont work

 

Im on Mandrake 9.2 with apache/php/mysql

 

i try install but when I get http://192.168.1.5/oscomm/catalog/install/install.php?step=7 the page is broken and the installation cant continue. (That without database copy, because I just already imported manually).

 

when i try to import the database the process broke at http://192.168.1.5/oscomm/catalog/install/install.php?step=2 (for that reason i've imported manually)

Then i modify my configure.php but when i try to get access i get...

 

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/oscomm/catalog/includes/functions/database.php on line 19

 

Please, any wish to help me?

 

This my configure.php

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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://tux'); // 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('HTTP_COOKIE_DOMAIN', '192.168.1.5');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/oscomm/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', './oscomm/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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

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

 

// define our database connection

define('DB_SERVER', 'tux'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'gustavo');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

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

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

?>

 

 

Regards...

Gustavo SANTIAGO

Posted

is this your domain: http://tux that you are trying to use this on?

 

If so, then I would make the HTTPS domain the exact same (unless you are using SSL).

 

next, is your file system at /oscomm/catalog? check all your paths and make sure they match in /catalog/includes/configure.php AND /catalog/admin/includes/configure.php

 

-Paul

Posted

Hi, thanks for trying to help me. Im going in steps...

 

Im using a Mandrake 9.2 on my LAN and I wish to get work osC on this. Then the intranet is http:/tux and say

 

This site is powered by: Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/6.9.92mdk) mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47 OpenSSL/0.9.7b PHP/4.3.2!

 

were you see is working.

Posted

Yes the path is correct is oscomm/catalog/ Im already run the install process in http/tux/oscomm/catalog/install with sucess but in the middle of the process just is broke. <_<

 

Regards

Posted

In your osCommerce configure.php files, in place of http:/tux, try putting just 'tux' in instead. If that doesn't work then try 'localhost'. Same with db_server, and use this at the bottom

 

define('STORE_SESSIONS', 'mysql');

 

Vger

Archived

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

×
×
  • Create New...