Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

--=[PROBLEM]=-- PLZ HELP!


ind0r

Recommended Posts

I don't know why but when I try run any *.php of catalog then I have text:

"Unable to connect to database server!" :((((

PLZ HELP!!

this my address:

http://ind0r.r00ts.org/catalog/

and it's the most of application_top.php:

 

"

<?

if (file_exists('includes/local/configure.php')) {

include('includes/local/configure.php');

if ((!defined(CONFIGURE_STATUS_COMPLETED)) && (CONFIGURE_STATUS_COMPLETED != '1')) { // File not

read properly

die('File configure.php was not found or was improperly formatted, contact webmaster of this

domain.<br>The configuration file in catalog/includes/local/configure.php was not properly formatted

.<br> <br>Please add the following to that file:<br> <br>define('CONFIGURE_STATUS_COMPLET

ED', '1');');

}

}

 

// for internal use until final v1.0 version is ready

define('PROJECT_VERSION', 'Preview Release 2.1');

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'http://ind0r.r00ts.org');

define('HTTPS_SERVER', 'https://ind0r.r00ts.org');

define('HTTP_CATALOG_SERVER', 'http://ind0r.r00ts.org');

define('ENABLE_SSL', 0); // ssl server enable(1)/disable(0)

define('DIR_FS_DOCUMENT_ROOT', '/home/szkola/');

define('DIR_FS_LOGS', '/usr/local/apache/logs/');

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

define('DIR_WS_IMAGES', '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_PAYMENT_MODULES', DIR_WS_MODULES . 'payment/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

"

..........................

 

"

// define our database connection

define('DB_SERVER', 'ind0r.r00ts.org');

define('DB_SERVER_USERNAME', 'my_login);

define('DB_SERVER_PASSWORD', 'my_password');

define('DB_DATABASE', 'catalog');

define('USE_PCONNECT', 1);

"

 

:roll:

jeah your ziommmmm! :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...