Results 1 to 2 of 2

Linking Database.. and getting admin and catalog to show up

This is a discussion on Linking Database.. and getting admin and catalog to show up within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; where do i specify the connection to database Code: 1. define('DB_SERVER', 'exchange'); 2. define('DB_SERVER_USERNAME', 'regal'); 3. define('DB_SERVER_PASSWORD', '-----); 4. define('DB_DATABASE', ...

      
  1. #1
    New Member
    Join Date
    Jan 2003
    Posts
    25
    Rep Power
    0


    Default Linking Database.. and getting admin and catalog to show up

    where do i specify the connection to database

    Code:
    1.  define('DB_SERVER', 'exchange');
    2.  define('DB_SERVER_USERNAME', 'regal');
    3.  define('DB_SERVER_PASSWORD', '-----);
    4.  define('DB_DATABASE', 'catalog'');
    5.  define('USE_PCONNECT', 1);
    I am thinking it is in line 1 of the code..the DB_SERVER.. what is that supposed to be if i am just hosting it locally?

    Next, when i open up the admin page. it displays but with these errors above the page..

    Code:
    Warning: Failed opening '//catalog/includes/data/rates.php' for inclusion (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\admin\includes\include_once.php on line 4
    
    Warning: Failed opening 'includes/languages/english/' for inclusion (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\admin\includes\include_once.php on line 4
    I checked that file include_once.php

    Code:
    1.   <?
    2.       if (!defined($include_file . '__')) {
    3.       define($include_file . '__', 1);
    4.	    include($include_file);
    5.       }
    6.   ?>
    So I think the problem is probably in the application_top.php

    So anyone have some wise words for me.. i am really learning quickly!

  2. #2
    Active Member
    Join Date
    Oct 2002
    Location
    Arkansas
    Posts
    149
    Rep Power
    0


    Default

    Hi,

    Your db server is called "localhost" usually.

    Don't know about the other.
    Sincerely,
    Melinda

    www.designhosting.biz

Similar Threads

  1. Eastpopulate products are in database but not in catalog
    By jchaters in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-16-2004, 08:33 PM
  2. Doesn't show info in Admin Modules
    By ozstar in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 03-10-2003, 02:10 AM
  3. HELP!!!! why does my admin page show up but not the catalog?
    By deletemequick in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 01-13-2003, 07:54 PM
  4. Must you import the catalog database?
    By fast_talon in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 11-28-2002, 05:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •