osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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', ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-23-2003, 08:18 AM
New Member
 
Join Date: Jan 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
miko
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-23-2003, 11:15 AM
Active Member
 
Join Date: Oct 2002
Location: Arkansas
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
modom
Default

Hi,

Your db server is called "localhost" usually.

Don't know about the other.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 05:43 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax