Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What is this ?


Digerdoo

Recommended Posts

Posted

This error message comes when i look adminstration whos online :

 

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/fhlinux195/w/mydomain.com/user/htdocs/admin/includes/functions/database.php on line 45

0 -

 

select p.products_id, pd.products_name, p.products_model, p.products_price, p.products_weight, p.products_tax_class_id from products p, products_description pd where p.products_id='29' and pd.products_id = p.products_id and pd.language_id = '1'

 

[TEP STOP]

 

 

 

and database.php line 45: $result = mysql_query($query, $$link) or tep_db_error($query, mysql_errno(), mysql_error());

 

if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) {

if (mysql_error()) $logger->write(mysql_error(), 'ERROR');

}

 

return $result;

}

Posted

What version of mysql and php are you running? It sounds like the wrong mysql extension is being used.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
What version of mysql and php are you running?  It sounds like the wrong mysql extension is being used.

 

 

Hi there

 

PHP Version is 4.3.10 and MYSQL 4.0.18

 

can you help ?

Archived

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

×
×
  • Create New...