Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The Complete Noob


Guest

Recommended Posts

Posted

Hi all,

I am the complete Noob. My OSC site is up and running and it's time for me to take the load off the server. I'm hoping this thead will help anyone in my situation. I'm constantly crashing my online site, what I consider to be simple changes tend to turn into a disaster, so it's time to setup my localhost so I can test before I change.

 

I'm running winamp. have it setup and functional. I have a fresh new database for the install on my localhost. I don't know , How do I identify the database location?? (Htp://localhost/?????. the dbase is located at c:/winamp/mysql/data.)

Everyway I've tried to enter this information. I get different warnings and no useable dbase. I hope some one will be kind and give a little help

Thanks Billy

Posted

In the configure files, the database server will also be localhost.

 

  define('DB_SERVER', 'localhost');

Posted

Here's the Warning I keep recieving.

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\wamp\www\install\includes\functions\database.php on line 35

 

I don't know what it means. I think the not valid MYSQL-Link means I don't have my database conected.

 

The database server address?? The address of the database server in the form of a hostname or IP address]

 

This is the location of the database c:/winamp/mysql/data/test

 

This is what I done on the first page

 

Database Server= Localhost

username= localhost

password= *****

database name= test

 

on page 2 I'm asked for

 

Web address of the online store = http://localhost/

The directory where the online store is installed on the server.= C:/wamp/www//

from here we go into online store settings. I don't think they are necesary to go throug but if I need to go through them I will. With the information provided as shown I continue to recieve the Warning shown above. Hope you can be of some more assistance thanks again

BillyOZ

Posted

Are you not installing into a directory within the www directory? i.e. www/catalog so web server address *http://localhost/catalog/

Posted

Thanks for staying with me. I wasn't importing my data to the database.

Archived

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

×
×
  • Create New...