Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Really a newby


Guest

Recommended Posts

Hy everybody,

I'm NEW to PHP and stuff but i want to setup the OSC as a shop site.

I have problems setting up my OS shop because i don't know PHP at all.

I need some tutorials if there are any!

 

The problem is here: http://www.1650.3x.ro/

I KNOW IS SOMETHING EASY BUT I STILL NEED HELP.

Click on ADMIN and CATALOG and see what appear.

I know i have to change the password and stuff but when i enter the Config file - well...i'm not shure where to make the changes :(

Link to comment
Share on other sites

Ok, so i mailed a letter to the webmaster from www.3x.ro about my MySQL base date. ;)

After the access is ready, the setup of the OSC will be clear or i have to learn PHP to use it?

Link to comment
Share on other sites

what will happen is that whne you go to use the os commerce it will detect the fact that it is not set up and should go to the intall section??

 

 

there you will need to enter teh details as provided by the webhost

 

does that help??

 

Regards

 

Mark

Regards

 

Mark A Reynolds

Link to comment
Share on other sites

Ok, i found the file...datab.php.

What should i change there?

 

Edited: ----------------------

Here is the file:

 

<?php

/*

$Id: database.php,v 1.21 2003/06/09 21:21:59 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') {

global $$link;

 

if (USE_PCONNECT == 'true') {

$$link = mysql_pconnect($server, $user, $password);

} else {

$$link = mysql_connect($server, $user, $password);

}

 

if ($$link) mysql_select_db($database);

 

return $$link;

}

............etc etc

 

THIS IS THE PROBLEM!

I don't know how exactly to make the changes :(

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...