Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Affiliate Error


Guest

Recommended Posts

:ph34r: I installed the OSCaffiliate. I keep getting an error of this:

 

Fatal error: Call to undefined function: tep_db_connect() in /home/smoke/public_html/catalog/includes/application_top.php on line 65

 

I checked line 65 and have this in there:

// make a connection to the database... now

tep_db_connect() or die('Unable to connect to database server!');

 

Can anyone help me with this. If I keep playing with it, I may figure it out.

 

It would be much faster if someone already knows.

 

Thanks, :o

Link to comment
Share on other sites

It appears that database.php has not been called - the following should be above the line you quoted:

 

// include the database functions
 require(DIR_WS_FUNCTIONS . 'database.php');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...